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

--- Comment #17 from Andrew Aitchison <[email protected]> ---
(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):
##   [email protected]
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to