From d707a761c90d750ec1dba6afc2fead64448cf977 Mon Sep 17 00:00:00 2001 From: adrianp Date: Mon, 10 Jan 2005 21:54:36 +0000 Subject: Patch for recent security issue - bump to nb2 http://secunia.com/advisories/13760/ --- www/dillo/Makefile | 4 ++-- www/dillo/distinfo | 3 ++- www/dillo/patches/patch-ac | 16 ++++++++++++++++ 3 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 www/dillo/patches/patch-ac (limited to 'www/dillo') diff --git a/www/dillo/Makefile b/www/dillo/Makefile index 45d62f15e19..e988cfba762 100644 --- a/www/dillo/Makefile +++ b/www/dillo/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.23 2005/01/04 14:09:17 jmmv Exp $ +# $NetBSD: Makefile,v 1.24 2005/01/10 21:54:36 adrianp Exp $ DISTNAME= dillo-0.8.3 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www MASTER_SITES= http://dillo.auriga.wearlab.de/download/ EXTRACT_SUFX= .tar.bz2 diff --git a/www/dillo/distinfo b/www/dillo/distinfo index e12390db807..ff0f5f41053 100644 --- a/www/dillo/distinfo +++ b/www/dillo/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.20 2005/01/04 14:09:17 jmmv Exp $ +$NetBSD: distinfo,v 1.21 2005/01/10 21:54:36 adrianp Exp $ SHA1 (dillo-0.8.3.tar.bz2) = c023eface4516c89ba9a2818cfd24f3ef5d24dae Size (dillo-0.8.3.tar.bz2) = 418714 bytes SHA1 (patch-aa) = 2c89724fa0846d154292f983db86b3cc1d117343 SHA1 (patch-ab) = 682f85d285d64f85a9b34d0177a8c6ef5cafd31c +SHA1 (patch-ac) = c3149428f1e756121eddfcac837b4b0a9b8b32b3 diff --git a/www/dillo/patches/patch-ac b/www/dillo/patches/patch-ac new file mode 100644 index 00000000000..6290dea358f --- /dev/null +++ b/www/dillo/patches/patch-ac @@ -0,0 +1,16 @@ +$NetBSD: patch-ac,v 1.6 2005/01/10 21:54:36 adrianp Exp $ + +--- src/capi.c.orig 2005-01-10 21:48:03.000000000 +0000 ++++ src/capi.c 2005-01-10 21:50:42.000000000 +0000 +@@ -492,9 +492,9 @@ + a_Chain_bcb(OpStop, Info, conn->url, NULL); + + } else if (strcmp(Data2, "send_status_message") == 0) { +- a_Interface_msg(conn->bw, Data1); ++ a_Interface_msg(conn->bw, "%s", Data1); + } else if (strcmp(Data2, "chat") == 0) { +- a_Interface_msg(conn->bw, Data1); ++ a_Interface_msg(conn->bw, "%s", Data1); + a_Bookmarks_chat_add(NULL, NULL, Data1); + } else if (strcmp(Data2, "dialog") == 0) { + a_Dpiapi_dialog(conn->bw, conn->server, Data1); -- cgit v1.2.3