Test: /ext/wddx/tests/bug72749.phpt - Version 7.0.11-dev        

Security #72749 wddx_deserialize allows illegal memory access
Submitted: 2016-08-03 18:36:02 Modified: 2016-09-05 15:28:49
From: fernando Assigned: stas
Status: Closed Package: WDDX related
PHP Version: 5.6.24 OS: *

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

Count Diff
1 (25%)
006+ [Wed Aug 17 10:01:51 2016] Script: %s/bug72749.php'
007+ /home/travis/build/php/php-src/ext/wddx/wddx.c(1048) : Freeing 0x7F7020403000 (2 bytes), %s/bug72749.php
008+ [Wed Aug 17 10:01:51 2016] Script: %s/bug72749.php'
009+ /home/travis/build/php/php-src/ext/wddx/wddx.c(1042) : Freeing 0x7F7020477400 (25 bytes), %s/bug72749.php
010+ /home/travis/build/php/php-src/Zend/zend_alloc.c(2518) : Actual location (location was relayed)
011+ === Total 2 memory leaks detected ===
1 (25%)
006+ [Wed Aug 17 08:47:25 2016] Script: %s/bug72749.php'
007+ /home/travis/build/php/php-src/ext/wddx/wddx.c(1048) : Freeing 0x7F5898A03000 (2 bytes), %s/bug72749.php
008+ [Wed Aug 17 08:47:25 2016] Script: %s/bug72749.php'
009+ /home/travis/build/php/php-src/ext/wddx/wddx.c(1042) : Freeing 0x7F5898A77400 (25 bytes), %s/bug72749.php
010+ /home/travis/build/php/php-src/Zend/zend_alloc.c(2518) : Actual location (location was relayed)
011+ === Total 2 memory leaks detected ===
1 (25%)
006+ [Wed Aug 17 08:33:48 2016] Script: %s/bug72749.php'
007+ /home/travis/build/smalyshev/php-src/ext/wddx/wddx.c(1048) : Freeing 0x7F30EB803000 (2 bytes), %s/bug72749.php
008+ [Wed Aug 17 08:33:48 2016] Script: %s/bug72749.php'
009+ /home/travis/build/smalyshev/php-src/ext/wddx/wddx.c(1042) : Freeing 0x7F30EB8783C0 (25 bytes), %s/bug72749.php
010+ /home/travis/build/smalyshev/php-src/Zend/zend_alloc.c(2518) : Actual location (location was relayed)
011+ === Total 2 memory leaks detected ===
1 (25%)
006+ [Wed Aug 17 08:20:02 2016] Script: %s/bug72749.php'
007+ /home/travis/build/smalyshev/php-src/ext/wddx/wddx.c(1048) : Freeing 0x7F6868203000 (2 bytes), %s/bug72749.php
008+ [Wed Aug 17 08:20:02 2016] Script: %s/bug72749.php'
009+ /home/travis/build/smalyshev/php-src/ext/wddx/wddx.c(1042) : Freeing 0x7F68682783C0 (25 bytes), %s/bug72749.php
010+ /home/travis/build/smalyshev/php-src/Zend/zend_alloc.c(2518) : Actual location (location was relayed)
011+ === Total 2 memory leaks detected ===