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

Bug #38322 reading past array in sscanf leads to arbitary code execution
Submitted: 2006-08-04 00:36:21 Modified: 2006-08-04 11:59:53
From: heintz Assigned:
Status: Closed Package: Strings related
PHP Version: 5.1.4 OS: all

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

Count Diff
4 (19%)
001+ Segmentation fault (core dumped)
002+
001- int(1)
002- Done
003+ Termsig=11
1 (5%)
003+ [Wed Dec 7 13:36:05 2016] Script: %s/bug38322.php'
004+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fa5c9678240 (32 bytes), %s/bug38322.php
005+ === Total 1 memory leaks detected ===
1 (5%)
003+ [Sun Nov 13 23:13:50 2016] Script: %s/bug38322.php'
004+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fe3db677240 (32 bytes), %s/bug38322.php
005+ === Total 1 memory leaks detected ===
1 (5%)
003+ [Sun Nov 13 22:49:38 2016] Script: %s/bug38322.php'
004+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f5a8a877240 (32 bytes), %s/bug38322.php
005+ === Total 1 memory leaks detected ===
1 (5%)
003+ [Sun Nov 13 22:33:28 2016] Script: %s/bug38322.php'
004+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f4d8ea77240 (32 bytes), %s/bug38322.php
005+ === Total 1 memory leaks detected ===
1 (5%)
003+ [Sun Nov 13 22:16:38 2016] Script: %s/bug38322.php'
004+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fdca1a77240 (32 bytes), %s/bug38322.php
005+ === Total 1 memory leaks detected ===
1 (5%)
003+ [Sun Nov 13 22:10:34 2016] Script: %s/bug38322.php'
004+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f5135277240 (32 bytes), %s/bug38322.php
005+ === Total 1 memory leaks detected ===
1 (5%)
003+ [Sat Nov 19 17:57:18 2016] Script: %s/bug38322.php'
004+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fa0d2278240 (32 bytes), %s/bug38322.php
005+ === Total 1 memory leaks detected ===
1 (5%)
003+ [Sat Nov 19 14:23:15 2016] Script: %s/bug38322.php'
004+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f3f0f878240 (32 bytes), %s/bug38322.php
005+ === Total 1 memory leaks detected ===
1 (5%)
003+ [Sat Nov 19 13:55:02 2016] Script: %s/bug38322.php'
004+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f8241477240 (32 bytes), %s/bug38322.php
005+ === Total 1 memory leaks detected ===
1 (5%)
003+ [Mon Nov 14 03:12:32 2016] Script: %s/bug38322.php'
004+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fd98e077240 (32 bytes), %s/bug38322.php
005+ === Total 1 memory leaks detected ===
1 (5%)
003+ [Mon Nov 14 03:10:58 2016] Script: %s/bug38322.php'
004+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f59a5e77240 (32 bytes), %s/bug38322.php
005+ === Total 1 memory leaks detected ===
1 (5%)
003+ [Mon Nov 14 03:00:56 2016] Script: %s/bug38322.php'
004+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fe0ac077240 (32 bytes), %s/bug38322.php
005+ === Total 1 memory leaks detected ===
1 (5%)
003+ [Fri Nov 18 14:48:16 2016] Script: %s/bug38322.php'
004+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f7d26077240 (32 bytes), %s/bug38322.php
005+ === Total 1 memory leaks detected ===
1 (5%)
003+ [Fri Nov 18 01:24:27 2016] Script: %s/bug38322.php'
004+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f379a277240 (32 bytes), %s/bug38322.php
005+ === Total 1 memory leaks detected ===
1 (5%)
003+ [Fri Nov 18 01:20:47 2016] Script: %s/bug38322.php'
004+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f8727a77240 (32 bytes), %s/bug38322.php
005+ === Total 1 memory leaks detected ===
1 (5%)
003+ [Fri Dec 9 14:39:18 2016] Script: %s/bug38322.php'
004+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f349b878240 (32 bytes), %s/bug38322.php
005+ === Total 1 memory leaks detected ===
1 (5%)
003+ [Fri Dec 9 10:57:14 2016] Script: %s/bug38322.php'
004+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fef30a78240 (32 bytes), %s/bug38322.php
005+ === Total 1 memory leaks detected ===