Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
plib
plib-1.8.5-CVE-2011-4620.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File plib-1.8.5-CVE-2011-4620.patch of Package plib
Index: src/util/ulError.cxx =================================================================== --- src/util/ulError.cxx.orig +++ src/util/ulError.cxx @@ -39,9 +39,11 @@ void ulSetError ( enum ulSeverity severi { va_list argp; va_start ( argp, fmt ) ; - vsprintf ( _ulErrorBuffer, fmt, argp ) ; + vsnprintf ( _ulErrorBuffer, sizeof(_ulErrorBuffer)-1, fmt, argp ) ; va_end ( argp ) ; - + + _ulErrorBuffer[sizeof(_ulErrorBuffer)-1] = '\0'; + if ( _ulErrorCB ) { (*_ulErrorCB)( severity, _ulErrorBuffer ) ;
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