[pcre-dev] [Bug 2440] Segfault when JIT eval under certain …

Top Page

Reply to this message
Author: admin
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 2440] Segfault when JIT eval under certain conditions
https://bugs.exim.org/show_bug.cgi?id=2440

Zoltan Herczeg <hzmester@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hzmester@???


--- Comment #2 from Zoltan Herczeg <hzmester@???> ---
The problem is that a 'current < end - 4' check does not work if end is 0x1.
Probably there are similar cases if you choose (uintptr_t)-1 as a base. Anyway
I will think about how can this be fixed. Perhaps 'end - current < 4' could
work here.

Anyway you could make the engine crash if you choose (uintptr_t)-1 as a base
and length = 2. Some environments may allow it.

--
You are receiving this mail because:
You are on the CC list for the bug.