Project

General

Profile

Actions

Bug #3606

closed

rules: minor memory leak involving pcre_get_substring

Added by Jeff Lucovsky over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

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


Related issues 1 (0 open1 closed)

Copied from Suricata - Bug #3566: rules: minor memory leak involving pcre_get_substringClosedJeff LucovskyActions
Actions

Also available in: Atom PDF