From a9f7f465da6c669bc7bee62e273a34fb6306662a Mon Sep 17 00:00:00 2001 From: Stefan Schweizer Date: Tue, 9 Oct 2007 20:57:59 +0000 Subject: Add security fix for rbu, bug 193095 (Portage version: 2.1.3.12) --- dev-libs/pwlib/files/digest-pwlib-1.10.10-r1 | 3 +++ dev-libs/pwlib/files/pwlib-1.10.1-vsprintf.patch | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 dev-libs/pwlib/files/digest-pwlib-1.10.10-r1 create mode 100644 dev-libs/pwlib/files/pwlib-1.10.1-vsprintf.patch (limited to 'dev-libs/pwlib/files') diff --git a/dev-libs/pwlib/files/digest-pwlib-1.10.10-r1 b/dev-libs/pwlib/files/digest-pwlib-1.10.10-r1 new file mode 100644 index 000000000000..8b02f451ee60 --- /dev/null +++ b/dev-libs/pwlib/files/digest-pwlib-1.10.10-r1 @@ -0,0 +1,3 @@ +MD5 abebf45332e70772ffa876d31975d4b9 pwlib-1.10.10.tar.gz 2266255 +RMD160 b9e2f3f79911c377dc2d2fbef62d3628aa8364f7 pwlib-1.10.10.tar.gz 2266255 +SHA256 90a04544e1a6eb4957f92f4845c94950ec3612e0378d1e281c3607548f5092f6 pwlib-1.10.10.tar.gz 2266255 diff --git a/dev-libs/pwlib/files/pwlib-1.10.1-vsprintf.patch b/dev-libs/pwlib/files/pwlib-1.10.1-vsprintf.patch new file mode 100644 index 000000000000..1a63e23de515 --- /dev/null +++ b/dev-libs/pwlib/files/pwlib-1.10.1-vsprintf.patch @@ -0,0 +1,11 @@ +--- src/ptlib/common/contain.cxx.orig 2005-11-30 13:47:41.000000000 +0100 ++++ src/ptlib/common/contain.cxx 2007-09-27 10:01:49.000000000 +0200 +@@ -2465,7 +2465,7 @@ PString & PString::vsprintf(const char * + PAssert(SetSize(2000), POutOfMemory); + ::vsprintf(theArray+len, fmt, arg); + #else +- PINDEX size = 0; ++ PINDEX size = len; + do { + size += 1000; + PAssert(SetSize(size), POutOfMemory); -- cgit v1.2.3-65-gdbad