You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(bmp): use check_open to guard against corrupt resolutions (#5086)
Also change the x and y counters to uint64_t to prevent any possible
overflow as it's computing offsets.
---------
Signed-off-by: Larry Gritz <lg@larrygritz.com>
Copy file name to clipboardExpand all lines: testsuite/bmp/ref/out.txt
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -301,3 +301,6 @@ Full command line was:
301
301
oiiotool ERROR: read : "src/palette32bit-corrupt.bmp": BMP error: bad BPP (32) for palette image -- presumed corrupt file
302
302
Full command line was:
303
303
> oiiotool --info -v -a --hash src/palette32bit-corrupt.bmp
304
+
oiiotool ERROR: read : "src/huge-width.bmp": bmp image resolution may not exceed 65536x65536, but the file appears to be 536870911x8. Possible corrupt input?
0 commit comments