[PATCH BlueZ 0/1] tools/hciconfig: Check the length of device name(hci0 etc.).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Currently, hciconfig.c implicitly assumes that the length of given
device name (hci0 etc.) is 4bytes or more. This can cause
access to invalid address when you run "hciconfig hc0 up" so
I added the code to check the length of device name.

Kai Takahashi (1):
  tools/hciconfig: Check device name (hci0 etc.) length.

 tools/hciconfig.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

-- 
2.17.1



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux