git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated embedded PCRE to version 7.4 to avoid 2 CVE issues:-
[exim.git]
/
src
/
src
/
pcre
/
pcre_printint.src
diff --git
a/src/src/pcre/pcre_printint.src
b/src/src/pcre/pcre_printint.src
index 7e2837b72a262c9b275442081091d34a554c39d7..b32d3fbd168c3e3cc3ccdd964bdfcf6af4b2838a 100644
(file)
--- a/
src/src/pcre/pcre_printint.src
+++ b/
src/src/pcre/pcre_printint.src
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/pcre/pcre_printint.src,v 1.
3 2007/06/26 11:16:54 ph10
Exp $ */
+/* $Cambridge: exim/src/src/pcre/pcre_printint.src,v 1.
4 2007/11/12 13:02:20 nm4
Exp $ */
/*************************************************
* Perl-Compatible Regular Expressions *
/*************************************************
* Perl-Compatible Regular Expressions *
@@
-124,11
+124,11
@@
get_ucpname(int ptype, int pvalue)
{
#ifdef SUPPORT_UCP
int i;
{
#ifdef SUPPORT_UCP
int i;
-for (i = _pcre_utt_size; i >= 0; i--)
+for (i = _pcre_utt_size
- 1
; i >= 0; i--)
{
if (ptype == _pcre_utt[i].type && pvalue == _pcre_utt[i].value) break;
}
{
if (ptype == _pcre_utt[i].type && pvalue == _pcre_utt[i].value) break;
}
-return (i >= 0)? _pcre_utt
[i].name
: "??";
+return (i >= 0)? _pcre_utt
_names + _pcre_utt[i].name_offset
: "??";
#else
/* It gets harder and harder to shut off unwanted compiler warnings. */
ptype = ptype * pvalue;
#else
/* It gets harder and harder to shut off unwanted compiler warnings. */
ptype = ptype * pvalue;