diff options
author | Thomas Osterried <ax25@x-berg.in-berlin.de> | 2021-02-03 15:27:28 +0100 |
---|---|---|
committer | Thomas Osterried <ax25@x-berg.in-berlin.de> | 2021-02-03 15:27:28 +0100 |
commit | f7e4a620aaa061bca62c2cef7dd508157e482c68 (patch) | |
tree | faff44408a321e4d957bf0f37f252e8a73ca2364 /COPYING | |
parent | b17ff362f5e006faa87174608e663153aa5fb007 (diff) |
This fixes a bug in ttyutils.c for tty_is_locked, tty_lock() and tty_unlock()
for very long path names, i.e.
kissattach /dev/serial/by-id/usb-FTDI_usb_serial_converter_FTCAWZIA-if00-port
0 tnc
-> Segmentation fault
because buffer[50] was not only too short; the length was also not checked.
Thanks to David KI6ZHD for reporting this bug.
Signed-off-by: Thomas Osterried <ax25@x-berg.in-berlin.de>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions