Skip to content
projects
/
aports
·
blob
master ·
refs
aports
testing
plib
CVE-2011-4620.patch
…
History
History
·
Raw
Raw
·
Diff
Diff
·
Blob
Blob
11 lines · 278 B
1
---
a/src/util/ulError.cxx
2
+++
b/src/util/ulError.cxx
3
@@
-39,7 +39,7
@@
4
{
5
va_list argp;
6
va_start ( argp, fmt ) ;
7
-
vsprintf ( _ulErrorBuffer, fmt, argp ) ;
8
+
vsnprintf ( _ulErrorBuffer, sizeof(_ulErrorBuffer), fmt, argp ) ;
9
va_end ( argp ) ;
10
11
if ( _ulErrorCB )