Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
php5.11086
php-CVE-2019-11036.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php-CVE-2019-11036.patch of Package php5.11086
X-Git-Url: http://208.43.231.11:8000/?p=php-src.git;a=blobdiff_plain;f=ext%2Fexif%2Fexif.c;h=d174def80c1355fc54d09a0ae754ced64d85768d;hp=a763f6c77b0d1664eadc924e650181850843f72d;hb=f80ad18afae2230c2c1802c7d829100af646874e;hpb=6c631ccfef94f93259d474682f8bfa803e163c87 Index: php-5.5.14/ext/exif/exif.c =================================================================== --- php-5.5.14.orig/ext/exif/exif.c 2019-05-13 11:08:43.613066175 +0200 +++ php-5.5.14/ext/exif/exif.c 2019-05-13 11:08:43.621066214 +0200 @@ -2898,7 +2898,7 @@ static int exif_process_IFD_TAG(image_in offset_base is ImageInfo->file.list[sn].data-dir_offset dir_entry - offset_base is dir_offset+2+i*12 */ - if (byte_count > IFDlength || offset_val > IFDlength-byte_count || value_ptr < dir_entry || offset_val < (size_t)(dir_entry-offset_base)) { + if (byte_count > IFDlength || offset_val > IFDlength-byte_count || value_ptr < dir_entry || offset_val < (size_t)(dir_entry-offset_base) || dir_entry <= offset_base) { /* It is important to check for IMAGE_FILETYPE_TIFF * JPEG does not use absolute pointers instead its pointers are * relative to the start of the TIFF header in APP1 section. */
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