aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.c
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2025-06-22 18:12:40 +0200
committerGitHub <noreply@github.com>2025-06-22 18:12:40 +0200
commit183b3be8be6331bb720939cf128b10bcf5f1b570 (patch)
tree6f93dabf6580b270801c2e4dc9dc8d96dcb3e305 /example/reader_util.c
parentaa6dcad15e50c0a149b51d2f4ea6fdcd914a09ea (diff)
Fix heap-buffer-overflow (#2896)
``` ================================================================= ==33955==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x742759c04838 at pc 0x6202855bdeda bp 0x7ffcfb602bf0 sp 0x7ffcfb602be8 READ of size 2 at 0x742759c04838 thread T0 #0 0x6202855bded9 in ndpi_handle_rule /home/ivan/svnrepos/nDPI/src/lib/ndpi_main.c:5513:40 #1 0x6202855b9b7a in load_protocols_file_fd /home/ivan/svnrepos/nDPI/src/lib/ndpi_main.c:6333:8 #2 0x62028556b29e in LLVMFuzzerTestOneInput /home/ivan/svnrepos/nDPI/fuzz/fuzz_filecfg_protocols.c:18:3 #3 0x62028546684f in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) (/home/ivan/svnrepos/nDPI/fuzz/fuzz_filecfg_protocols+0x70484f) (BuildId: 24c11efa0800dbd23c38b07e76cdc510388e6f85) ``` Found by oss-fuzzer. See: https://issues.oss-fuzz.com/issues/426164365?pli=1
Diffstat (limited to 'example/reader_util.c')
0 files changed, 0 insertions, 0 deletions