projects/aports·blob master · refs

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 )