[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 #17 from Andrew Aitchison <exim@???> ---
(In reply to Jeremy Harris from comment #14)
> (In reply to Andrew Aitchison from comment #13)
> > ... so function_store_get truncates the size if asked to allocate more than
> > 2GB.
>
> I'd also think that a 2GB+ allocation is questionable!


Fair enough, but fail nicely, or at least noisily.

PCRE2 asked for a >2GB allocation, and the API clearly defines size as 64bit.
You can't silently allocate a smaller amount and say "here".
Even if the allocation works, you know things will go wrong when PCRE2 tries to
access the memory it thinks it has been given.

--
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/