summaryrefslogtreecommitdiff
path: root/debian/patches/116-CVE-2007-0909_print.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/116-CVE-2007-0909_print.patch')
-rw-r--r--debian/patches/116-CVE-2007-0909_print.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/116-CVE-2007-0909_print.patch b/debian/patches/116-CVE-2007-0909_print.patch
new file mode 100644
index 000000000..309ba3616
--- /dev/null
+++ b/debian/patches/116-CVE-2007-0909_print.patch
@@ -0,0 +1,15 @@
+diff -Nurp orig/ext/standard/formatted_print.c new/ext/standard/formatted_print.c
+--- orig/ext/standard/formatted_print.c 2007-02-21 08:56:46.000000000 +0100
++++ new/ext/standard/formatted_print.c 2007-02-21 08:57:26.000000000 +0100
+@@ -485,9 +485,10 @@ php_formatted_print(int ht, int *len, in
+ {
+ zval ***args, **z_format;
+ int argc, size = 240, inpos = 0, outpos = 0, temppos;
+- int alignment, width, precision, currarg, adjusting, argnum;
++ int alignment, currarg, adjusting;
+ char *format, *result, padding;
+ int always_sign;
++ long argnum, width, precision;
+
+ argc = ZEND_NUM_ARGS();
+