[exim-dev] Re: [Bug 3047] bad internal_store_malloc request …

Pàgina inicial
Delete this message
Reply to this message
Autor: Andrew C Aitchison
Data:  
A: Exim Bugzilla
CC: exim-dev
Assumpte: [exim-dev] Re: [Bug 3047] bad internal_store_malloc request (2147483632 bytes) from function_store_get 66
On Sun, 21 Jan 2024, Exim Bugzilla via Exim-dev wrote:

> https://bugs.exim.org/show_bug.cgi?id=3047
>
> --- Comment #21 from Simon Arlott <bugzilla.exim.simon@???> ---
> (In reply to Andrew Aitchison from comment #20)
>> This patch (against 4.97.1) should tell us whether PCRE wants too much
>> store, or a negative amount.
>
> PCRE2_SIZE is size_t, so the value of "size" cannot be negative.


Oops, yes. Bad wording.

What bothers me is that function_store_malloc is given an unsigned 64bit
value and passes it on to store_malloc as a signed 32bit value.


> What's needed is a reliable way to reproduce it.
> All I get is a request for 112 bytes for each and every check_dir_size().


Yes, though as Jeremy says, that *may* be a PCRE problem.

For now should we revert 4.97 to what we had before
https://git.exim.org/exim.git/commitdiff/c3d7f28680dda05ca6d8415cffbff8a233c0ae74
introduced function_store_get ?

-- 
Andrew C. Aitchison                      Kendal, UK
                    andrew@???


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