Download src/php/php-src/ext/exif/tests/bug48378.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 452 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/exif/tests/bug48378.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/exif/tests/bug48378.phpt
-
curl -L -o bug48378.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/exif/tests/bug48378.phpt
452 Bytes
| --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 | |