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

Bug #42107 sscanf broken when using %2$s type format parameters
Submitted: 2007-07-26 00:54:35 Modified: 2007-07-26 15:24:17
From: mike Assigned: jani
Status: Closed Package: Strings related
PHP Version: 5.2.3 OS: CentOS

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

Count Diff
6 (22%)
014+ NULL
015+ NULL
016+ NULL
017+ NULL
014- string(3) "one"
015- string(3) "two"
016- string(3) "two"
017- string(3) "one"
4 (15%)
014+ Segmentation fault (core dumped)
015+
016+ Termsig=11
014- string(3) "one"
015- string(3) "two"
016- string(3) "two"
017- string(3) "one"
018- --
019- array(2) {
020- [0]=>
021- NULL
022- [1]=>
023- NULL
024- }
025- array(1) {
026- [0]=>
027- NULL
028- }
029- Done
1 (4%)
030+ [Wed Dec 7 13:36:05 2016] Script: %s/bug42107.php'
031+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fea39678100 (32 bytes), %s/bug42107.php
032+ Last leak repeated 3 times
033+ === Total 4 memory leaks detected ===
1 (4%)
030+ [Sat Nov 19 17:57:19 2016] Script: %s/bug42107.php'
031+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f5561478100 (32 bytes), %s/bug42107.php
032+ Last leak repeated 3 times
033+ === Total 4 memory leaks detected ===
1 (4%)
030+ [Sat Nov 19 14:23:15 2016] Script: %s/bug42107.php'
031+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f5583478100 (32 bytes), %s/bug42107.php
032+ Last leak repeated 3 times
033+ === Total 4 memory leaks detected ===
1 (4%)
030+ [Sat Nov 19 13:55:03 2016] Script: %s/bug42107.php'
031+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fdb2c077100 (32 bytes), %s/bug42107.php
032+ Last leak repeated 3 times
033+ === Total 4 memory leaks detected ===
1 (4%)
030+ [Mon Nov 14 03:00:56 2016] Script: %s/bug42107.php'
031+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f00fa677100 (32 bytes), %s/bug42107.php
032+ Last leak repeated 3 times
033+ === Total 4 memory leaks detected ===
1 (4%)
030+ [Fri Nov 18 14:48:16 2016] Script: %s/bug42107.php'
031+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f0c3c477100 (32 bytes), %s/bug42107.php
032+ Last leak repeated 3 times
033+ === Total 4 memory leaks detected ===
1 (4%)
030+ [Fri Nov 18 01:24:28 2016] Script: %s/bug42107.php'
031+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f54a2077100 (32 bytes), %s/bug42107.php
032+ Last leak repeated 3 times
033+ === Total 4 memory leaks detected ===
1 (4%)
030+ [Fri Nov 18 01:20:47 2016] Script: %s/bug42107.php'
031+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f3437c77100 (32 bytes), %s/bug42107.php
032+ Last leak repeated 3 times
033+ === Total 4 memory leaks detected ===
1 (4%)
030+ [Fri Dec 9 14:39:18 2016] Script: %s/bug42107.php'
031+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f3a0a078100 (32 bytes), %s/bug42107.php
032+ Last leak repeated 3 times
033+ === Total 4 memory leaks detected ===
1 (4%)
030+ [Fri Dec 9 10:57:14 2016] Script: %s/bug42107.php'
031+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fcc81a78100 (32 bytes), %s/bug42107.php
032+ Last leak repeated 3 times
033+ === Total 4 memory leaks detected ===
1 (4%)
014+ NULL
015+ NULL
016+ NULL
017+ NULL
014- string(3) "one"
015- string(3) "two"
016- string(3) "two"
017- string(3) "one"
030+ [Sun Nov 13 23:13:50 2016] Script: %s/bug42107.php'
031+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f7200c77100 (32 bytes), %s/bug42107.php
032+ Last leak repeated 3 times
033+ === Total 4 memory leaks detected ===
1 (4%)
014+ NULL
015+ NULL
016+ NULL
017+ NULL
014- string(3) "one"
015- string(3) "two"
016- string(3) "two"
017- string(3) "one"
030+ [Sun Nov 13 22:49:38 2016] Script: %s/bug42107.php'
031+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f1e8ec77100 (32 bytes), %s/bug42107.php
032+ Last leak repeated 3 times
033+ === Total 4 memory leaks detected ===
1 (4%)
014+ NULL
015+ NULL
016+ NULL
017+ NULL
014- string(3) "one"
015- string(3) "two"
016- string(3) "two"
017- string(3) "one"
030+ [Sun Nov 13 22:33:28 2016] Script: %s/bug42107.php'
031+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f7b5b277100 (32 bytes), %s/bug42107.php
032+ Last leak repeated 3 times
033+ === Total 4 memory leaks detected ===
1 (4%)
014+ NULL
015+ NULL
016+ NULL
017+ NULL
014- string(3) "one"
015- string(3) "two"
016- string(3) "two"
017- string(3) "one"
030+ [Sun Nov 13 22:16:38 2016] Script: %s/bug42107.php'
031+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f4a60e77100 (32 bytes), %s/bug42107.php
032+ Last leak repeated 3 times
033+ === Total 4 memory leaks detected ===
1 (4%)
014+ NULL
015+ NULL
016+ NULL
017+ NULL
014- string(3) "one"
015- string(3) "two"
016- string(3) "two"
017- string(3) "one"
030+ [Sun Nov 13 22:10:34 2016] Script: %s/bug42107.php'
031+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f6f72477100 (32 bytes), %s/bug42107.php
032+ Last leak repeated 3 times
033+ === Total 4 memory leaks detected ===
1 (4%)
014+ NULL
015+ NULL
016+ NULL
017+ NULL
014- string(3) "one"
015- string(3) "two"
016- string(3) "two"
017- string(3) "one"
030+ [Mon Nov 14 03:12:32 2016] Script: %s/bug42107.php'
031+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fc82e677100 (32 bytes), %s/bug42107.php
032+ Last leak repeated 3 times
033+ === Total 4 memory leaks detected ===
1 (4%)
014+ NULL
015+ NULL
016+ NULL
017+ NULL
014- string(3) "one"
015- string(3) "two"
016- string(3) "two"
017- string(3) "one"
030+ [Mon Nov 14 03:10:59 2016] Script: %s/bug42107.php'
031+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007eff94677100 (32 bytes), %s/bug42107.php
032+ Last leak repeated 3 times
033+ === Total 4 memory leaks detected ===