summaryrefslogtreecommitdiff
path: root/user/plib/plib-1.8.5-CVE-2011-4620.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-23 22:07:23 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-24 01:14:40 +0000
commit35d3464218da6f5ae5025fec65dd1caa08d31824 (patch)
treef2d81ac1fc863233490f3fd1006be9aebbb5754e /user/plib/plib-1.8.5-CVE-2011-4620.patch
parent67b10a41901d249e4d8ce18cd5913912117a2ac4 (diff)
downloadpackages-35d3464218da6f5ae5025fec65dd1caa08d31824.tar.gz
packages-35d3464218da6f5ae5025fec65dd1caa08d31824.tar.bz2
packages-35d3464218da6f5ae5025fec65dd1caa08d31824.tar.xz
packages-35d3464218da6f5ae5025fec65dd1caa08d31824.zip
user/plib: new package
Diffstat (limited to 'user/plib/plib-1.8.5-CVE-2011-4620.patch')
-rw-r--r--user/plib/plib-1.8.5-CVE-2011-4620.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/plib/plib-1.8.5-CVE-2011-4620.patch b/user/plib/plib-1.8.5-CVE-2011-4620.patch
new file mode 100644
index 000000000..41fac5fe4
--- /dev/null
+++ b/user/plib/plib-1.8.5-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 )