[pcre-dev] [Bug 2043] Invalid memory read in phar (pcretest.…

Page principale
Supprimer ce message
Auteur: admin
Date:  
À: pcre-dev
Sujet: [pcre-dev] [Bug 2043] Invalid memory read in phar (pcretest.c)
https://bugs.exim.org/show_bug.cgi?id=2043

--- Comment #3 from Petr Pisar <ppisar@???> ---
And isprint() has undefined behavior on values that cannot be represented in
unsigned char although the argument has type int. This is defined by ISO C and
POSIX. See similar bug report
<https://bugzilla.redhat.com/show_bug.cgi?id=189525>.

One should use iswprint() instead probably. But that requires conversion to
wchar_t.

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