Test: /ext/standard/tests/strings/bug72663.phpt - Version 7.2.0-dev        

Security #72663 Create an Unexpected Object and Don't Invoke __wakeup() in Deserialization
Submitted: 2016-07-24 02:09:37 Modified: 2016-09-05 15:28:02
From: taoguangchen Assigned: stas
Status: Closed Package: *General Issues
PHP Version: 5.6.24 OS:

There are 7 different diffs reported by users for this test.

Count Diff
9 (39%)
004+
005+ Notice: unserialize(): Error at offset 79 of 80 bytes in %s/bug72663.php on line 15
6 (26%)
006+
007+ Warning: Variable of type boolean does not accept array offsets in %s/bug72663.php on line 16
4 (17%)
008+ php: /home/travis/build/php/php-src/Zend/zend_operators.c:897: _zval_get_string_func: Assertion `0' failed.
008- DONE
009+ Aborted (core dumped)
010+
011+ Termsig=6
1 (4%)
008+ Segmentation fault (core dumped)
008- DONE
009+
010+ Termsig=11
1 (4%)
007+ [Tue Apr 18 20:33:38 2017] Script: %s/bug72663.php'
008+ /home/travis/build/pmmaga/php-src/Zend/zend_string.h(134) : Freeing 0x00007fdd018815c0 (32 bytes), %s/bug72663.php
009+ Last leak repeated 1 time
010+ === Total 2 memory leaks detected ===
1 (4%)
007+ [Fri Apr 21 18:20:20 2017] Script: %s/bug72663.php'
008+ /home/travis/build/pmmaga/php-src/Zend/zend_string.h(134) : Freeing 0x00007f286ea81700 (32 bytes), %s/bug72663.php
009+ === Total 1 memory leaks detected ===
1 (4%)
002+ Segmentation fault (core dumped)
003- Notice: unserialize(): Error at offset 46 of 47 bytes in %sbug72663.php on line %d
004+ Termsig=11
004-
005- Notice: unserialize(): Error at offset 79 of 80 bytes in %sbug72663.php on line %d
006- DONE