aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-12-26 19:10:58 +0800
committersobomax <sobomax@FreeBSD.org>2001-12-26 19:10:58 +0800
commitfc3670904654189f2921a6661fdfea036f461a78 (patch)
tree870561c4d10ebbedbcd51c1ea8e7b38791abd883
parenta5f07e7b210538a3ac0d29773ba8720071cb49cb (diff)
downloadfreebsd-ports-gnome-fc3670904654189f2921a6661fdfea036f461a78.tar.gz
freebsd-ports-gnome-fc3670904654189f2921a6661fdfea036f461a78.tar.zst
freebsd-ports-gnome-fc3670904654189f2921a6661fdfea036f461a78.zip
Fix exploitable format string vulnerability.
Submitted by: maintainer
-rw-r--r--devel/libvanessa_logger/Makefile1
-rw-r--r--devel/libvanessa_logger/files/patch-libvanessa_logger::vanessa_logger.c14
2 files changed, 15 insertions, 0 deletions
diff --git a/devel/libvanessa_logger/Makefile b/devel/libvanessa_logger/Makefile
index b1db1faf4907..0f6b361bf4ea 100644
--- a/devel/libvanessa_logger/Makefile
+++ b/devel/libvanessa_logger/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libvanessa_logger
PORTVERSION= 0.0.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://vanessa.sourceforge.net/pub/vanessa/%SUBDIR%/ \
ftp://ftp.au.vergenet.net/pub/vanessa/%SUBDIR%/ \
diff --git a/devel/libvanessa_logger/files/patch-libvanessa_logger::vanessa_logger.c b/devel/libvanessa_logger/files/patch-libvanessa_logger::vanessa_logger.c
new file mode 100644
index 000000000000..8dca27916351
--- /dev/null
+++ b/devel/libvanessa_logger/files/patch-libvanessa_logger::vanessa_logger.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- libvanessa_logger/vanessa_logger.c 2001/12/26 11:04:11 1.1
++++ libvanessa_logger/vanessa_logger.c 2001/12/26 11:06:21
+@@ -502,7 +502,7 @@
+ syslog(priority, "__vanessa_logger_log: vsnprintf: output truncated");
+ return;
+ }
+- syslog(priority, vl->buffer);
++ syslog(priority, "%s", vl->buffer);
+ break;
+ case __vanessa_logger_none:
+ break;