Mailing List Archive

[Bug 3047] bad internal_store_malloc request (2147483632 bytes) from function_store_get 66
https://bugs.exim.org/show_bug.cgi?id=3047

--- Comment #1 from Jeremy Harris <jgh146exb@wizmail.org> ---
At first sight this is a bug in the PCRE2 library, attempting to allocate
minus 16 bytes of memory.


It also looks like a rather expensive way in the config of phrasing

header_line_maxsize = 7999
spool_wireformat = false

A_check_mime:
warn
condition = ${if > {$max_received_linelength}{7999}}
message = MIME error: Line length in message or single header
exceeds 8000.
log_message = DENY: MIME Error (Maximum line length exceeded)

--
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@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
[Bug 3047] bad internal_store_malloc request (2147483632 bytes) from function_store_get 66 [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=3047

--- Comment #2 from Andreas Piesk <a.piesk@mailbox.org> ---
(In reply to Jeremy Harris from comment #1)
> At first sight this is a bug in the PCRE2 library, attempting to allocate
> minus 16 bytes of memory.

on my system, pcre2 was not recently updated (last on Jan 2023) but the issue
started with exim 4.97

> It also looks like a rather expensive way in the config of phrasing

Thanks for the hint, it's a very old config, i fixed it.

--
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@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: [Bug 3047] bad internal_store_malloc request (2147483632 bytes) from function_store_get 66 [ In reply to ]
On 2024-01-03 Andrew C Aitchison via Exim-dev <exim-dev@lists.exim.org> wrote:
[...]
> Do we know whether PCRE2 is 64-bit clean?

Pcre2 was released end of 2015 whixch was more than ten years after the
indroduction of amd64. At this time 64bit was already the norm. It is
very unlikely that Pcre2 has more bugs that show up on 64bit
architectures.

cu Andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

--
## 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@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/