summaryrefslogtreecommitdiffstats
path: root/nrconfig.c
diff options
context:
space:
mode:
authorThomas Osterried <ax25@x-berg.in-berlin.de>2021-02-03 15:27:28 +0100
committerThomas Osterried <ax25@x-berg.in-berlin.de>2021-02-03 15:27:28 +0100
commitf7e4a620aaa061bca62c2cef7dd508157e482c68 (patch)
treefaff44408a321e4d957bf0f37f252e8a73ca2364 /nrconfig.c
parentb17ff362f5e006faa87174608e663153aa5fb007 (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 'nrconfig.c')
0 files changed, 0 insertions, 0 deletions