[pcre-dev] [Bug 2330] Content "n\xff=" can crash libpcre whe…

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 2330] Content "n\xff=" can crash libpcre when an application is matching the pattern \s*=
https://bugs.exim.org/show_bug.cgi?id=2330

Philip Hazel <ph10@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|REOPENED                    |RESOLVED


--- Comment #5 from Philip Hazel <ph10@???> ---
(In reply to Christian Persch (GNOME) from comment #4)
> You pass PCRE_UTF8 as compile option, and PCRE_NO_UTF8_CHECK as match
> option, but your subject string is not valid UTF-8. This is documented not
> to work.


Indeed. By setting PCRE_NO_UTF8_CHECK you are guaranteeing that the string is a
valid UTF-8 string. If you break your promise, anything might happen.

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