diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2023-10-31 20:02:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-31 20:02:37 +0100 |
commit | cd59485f7e2b99889f279b0dff7daca857079fa3 (patch) | |
tree | 7653a2aa8262ea17d9b7ca400d556ac05c5536b6 /.github/workflows/codeql.yml | |
parent | 50006516b3816a67f264728455b3a295f79bcac6 (diff) |
Custom rules: add missing check (#2132)
Fix an use-of-uninitialized-value error
```
==28646==WARNING: MemorySanitizer: use-of-uninitialized-value
#0 0x55a9b7a3dea2 in ndpi_patricia_lookup /home/ivan/svnrepos/nDPI/src/lib/third_party/src/ndpi_patricia.c:739:8
#1 0x55a9b7442cac in add_to_ptree /home/ivan/svnrepos/nDPI/src/lib/ndpi_main.c:2588:10
#2 0x55a9b7469290 in ndpi_add_ip_risk_mask /home/ivan/svnrepos/nDPI/src/lib/ndpi_main.c:4161:12
#3 0x55a9b746cf14 in ndpi_handle_rule /home/ivan/svnrepos/nDPI/src/lib/ndpi_main.c:4297:11
#4 0x55a9b74842ae in ndpi_load_protocols_file_fd /home/ivan/svnrepos/nDPI/src/lib/ndpi_main.c:4944:8
#5 0x55a9b7424706 in LLVMFuzzerTestOneInput /home/ivan/svnrepos/nDPI/fuzz/fuzz_filecfg_protocols.c:38:3
[...]
```
Found by oss-fuzz
See: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63754
Diffstat (limited to '.github/workflows/codeql.yml')
0 files changed, 0 insertions, 0 deletions