https://bugs.exim.org/show_bug.cgi?id=3047

--- Comment #34 from Simon Arlott <[email protected]> ---
(In reply to Andrew Aitchison from comment #33)
> > It looks like the interface with PCRE2 is supposed to automatically free the
> > memory, shouldn't that happen instead of needing to do this? I didn't see
> > any calls to function_store_free() in my testing.
> 
> If so, maybe we shouldn't close the PCRE2 bug just yet ?

Only if PCRE2 is supposed to call Exim's free function at that time but
doesn't.

> I'm still worried that we truncate the size passed to us by PRCE2.

No, PCRE2 is only allocating 128 or 20480 bytes at a time. Exim is just
allocating memory in ever larger blocks until it refuses to allocate a 2GB
block.

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

-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
##   [email protected]
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to