3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-18 10:19:24 +01:00
iwd/monitor
Denis Kenzior 90c922f2ca monitor: Fix buffer overrun
When printing New Address events, the extra_str buffer is overrun,
resulting in weird stuff happening.

> RTNL: Error (0x02) len 20				> 5.252075
   Flags: 0 (0x000)
   Sequence number: 189 (0x000000bd)
   Port ID: 2116
    ACK: 0
==4080== Invalid read of size 1
==4080==    at 0x4E8000E: vfprintf (in /lib64/libc-2.20.so)
==4080==    by 0x4EA8A24: vsnprintf (in /lib64/libc-2.20.so)
==4080==    by 0x4E86011: snprintf (in /lib64/libc-2.20.so)
==4080==    by 0x403B64: print_packet (nlmon.c:238)
==4080==    by 0x40C8FD: print_nlmsghdr (nlmon.c:3197)
==4080==    by 0x40CD9E: print_rtnl_msg (nlmon.c:3266)
==4080==    by 0x40CE4F: nlmon_print_rtnl (nlmon.c:3298)
==4080==    by 0x40D1CD: nlmon_receive (nlmon.c:3390)
2015-04-12 12:25:55 -05:00
..
display.c monitor: Add support for builtin pager functionality 2014-08-09 19:29:48 -07:00
display.h monitor: Improve message and attribute display handling 2014-08-09 22:59:42 -07:00
main.c monitor: Define ARPHRD_NETLINK if it not provided by system headers 2014-12-19 01:44:49 +01:00
nlmon.c monitor: Fix buffer overrun 2015-04-12 12:25:55 -05:00
nlmon.h monitor: Add option to provide nl80211 family identifier 2014-08-16 00:00:10 +02:00
pcap.c monitor: Add support for writing combined PCAP trace files 2014-08-12 19:35:59 -07:00
pcap.h monitor: Add support for writing combined PCAP trace files 2014-08-12 19:35:59 -07:00