Allow for up to 32-bit numbers in the ordin() function in pcre2grep.
This commit is contained in:
parent
8a23b2128d
commit
d54755b24a
@ -347,6 +347,8 @@ was found by the LLVM fuzzer.
|
||||
103. The POSIX wrapper function regexec() crashed if the option REG_STARTEND
|
||||
was set when the pmatch argument was NULL. It now returns REG_INVARG.
|
||||
|
||||
104. Allow for up to 32-bit numbers in the ordin() function in pcre2grep.
|
||||
|
||||
|
||||
Version 10.20 30-June-2015
|
||||
--------------------------
|
||||
|
@ -2421,7 +2421,7 @@ return options;
|
||||
static char *
|
||||
ordin(int n)
|
||||
{
|
||||
static char buffer[8];
|
||||
static char buffer[14];
|
||||
char *p = buffer;
|
||||
sprintf(p, "%d", n);
|
||||
while (*p != 0) p++;
|
||||
|
Loading…
Reference in New Issue
Block a user