diff options
Diffstat (limited to 'testing/plib/CVE-2011-4620.patch')
-rw-r--r-- | testing/plib/CVE-2011-4620.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/plib/CVE-2011-4620.patch b/testing/plib/CVE-2011-4620.patch new file mode 100644 index 00000000000..b41b22bd9ac --- /dev/null +++ b/testing/plib/CVE-2011-4620.patch @@ -0,0 +1,11 @@ +--- 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 ) |