Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15:Update
libquicktime
libquicktime-1.2.4-integer_overflow.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libquicktime-1.2.4-integer_overflow.patch of Package libquicktime
Index: libquicktime/src/util.c =================================================================== --- libquicktime.orig/src/util.c +++ libquicktime/src/util.c @@ -376,9 +376,14 @@ int64_t quicktime_byte_position(quicktim void quicktime_read_pascal(quicktime_t *file, char *data) { - char len = quicktime_read_char(file); - quicktime_read_data(file, (uint8_t*)data, len); - data[(int)len] = 0; + int len = quicktime_read_char(file); + if ((len > 0) && (len < 256)) { + /* data[] is expected to be 256 bytes long */ + quicktime_read_data(file, (uint8_t*)data, len); + data[len] = 0; + } else { + data[0] = 0; + } } void quicktime_write_pascal(quicktime_t *file, char *data)
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