xref: /PHP-8.0/ext/exif/tests/bug79282.phpt (revision 03bf4edb)
1--TEST--
2Bug #79282: Use-of-uninitialized-value in exif
3--FILE--
4<?php
5
6var_dump(exif_read_data('data://image/jpeg;base64,/9jhAAlFeGlmAAAg'));
7
8?>
9--EXPECTF--
10Warning: exif_read_data(): Missing TIFF alignment marker in %s on line %d
11
12Warning: exif_read_data(): File structure corrupted in %s on line %d
13
14Warning: exif_read_data(): Invalid JPEG file in %s on line %d
15bool(false)
16