~ruther/guix-local

ref: d98dc7051d2dcdbaa2ce2f92fe6385ee7bd4bab0 guix-local/gnu/packages/patches/plib-CVE-2011-4620.patch -rw-r--r-- 368 bytes
d98dc705 — Christopher Baines gnu: guix-data-service: Update to 0.0.1-50.d74422c. 1 year, 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
https://sources.debian.org/data/main/p/plib/1.8.5-8/debian/patches/04_CVE-2011-4620.diff

--- a/src/util/ulError.cxx
+++ b/src/util/ulError.cxx
@@ -39,7 +39,7 @@
 {
   va_list argp;
   va_start ( argp, fmt ) ;
-  vsprintf ( _ulErrorBuffer, fmt, argp ) ;
+  vsnprintf ( _ulErrorBuffer, sizeof(_ulErrorBuffer), fmt, argp ) ;
   va_end ( argp ) ;
  
   if ( _ulErrorCB )