Skip to content

Commit e1c610f

Browse files
committed
Fix exif test failure
There are two slightly different error messages for invalid pointers, so make the pattern slightly less strict to account for both.
1 parent da14cdd commit e1c610f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/exif/tests/bug60150.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var_dump(exif_read_data($infile));
1212
?>
1313
===DONE===
1414
--EXPECTF--
15-
Warning: exif_read_data(bug60150.jpg): Process tag(x9003=DateTimeOri): Illegal pointer offset(x%x + x%x = x%x > x%x) in %s on line %d
15+
Warning: exif_read_data(bug60150.jpg): Process tag(x9003=DateTimeOri): Illegal pointer offset(%s) in %s on line %d
1616

1717
Warning: exif_read_data(bug60150.jpg): Error reading from file: got=x%x(=%d) != itemlen-%d=x%x(=%d) in %s on line %d
1818

0 commit comments

Comments
 (0)