[Pkg-php-commits] [php/debian-lenny] Include a test for CVE-2010-4645

Raphael Geissert geissert at debian.org
Sun Mar 20 01:27:18 UTC 2011


---
 debian/patches/CVE-2010-4645-test.patch |   15 +++++++++++++++
 debian/patches/series                   |    1 +
 2 files changed, 16 insertions(+), 0 deletions(-)
 create mode 100644 debian/patches/CVE-2010-4645-test.patch

diff --git a/debian/patches/CVE-2010-4645-test.patch b/debian/patches/CVE-2010-4645-test.patch
new file mode 100644
index 0000000..82f6f58
--- /dev/null
+++ b/debian/patches/CVE-2010-4645-test.patch
@@ -0,0 +1,15 @@
+Index: php/Zend/tests/bug53632.phpt
+===================================================================
+--- /dev/null
++++ php/Zend/tests/bug53632.phpt
+@@ -0,0 +1,10 @@
++--TEST--
++CVE-2010-4645: zend_strtod() hangs with 2.2250738585072011e-308
++--FILE--
++<?php
++$d = 2.2250738585072011e-308;
++
++echo "Done\n";
++?>
++--EXPECTF-- 
++Done
diff --git a/debian/patches/series b/debian/patches/series
index b581d99..105ca9e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -77,3 +77,4 @@ php-5.2-CVE-2010-3710.patch
 php-5.2-CVE-2010-3870.patch
 php-5.2-CVE-2010-4150.patch
 php-5.2-CWE-170.patch
+CVE-2010-4645-test.patch
-- 
1.7.1





More information about the Pkg-php-commits mailing list