ports/84691: [update] net/gaim - security CAN-2005-2370
Andrej Zverev
az at inec.ru
Tue Aug 9 08:00:42 UTC 2005
>Number: 84691
>Category: ports
>Synopsis: [update] net/gaim - security CAN-2005-2370
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 09 08:00:40 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Andrej Zverev
>Release: FreeBSD 5.4-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD az.inec.ru 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #2: Wed Jul 6 12:10:32 MSD 2005 root at az.inec.ru:/usr/obj/usr/src/sys/GENERIC i386
>Description:
See CAN-2005-2370
Patch from debain project
>How-To-Repeat:
>Fix:
--- gaim.diff begins here ---
diff -Nru gaim.orig/Makefile gaim/Makefile
--- gaim.orig/Makefile Sat Jul 9 21:35:43 2005
+++ gaim/Makefile Thu Aug 4 11:09:22 2005
@@ -7,6 +7,7 @@
PORTNAME= gaim
PORTVERSION= 1.4.0
+PORTREVISION= 1
CATEGORIES?= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff -Nru gaim.orig/files/patch-src_protocols_gg_libgg.c gaim/files/patch-src_protocols_gg_libgg.c
--- gaim.orig/files/patch-src_protocols_gg_libgg.c Thu Jan 1 03:00:00 1970
+++ gaim/files/patch-src_protocols_gg_libgg.c Thu Aug 4 10:58:29 2005
@@ -0,0 +1,16 @@
+# see CAN-2005-2370
+--- src/protocols/gg/libgg.c.orig Wed Mar 2 14:53:57 2005
++++ src/protocols/gg/libgg.c Thu Aug 4 10:49:06 2005
+@@ -1099,7 +1099,11 @@
+ e->event.status60.descr = buf;
+
+ if (len > 4 && p[h->length - 5] == 0)
+- e->event.status60.time = *((int*) (p + h->length - 4));
++ {
++ uint32_t t;
++ memcpy(&t, p + h->length - 4, sizeof(uint32_t));
++ e->event.status60.time = t;
++ }
+ }
+
+ break;
--- gaim.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list