summaryrefslogtreecommitdiff
path: root/user/plib/CVE-2011-4620.patch
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-08-01 03:32:55 -0500
committerMax Rees <maxcrees@me.com>2019-08-01 03:32:55 -0500
commite26f14b36dfc9afc1041e69a6792cd44b6cf1aae (patch)
tree772d048f8a8f89db14d7f2e285834f125d39e455 /user/plib/CVE-2011-4620.patch
parentaddcb5d4b2d24c7927c597d156f5a31a3df2ab31 (diff)
downloadpackages-e26f14b36dfc9afc1041e69a6792cd44b6cf1aae.tar.gz
packages-e26f14b36dfc9afc1041e69a6792cd44b6cf1aae.tar.bz2
packages-e26f14b36dfc9afc1041e69a6792cd44b6cf1aae.tar.xz
packages-e26f14b36dfc9afc1041e69a6792cd44b6cf1aae.zip
user/plib: use standard CVE patch naming
Diffstat (limited to 'user/plib/CVE-2011-4620.patch')
-rw-r--r--user/plib/CVE-2011-4620.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/plib/CVE-2011-4620.patch b/user/plib/CVE-2011-4620.patch
new file mode 100644
index 000000000..41fac5fe4
--- /dev/null
+++ b/user/plib/CVE-2011-4620.patch
@@ -0,0 +1,11 @@
+--- plib-1.8.5/src/util/ulError.cxx~ 2008-03-11 03:06:23.000000000 +0100
++++ plib-1.8.5/src/util/ulError.cxx 2011-12-27 15:38:25.305676650 +0100
+@@ -39,7 +39,7 @@ void ulSetError ( enum ulSeverity severi
+ {
+ va_list argp;
+ va_start ( argp, fmt ) ;
+- vsprintf ( _ulErrorBuffer, fmt, argp ) ;
++ vsnprintf ( _ulErrorBuffer, sizeof(_ulErrorBuffer), fmt, argp ) ;
+ va_end ( argp ) ;
+
+ if ( _ulErrorCB )