diff options
author | Ivan Nardi <nardi.ivan@gmail.com> | 2025-06-17 11:05:49 +0200 |
---|---|---|
committer | Ivan Nardi <nardi.ivan@gmail.com> | 2025-06-17 11:05:49 +0200 |
commit | d0d0770af468befdb54906d9f80b5534f5440ee5 (patch) | |
tree | 537800ea285d0cfc259bf781f4d5f2d64980ca4d /src/lib/protocols/postgres.c | |
parent | 458b658eec4ec3621d70a718363490d1d3edd18e (diff) |
Fix double-free on domain reload
```
==20045==ERROR: AddressSanitizer: attempting double-free on 0x7c95733e1c00 in thread T0:
#0 0x5648d814034a in free build-llvm/tools/clang/stage2-bins/runtimes/runtimes-bins/compiler-rt/lib/asan/asan_malloc_linux.cpp:51:3
#1 0x7f457408532f in _IO_deallocate_file libio/libioP.h:958:3
#2 0x7f457408532f in fclose libio/iofclose.c:74:3
#3 0x5648d8102b90 in fclose build-llvm/tools/clang/stage2-bins/runtimes/runtimes-bins/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:6434:13
#4 0x5648d81b00d4 in ndpi_load_domain_suffixes /home/ivan/svnrepos/nDPI/src/lib/ndpi_domains.c:79:3
#5 0x5648d8188a6f in LLVMFuzzerTestOneInput /home/ivan/svnrepos/nDPI/fuzz/fuzz_config.cpp:103:5
```
Found by oss-fuzz
Diffstat (limited to 'src/lib/protocols/postgres.c')
0 files changed, 0 insertions, 0 deletions