From 72fee73c6b6665dff34b0bdfc6552e1a83711d42 Mon Sep 17 00:00:00 2001 From: George Sherwood Date: Sun, 25 Jun 2006 10:17:43 +0200 Subject: centericq: security fix, bug 12602 --- chat-im/centericq/DETAILS | 2 ++ chat-im/centericq/HISTORY | 8 ++++++++ chat-im/centericq/PRE_BUILD | 3 +++ chat-im/centericq/ktools.patch | 12 ++++++++++++ 4 files changed, 25 insertions(+) create mode 100755 chat-im/centericq/PRE_BUILD create mode 100644 chat-im/centericq/ktools.patch diff --git a/chat-im/centericq/DETAILS b/chat-im/centericq/DETAILS index b332be5763..8878214050 100755 --- a/chat-im/centericq/DETAILS +++ b/chat-im/centericq/DETAILS @@ -8,7 +8,9 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION BUILD_API=2 ENTERED=20020201 UPDATED=20031121 + SECURITY_PATCH=1 LICENSE[0]=GPL + KEYWORDS="icq messaging chat" SHORT="centericq is a console ICQ / Yahoo! / MSN client" cat << EOF centericq is a text mode menu- and window-driven IM interface. diff --git a/chat-im/centericq/HISTORY b/chat-im/centericq/HISTORY index e94e77850b..161d967f73 100644 --- a/chat-im/centericq/HISTORY +++ b/chat-im/centericq/HISTORY @@ -1,6 +1,14 @@ +2006-06-03 George Sherwood + * DETAILS: Updated SECURITY_PATCH + * PRE_BUILD: Added to patch + * ktools.patch: patch from gentoo to fix SMGLSA-2006-28 + 2006-04-22 George Sherwood * DEPENDS: Added optional_depends curl. Bug #11315 +2006-03-12 Karsten Behrmann + * DETAILS: (automated) Add KEYWORDS + 2005-09-10 George Sherwood * BUILD: Cleaned up fix code diff --git a/chat-im/centericq/PRE_BUILD b/chat-im/centericq/PRE_BUILD new file mode 100755 index 0000000000..a2241eb442 --- /dev/null +++ b/chat-im/centericq/PRE_BUILD @@ -0,0 +1,3 @@ +default_pre_build && +cd $SOURCE_DIRECTORY && +patch -p0 < $SCRIPT_DIRECTORY/ktools.patch diff --git a/chat-im/centericq/ktools.patch b/chat-im/centericq/ktools.patch new file mode 100644 index 0000000000..f9dc0ff903 --- /dev/null +++ b/chat-im/centericq/ktools.patch @@ -0,0 +1,12 @@ +diff -ruN kkstrtext-0.1/kkstrtext.h kkstrtext-0.1/kkstrtext.h +--- kkstrtext-0.1/kkstrtext.h 2004-11-17 23:00:38.000000000 +0000 ++++ kkstrtext-0.1/kkstrtext.h 2005-12-13 18:34:56.308723728 +0000 +@@ -87,7 +87,7 @@ + { \ + va_list vgs__ap; char vgs__buf[1024]; \ + va_start(vgs__ap, fmt); \ +- vsprintf(vgs__buf, fmt, vgs__ap); c = vgs__buf; \ ++ vsnprintf(vgs__buf, sizeof(vgs__buf), fmt, vgs__ap); c = vgs__buf; \ + va_end(vgs__ap); \ + } + -- cgit v1.2.3