From 35638ff4e06824c32b56f49d784497975a5e30b7 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Sat, 15 Dec 2001 06:22:28 +0000 Subject: Fix a null pointer dereferencing bug in gtk-xmhtml library observed when browsing evolution documentation. Bump PORTREVISION. --- x11/gnomelibs/Makefile | 2 +- x11/gnomelibs/files/patch-gtk-xmhtml::images.c | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 x11/gnomelibs/files/patch-gtk-xmhtml::images.c (limited to 'x11/gnomelibs') diff --git a/x11/gnomelibs/Makefile b/x11/gnomelibs/Makefile index da5ed840c084..4b9c17432728 100644 --- a/x11/gnomelibs/Makefile +++ b/x11/gnomelibs/Makefile @@ -7,7 +7,7 @@ PORTNAME= gnomelibs PORTVERSION= 1.4.1.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES?= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= stable/sources/gnome-libs diff --git a/x11/gnomelibs/files/patch-gtk-xmhtml::images.c b/x11/gnomelibs/files/patch-gtk-xmhtml::images.c new file mode 100644 index 000000000000..6e24a95c4b67 --- /dev/null +++ b/x11/gnomelibs/files/patch-gtk-xmhtml::images.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- gtk-xmhtml/images.c 2001/12/15 05:19:03 1.1 ++++ gtk-xmhtml/images.c 2001/12/15 05:19:22 +@@ -2393,7 +2393,7 @@ + { + if(!html->html.xcc) + _XmHTMLCheckXCC(html); +- image->xcc = html->html.xcc; ++ xcc = image->xcc = html->html.xcc; + } + } + -- cgit v1.2.3