aboutsummaryrefslogtreecommitdiff
path: root/www/dillo-i18n
diff options
context:
space:
mode:
authorSimon L. B. Nielsen <simon@FreeBSD.org>2005-01-08 16:12:52 +0000
committerSimon L. B. Nielsen <simon@FreeBSD.org>2005-01-08 16:12:52 +0000
commit2e29c4f5d222e75b4e14ec1a3836f86773149d2e (patch)
tree1e1168ad1e4406902b57182a5e88302d50f2c00e /www/dillo-i18n
parent9f6d24ada4a66a898f896acf996e517f4a771336 (diff)
downloadports-2e29c4f5d222e75b4e14ec1a3836f86773149d2e.tar.gz
ports-2e29c4f5d222e75b4e14ec1a3836f86773149d2e.zip
Fix security vulnerability.
Security: CAN-2005-0012 Submitted by: Thomas-Martin Seck <tmseck@netcologne.de> (maintainer) Obtained from: dillo CVS Approved by: erwin (mentor)
Notes
Notes: svn path=/head/; revision=125817
Diffstat (limited to 'www/dillo-i18n')
-rw-r--r--www/dillo-i18n/Makefile1
-rw-r--r--www/dillo-i18n/files/patch-src-capi.c14
2 files changed, 15 insertions, 0 deletions
diff --git a/www/dillo-i18n/Makefile b/www/dillo-i18n/Makefile
index 4224716da5be..51fb7a1c6c35 100644
--- a/www/dillo-i18n/Makefile
+++ b/www/dillo-i18n/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/dillo-i18n/files/patch-src-capi.c b/www/dillo-i18n/files/patch-src-capi.c
new file mode 100644
index 000000000000..420a043fdf91
--- /dev/null
+++ b/www/dillo-i18n/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);