Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
libraw.30665
libraw-CVE-2017-14608.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libraw-CVE-2017-14608.patch of Package libraw.30665
Index: LibRaw-0.15.4/internal/dcraw_common.cpp =================================================================== --- LibRaw-0.15.4.orig/internal/dcraw_common.cpp 2017-10-18 14:15:20.931290322 +0200 +++ LibRaw-0.15.4/internal/dcraw_common.cpp 2017-10-18 14:15:20.939290460 +0200 @@ -2474,8 +2474,15 @@ void CLASS kodak_65000_load_raw() len = MIN (256, width-col); ret = kodak_65000_decode (buf, len); for (i=0; i < len; i++) - if ((RAW(row,col+i) = curve[ret ? buf[i] : - (pred[i & 1] += buf[i])]) >> 12) derror(); + { + int idx = ret ? buf[i] : (pred[i & 1] += buf[i]); + if(idx >=0 && idx <= 0xffff) + { + if ((RAW(row,col+i) = curve[idx]) >> 12) derror(); + } + else + derror(); + } } }
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