[pcre-dev] [Bug 2516] New: Memory leak in pcre2_jit_stack_cr…

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 2516] New: Memory leak in pcre2_jit_stack_create
https://bugs.exim.org/show_bug.cgi?id=2516

            Bug ID: 2516
           Summary: Memory leak in pcre2_jit_stack_create
           Product: PCRE
           Version: 10.34 (PCRE2)
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: kkilger@???
                CC: pcre-dev@???


After the call to sljit_allocate_stack the following code seems to be missing:

if (jit_stack->stack == NULL)
{
jit_stack->memctl.free(jit_stack, jit_stack->memctl.memory_data);
return NULL;
}

Best regards,
Kilian

--
You are receiving this mail because:
You are on the CC list for the bug.