Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

--TEST-- Bug #48378 (Infinite recursion due to corrupt JPEG) --EXTENSIONS-- exif --FILE-- ..

Decoded Output download

--TEST--
Bug #48378 (Infinite recursion due to corrupt JPEG)
--EXTENSIONS--
exif
--FILE--
<?php
exif_read_data(
__DIR__ . "/bug48378.jpg",
"FILE,COMPUTED,ANY_TAG"
);
?>
--EXPECTF--
Warning: exif_read_data(%s): Invalid IFD start in %s48378.php on line %d

Warning: exif_read_data(%s): Error reading from file: got=x08B4(=2228) != itemlen-2=x1FFE(=8190) in %s48378.php on line %d

Warning: exif_read_data(%s): Invalid JPEG file in %s48378.php on line %d

Did this file decode correctly?

Original Code

--TEST--
Bug #48378 (Infinite recursion due to corrupt JPEG)
--EXTENSIONS--
exif
--FILE--
<?php
exif_read_data(
__DIR__ . "/bug48378.jpg",
"FILE,COMPUTED,ANY_TAG"
);
?>
--EXPECTF--
Warning: exif_read_data(%s): Invalid IFD start in %s48378.php on line %d

Warning: exif_read_data(%s): Error reading from file: got=x08B4(=2228) != itemlen-2=x1FFE(=8190) in %s48378.php on line %d

Warning: exif_read_data(%s): Invalid JPEG file in %s48378.php on line %d

Function Calls

None

Variables

None

Stats

MD5 de2be56419bf328da7b7cbf981db279e
Eval Count 0
Decode Time 90 ms