diff options
| author | Clement Laforet <clement@FreeBSD.org> | 2005-10-14 13:54:09 +0000 |
|---|---|---|
| committer | Clement Laforet <clement@FreeBSD.org> | 2005-10-14 13:54:09 +0000 |
| commit | f5baa4580690f432cc6971716356a567d0a85990 (patch) | |
| tree | aa116c29f40ac314dcc6cd289d42b3e2893328b1 /www/apache2/files/patch-secfix-CAN-2005-2491 | |
| parent | Fix package list when use LIBUNRAR (diff) | |
- Update to 2.0.55
Diffstat (limited to 'www/apache2/files/patch-secfix-CAN-2005-2491')
| -rw-r--r-- | www/apache2/files/patch-secfix-CAN-2005-2491 | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/www/apache2/files/patch-secfix-CAN-2005-2491 b/www/apache2/files/patch-secfix-CAN-2005-2491 deleted file mode 100644 index 07d2734b58a8..000000000000 --- a/www/apache2/files/patch-secfix-CAN-2005-2491 +++ /dev/null @@ -1,54 +0,0 @@ ---- srclib/pcre/pcre.c.orig Wed Nov 24 20:31:09 2004 -+++ srclib/pcre/pcre.c Thu Aug 25 22:14:56 2005 -@@ -714,7 +714,18 @@ - int min = 0; - int max = -1; - -+/* Read the minimum value and do a paranoid check: a negative value indicates -+an integer overflow. */ -+ - while ((cd->ctypes[*p] & ctype_digit) != 0) min = min * 10 + *p++ - '0'; -+if (min < 0 || min > 65535) -+ { -+ *errorptr = ERR5; -+ return p; -+ } -+ -+/* Read the maximum value if there is one, and again do a paranoid on its size. -+Also, max must not be less than min. */ - - if (*p == '}') max = min; else - { -@@ -722,6 +733,11 @@ - { - max = 0; - while((cd->ctypes[*p] & ctype_digit) != 0) max = max * 10 + *p++ - '0'; -+ if (max < 0 || max > 65535) -+ { -+ *errorptr = ERR5; -+ return p; -+ } - if (max < min) - { - *errorptr = ERR4; -@@ -730,16 +746,11 @@ - } - } - --/* Do paranoid checks, then fill in the required variables, and pass back the --pointer to the terminating '}'. */ -+/* Fill in the required variables, and pass back the pointer to the terminating -+'}'. */ - --if (min > 65535 || max > 65535) -- *errorptr = ERR5; --else -- { -- *minp = min; -- *maxp = max; -- } -+*minp = min; -+*maxp = max; - return p; - } - |
