Test: /ext/standard/tests/image/bug79877.phpt - Version 7.4.8        

Security #79877 getimagesize function silently truncates after a null byte
Submitted: 2020-07-21 05:49:47 Modified: 2020-08-03 08:08:04
From: 1157599735 Assigned: stas
Status: Closed Package: Filesystem function related
PHP Version: 7.2 OS: Linux

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+ Warning: getimagesize(/tmp/a.png): failed to open stream: No such file or directory in %s/bug79877.php on line 2 002+ bool(false) 001- Warning: getimagesize(): Invalid path in %s on line %d 002- NULL