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

Pàgina inicial
Delete this message
Autor: admin
Data:  
A: pcre-dev
Assumpte: [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.