Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
gdk-pixbuf
gnome171707-backport.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome171707-backport.patch of Package gdk-pixbuf
Index: io-bmp.c ================================================================================ --- gdk-pixbuf/io-bmp.c +++ gdk-pixbuf/io-bmp.c @@ -246,7 +246,14 @@ static gboolean grow_buffer (struct bmp_progressive_state *State) { - guchar *tmp = realloc (State->buff, State->BufferSize); + guchar *tmp; + + if (State->BufferSize == 0) { + State->read_state = READ_STATE_ERROR; + return FALSE; + } + + tmp = realloc (State->buff, State->BufferSize); if (!tmp) { State->read_state = READ_STATE_ERROR; return FALSE;
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