]> granicus.if.org Git - php/commitdiff
Merge branch 'PHP-7.0' into PHP-7.1
authorChristoph M. Becker <cmbecker69@gmx.de>
Sat, 21 Jan 2017 12:10:54 +0000 (13:10 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sat, 21 Jan 2017 12:18:54 +0000 (13:18 +0100)
* PHP-7.0:
  Fix #73968: Premature failing of XBM reading

1  2 
NEWS
ext/gd/tests/libgd00094-mb.phpt

diff --cc NEWS
index 74af8c58d536c720b6b7c4b7ebb442bc578edbfa,d96e7bec902d5cd8d5a0c7e8cd067815c5884154..7ad8924be0bd76ce5ae0ebb8731538e0a525125a
--- 1/NEWS
--- 2/NEWS
+++ b/NEWS
@@@ -12,10 -11,13 +12,13 @@@ PH
  - DTrace:
    . Fixed bug #73965 (DTrace reported as enabled when disabled). (Remi)
  
 -- FPM:
 -  . Fixed bug #67583 (double fastcgi_end_request on max_children limit).
 -    (Dmitry Saprykin)
 +- FCGI:
 +  . Fixed bug #73904 (php-cgi fails to load -c specified php.ini file). (Anatol)
 +  . Fixed bug #72898 (PHP_FCGI_CHILDREN is not included in phpinfo()). (Anatol)
  
+ - GD:
+   . Fixed bug #73968 (Premature failing of XBM reading). (cmb)
  - GMP:
    . Fixed bug #69993 (test for gmp.h needs to test machine includes).
      (Jordan Gigov) 
index a5e55baa96c8bfc2879290169a125bbd06472e8e,0000000000000000000000000000000000000000..c18b4fd3d16765f040120adf687fe37ab1185c8f
mode 100644,000000..100644
--- /dev/null
@@@ -1,19 -1,0 +1,16 @@@
- Warning: imagecreatefromxbm(): gd warning: product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully
-  in %slibgd00094-mb.php on line %d
 +--TEST--
 +libgd #94 (imagecreatefromxbm can crash if gdImageCreate fails)
 +--SKIPIF--
 +<?php
 +      if (!extension_loaded('gd')) die("skip gd extension not available\n");
 +      if (!GD_BUNDLED) die("skip requires bundled GD library\n");
 +?>
 +--FILE--
 +<?php
 +$im = imagecreatefromxbm(dirname(__FILE__) . '/libgd00094私はガラスを食べられます.xbm');
 +var_dump($im);
 +?>
 +--EXPECTF--
 +Warning: imagecreatefromxbm(): '%slibgd00094私はガラスを食べられます.xbm' is not a valid XBM file in %slibgd00094-mb.php on line %d
 +bool(false)
 +