Test: /ext/phar/tests/bug70433.phpt - Version 5.5.30-dev        

Security #70433 Uninitialized pointer in phar_make_dirstream when zip entry filename is "/"
Submitted: 2015-09-05 11:42:46 Modified: 2015-10-11 10:53:55
From: hugh Assigned: kaplan
Status: Closed Package: PHAR related
PHP Version: 5.6Git-2015-09-05 (Git) OS: Linux

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

Count Diff
1 (50%)
001+ zend_hash_update: Can't put in empty key
012+ [Tue Sep 29 04:00:41 2015] Script: %s/bug70433.php'
013+ /home/travis/build/php/php-src/ext/phar/zip.c(388) : Freeing 0x7F8C13E976D0 (2 bytes), %s/bug70433.php
014+ === Total 1 memory leaks detected ===
1 (50%)
001+ zend_hash_update: Can't put in empty key
012+ [Tue Sep 29 00:28:22 2015] Script: %s/bug70433.php'
013+ /home/travis/build/smalyshev/php-src/ext/phar/zip.c(388) : Freeing 0x7F9A3CA87840 (2 bytes), %s/bug70433.php
014+ === Total 1 memory leaks detected ===