Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
ghostscript-library
ghostscript-9.00-bnc559122.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ghostscript-9.00-bnc559122.patch of Package ghostscript-library
--- base/gsmisc.c +++ base/gsmisc.c 2009-11-24 17:16:39.000000000 +0000 @@ -260,7 +260,7 @@ int gs_throw_imp(const char *func, const va_list ap; va_start(ap, fmt); - vsprintf(msg, fmt, ap); + vsnprintf(msg, sizeof (msg), fmt, ap); msg[sizeof(msg) - 1] = 0; va_end(ap); --- base/gxttfb.c +++ base/gxttfb.c 2010-09-29 11:48:26.015926742 +0000 @@ -246,7 +246,7 @@ static int DebugPrint(ttfFont *ttf, cons if (gs_debug_c('Y')) { va_start(args, fmt); - count = vsprintf(buf, fmt, args); + count = vsnprintf(buf, sizeof (buf), fmt, args); /* NB: moved debug output from stdout to stderr */ errwrite(ttf->DebugMem, buf, count); --- base/rinkj/rinkj-byte-stream.c +++ base/rinkj/rinkj-byte-stream.c 2009-11-24 17:16:39.000000000 +0000 @@ -43,7 +43,7 @@ rinkj_byte_stream_printf (RinkjByteStrea va_list ap; va_start (ap, fmt); - len = vsprintf (str, fmt, ap); + len = vsnprintf (str, sizeof (str), fmt, ap); va_end (ap); return rinkj_byte_stream_write (bs, str, len); }
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