Test: /ext/standard/tests/general_functions/escapeshellarg_bug71270.phpt - Version 7.2.28        

Security #71270 Heap BufferOver Flow in escapeshell functions
Submitted: 2016-01-03 23:26:04 Modified: 2016-01-21 11:46:00
From: emmanuel.law Assigned: ab
Status: Closed Package: Scripting Engine problem
PHP Version: 7.0.1 OS:

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

Count Diff
5 (83%)
001+ ===DONE===
001- Fatal error: escapeshellarg(): Argument exceeds the allowed length of %d bytes in %s on line %d
1 (17%)
001+ mmap() failed: [12] Cannot allocate memory
001- Fatal error: escapeshellarg(): Argument exceeds the allowed length of %d bytes in %s on line %d
002+
003+ mmap() failed: [12] Cannot allocate memory
004+
005+ Fatal error: Out of memory (allocated 69210112) (tried to allocate 268435476 bytes) in %s/escapeshellarg_bug71270.php on line 4