3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 09:39:25 +01:00
iwd/monitor
James Prestwood e70a241f34 monitor: fix buffer overrun parsing country IE
The country IE can sometimes have a zero pad byte at the end for
alignment. This was not being checked for which caused the loop
to go past the end of the IE and print an entry for channel 0
(the pad byte) plus some garbage data.

Fix this by checking for the pad byte explicitly which skips the
print and terminates the loop.
2022-12-30 11:39:16 -06:00
..
display.c monitor: Use include path from top source directory 2019-12-13 09:04:15 +01:00
display.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
iwmon.rst build: Add skeleton manual pages for all installed binaries 2019-09-22 21:57:47 +02:00
main.c monitor: remove -F option 2022-10-26 16:48:45 -05:00
nlmon.c monitor: fix buffer overrun parsing country IE 2022-12-30 11:39:16 -06:00
nlmon.h monitor: allow parsing pcaps without -F option 2022-10-26 16:48:21 -05:00
pcap.c treewide: fix typos 2020-01-21 16:03:28 -06:00
pcap.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00