Actions
Bug #3566
closedrules: minor memory leak involving pcre_get_substring
Affected Versions:
Effort:
Difficulty:
Label:
Needs backport to 4.1, Needs backport to 5.0
Description
To reproduce, compile with '--enable-fuzztargets' and run as
./src/fuzz_siginit ~/Downloads/clusterfuzz-testcase-minimized-fuzz_siginit-5644415478792192 ================================================================= ==28190==ERROR: LeakSanitizer: detected memory leaks Direct leak of 2 byte(s) in 1 object(s) allocated from: #0 0x7f92c32f1b40 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb40) #1 0x7f92c1efc2b4 in pcre_get_substring (/lib/x86_64-linux-gnu/libpcre.so.3+0x2c2b4) SUMMARY: AddressSanitizer: 2 byte(s) leaked in 1 allocation(s).
Files
Updated by Jeff Lucovsky over 4 years ago
- Status changed from Assigned to In Review
Updated by Victor Julien over 4 years ago
- Status changed from In Review to Closed
- Label Needs backport to 4.1, Needs backport to 5.0 added
Updated by Victor Julien over 4 years ago
- Related to Optimization #1046: replace pcre_get_substring with pcre_copy_substring added
Updated by Victor Julien over 4 years ago
- File leak-2e099001f4dc598667817341dc6fec77729746fc leak-2e099001f4dc598667817341dc6fec77729746fc added
- Status changed from Closed to Assigned
Found another case: ssl_version
==12==ERROR: LeakSanitizer: detected memory leaks Direct leak of 2 byte(s) in 1 object(s) allocated from: #0 0x5363cd in malloc /src/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:145:3 #1 0x7f4a52d30bea in pcre_get_substring (/lib/x86_64-linux-gnu/libpcre.so.3+0x26bea) SUMMARY: AddressSanitizer: 2 byte(s) leaked in 1 allocation(s).
Updated by Jeff Lucovsky over 4 years ago
- Copied to Bug #3606: rules: minor memory leak involving pcre_get_substring added
Updated by Jeff Lucovsky over 4 years ago
- Copied to Bug #3607: rules: minor memory leak involving pcre_get_substring added
Updated by Jeff Lucovsky over 4 years ago
- Status changed from Assigned to In Review
Updated by Jeff Lucovsky over 4 years ago
- Status changed from In Review to Closed
Actions