Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
ImageMagick.12048
ImageMagick-CVE-2019-13136.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2019-13136.patch of Package ImageMagick.12048
diff --git a/coders/tiff.c b/coders/tiff.c index 7efbb970b5..97402f2cb3 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -258,6 +258,12 @@ static MagickOffsetType TIFFSeekCustomStream(const MagickOffsetType offset, } case SEEK_CUR: { + if (((offset > 0) && (profile->offset > (SSIZE_MAX-offset))) || + ((offset < 0) && (profile->offset < (-SSIZE_MAX-offset)))) + { + errno=EOVERFLOW; + return(-1); + } if ((profile->offset+offset) < 0) return(-1); profile->offset+=offset;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor