Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
t1lib
t1lib-5.1.1-bof.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File t1lib-5.1.1-bof.patch of Package t1lib
Index: lib/t1lib/t1env.c =================================================================== --- lib/t1lib/t1env.c.orig 2005-05-18 05:08:27.000000000 +0200 +++ lib/t1lib/t1env.c 2007-09-20 19:04:50.000000000 +0200 @@ -611,6 +611,12 @@ char *intT1_Env_GetCompletePath( char *F #endif strcat( pathbuf, DIRECTORY_SEP); /* And finally the filename: */ + /* If current pathbuf + StrippedName + 1 byte for NULL is bigger than pathbuf let's try next pathbuf */ + if(strlen(pathbuf) + strlen(StrippedName) + 1 > sizeof(pathbuf) ) { + i++; + continue; + } + strcat( pathbuf, StrippedName); /* Check for existence of the path: */
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