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

Philip Hazel <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Philip Hazel <[email protected]> ---
Thank you for this report. There was some very strange code in both pcre2grep
and pcregrep when handling recursive file names and trying to protect against
overlong file names. I have fixed both of them and committed the patches. They
should now be able to handle file name components of any length, up to a
maximum of 2047 for the whole file name. (Each time it recurses down a
directory it gets a 2048 buffer on the stack for the new name. I didn't want to
have to malloc/free each time as that does seem wasteful. There is perhaps a
neater way; I may think about it for pcre2grep. The original code is nearly 20
years old now.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to