diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2024-12-13 12:48:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-13 12:48:45 +0100 |
commit | 21493d5654484f6dd3427228832d02688789e47c (patch) | |
tree | 7b7b13366ed2c670c69c28124e700de45df754e3 /tests | |
parent | 727d08deef1de94409db1b9aa45a49cf016a547a (diff) |
DNS: fix Index-out-of-bounds error (#2644)
```
Running: /home/ivan/Downloads/clusterfuzz-testcase-minimized-fuzz_ndpi_reader_pl7m_simplest_internal-5759495480868864
protocols/dns.c:482:5: runtime error: index 4 out of bounds for type 'u_int8_t[4]' (aka 'unsigned char[4]')
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior protocols/dns.c:482:5
protocols/dns.c:483:5: runtime error: index 4 out of bounds for type 'u_int32_t[4]' (aka 'unsigned int[4]')
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior protocols/dns.c:483:5
protocols/dns.c:490:12: runtime error: index 4 out of bounds for type 'u_int32_t[4]' (aka 'unsigned int[4]')
```
Found by oss-fuzz
See: https://issues.oss-fuzz.com/issues/383911300?pli=1
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions