summaryrefslogtreecommitdiff
path: root/debian/patches/zend_int_overflow.patch
diff options
context:
space:
mode:
authorRaphael Geissert <geissert@debian.org>2010-07-31 15:53:12 -0400
committerOndřej Surý <ondrej@sury.org>2010-10-21 08:52:50 +0200
commit3c7bc2c87fd842df1df75783e014029adae00433 (patch)
tree07348580ede71c8573ac7bf070b2d9daca51439a /debian/patches/zend_int_overflow.patch
parent931ef23e1a9a93ad1d923f3fda90e94c32b669f2 (diff)
downloadphp-debian/5.3.3-1.tar.gz
Imported Debian patch 5.3.3-1debian/5.3.3-1
Diffstat (limited to 'debian/patches/zend_int_overflow.patch')
-rw-r--r--debian/patches/zend_int_overflow.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/zend_int_overflow.patch b/debian/patches/zend_int_overflow.patch
index 3df7fa085..591f2244a 100644
--- a/debian/patches/zend_int_overflow.patch
+++ b/debian/patches/zend_int_overflow.patch
@@ -54,7 +54,7 @@ Bug-Debian: http://bugs.debian.org/570144
--TEST--
Bug #45877 (Array key '2147483647' left as string)
---INI--
--precision=20
+-precision=16
--FILE--
<?php
-$keys = array(PHP_INT_MAX,
@@ -87,7 +87,7 @@ Bug-Debian: http://bugs.debian.org/570144
- int(1)
- [-%d8]=>
- int(1)
-- ["%d8"]=>
+- ["%s"]=>
- int(1)
+function test_value($val, $msg) {
+ $a = array($val => 1);