[exim-dev] [Bug 3047] bad internal_store_malloc request (214…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Exim Bugzilla
Ημερομηνία:  
Προς: exim-dev
Παλιά Θέματα: [exim-dev] [Bug 3047] New: bad internal_store_malloc request (2147483632 bytes) from function_store_get 66
Αντικείμενο: [exim-dev] [Bug 3047] bad internal_store_malloc request (2147483632 bytes) from function_store_get 66
https://bugs.exim.org/show_bug.cgi?id=3047

--- Comment #34 from Simon Arlott <bugzilla.exim.simon@???> ---
(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):
## exim-dev-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/