diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2015-11-29 17:46:23 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2015-11-29 17:46:23 +0000 |
commit | e347b40d5bb12f7ef1e632aa649571a107be7d8a (patch) | |
tree | 6c56e99cf873ad494ccb41ccb509b23d5eedd68d | |
parent | 108377b836fc29a84f5286287629d96549b1c777 (diff) | |
download | pcre-e347b40d5bb12f7ef1e632aa649571a107be7d8a.tar.gz |
Allow for up to 32-bit numbers in the ordin() function in pcregrep.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1615 2f5784b3-3f2a-0410-8824-cb99058d5e15
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | pcregrep.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -21,6 +21,8 @@ Version 8.39 xx-xxxxxx-201x 4. The POSIX wrapper function regexec() crashed if the option REG_STARTEND was set when the pmatch argument was NULL. It now returns REG_INVARG. +5. Allow for up to 32-bit numbers in the ordin() function in pcregrep. + Version 8.38 23-November-2015 ----------------------------- @@ -2437,7 +2437,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++; |