summaryrefslogtreecommitdiffstats
path: root/www/dillo2
diff options
context:
space:
mode:
authorsimon <simon@FreeBSD.org>2005-01-08 16:12:52 +0000
committersimon <simon@FreeBSD.org>2005-01-08 16:12:52 +0000
commit12cd86ec89f8c84a9396b6ff46fa9ed263bf7551 (patch)
tree6b218ef45d2fc2d310f070f9380516b41c1c5512 /www/dillo2
parent15edc573373236e7e39a35283a7b57eb659341c8 (diff)
downloadFreeBSD-ports-12cd86ec89f8c84a9396b6ff46fa9ed263bf7551.zip
FreeBSD-ports-12cd86ec89f8c84a9396b6ff46fa9ed263bf7551.tar.gz
Fix security vulnerability.
Security: CAN-2005-0012 Submitted by: Thomas-Martin Seck <tmseck@netcologne.de> (maintainer) Obtained from: dillo CVS Approved by: erwin (mentor)
Diffstat (limited to 'www/dillo2')
-rw-r--r--www/dillo2/Makefile1
-rw-r--r--www/dillo2/files/patch-src-capi.c14
2 files changed, 15 insertions, 0 deletions
diff --git a/www/dillo2/Makefile b/www/dillo2/Makefile
index 4224716..51fb7a1 100644
--- a/www/dillo2/Makefile
+++ b/www/dillo2/Makefile
@@ -10,6 +10,7 @@
PORTNAME= dillo
PORTVERSION= 0.8.3
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.dillo.org/download/
diff --git a/www/dillo2/files/patch-src-capi.c b/www/dillo2/files/patch-src-capi.c
new file mode 100644
index 0000000..420a043
--- /dev/null
+++ b/www/dillo2/files/patch-src-capi.c
@@ -0,0 +1,14 @@
+--- src/capi.c.orig Fri Jan 7 19:35:29 2005
++++ src/capi.c Fri Jan 7 19:37:29 2005
+@@ -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);
OpenPOWER on IntegriCloud