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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to