Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
smalyshev committed Jul 17, 2018
1 parent a536d6d commit ebd5f56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/exif/tests/bug76557.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Bug 76557 (heap-buffer-overflow (READ of size 48) while reading exif data)
<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
--FILE--
<?php
var_dump(count(exif_read_data(dirname(__FILE__) . "/bug76557.jpg")));
var_dump(exif_read_data(dirname(__FILE__) . "/bug76557.jpg"));
?>
DONE
--EXPECTF--
Expand Down Expand Up @@ -75,5 +75,5 @@ Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTa): Illegal p
Warning: exif_read_data(bug76557.jpg): File structure corrupted in %sbug76557.php on line %d

Warning: exif_read_data(bug76557.jpg): Invalid JPEG file in %sbug76557.php on line %d
int(1)
bool(false)
DONE

0 comments on commit ebd5f56

Please sign in to comment.