bump image size limits for tiff
see https://github.com/jcupitt/libvips/issues/120#issuecomment-45324200
This commit is contained in:
parent
3f021abe2d
commit
527f8ff2cc
@ -1090,9 +1090,9 @@ parse_header( ReadTiff *rtiff, VipsImage *out )
|
||||
*/
|
||||
|
||||
if( width <= 0 ||
|
||||
width > 1000000 ||
|
||||
width > 10000000 ||
|
||||
height <= 0 ||
|
||||
height > 1000000 ) {
|
||||
height > 10000000 ) {
|
||||
vips_error( "tiff2vips",
|
||||
"%s", _( "width/height out of range" ) );
|
||||
return( -1 );
|
||||
|
Loading…
Reference in New Issue
Block a user