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

Startseite
Nachricht löschen
Autor: admin
Datum:  
To: pcre-dev
Betreff: [pcre-dev] [Bug 2043] Invalid memory read in phar (pcretest.c)
https://bugs.exim.org/show_bug.cgi?id=2043

--- Comment #2 from Petr Pisar <ppisar@???> ---
The crash happens in isprint() function called from pcretest's pchar() via
PRINTOK(c) macro on c=449454 value and it can be reduced to:

#include <locale.h>
#include <ctype.h>

int main(void) {
    int a;
    setlocale(LC_ALL, "");
    a = isprint(449454);
    return a;
}


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