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