Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
xpdf
xpdf-no-alloc-bitmap-data.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xpdf-no-alloc-bitmap-data.patch of Package xpdf
--- splash/SplashFTFont.cc +++ splash/SplashFTFont.cc @@ -212,6 +212,10 @@ } else { rowSize = (SafeInt(bitmap->w) + SafeInt(7)) >> 3; } + if (rowSize == 0 || bitmap->h == 0) { + bitmap->freeData = gFalse; + return gTrue; + } bitmap->data = (Guchar *)gmallocn(rowSize, bitmap->h); bitmap->freeData = gTrue; for (i = 0, p = bitmap->data, q = slot->bitmap.buffer;
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