diff options
author | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2002-01-16 19:46:33 +0000 |
---|---|---|
committer | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2002-01-16 19:46:33 +0000 |
commit | 89d951773c67c9326a271534c78458a1720098c3 (patch) | |
tree | daf3418881d8ac056b94250bbe856c3332bc6f8e /www/lynx/files/patch-syslog | |
parent | Add mingw/opengl95.exe which is distributed on a Microsoft FTP site. (diff) |
o updato to 2.8.4rel.1b.
o fix the format string vulnerability if configured with --enable-syslog
(disabled by default)
http://archives.neohapsis.com/archives/bugtraq/2001-12/0276.html
PR: 33936
Submitted by: KOMATSU Shinichiro <koma2@jiro.c.u-tokyo.ac.jp>
Diffstat (limited to '')
-rw-r--r-- | www/lynx/files/patch-syslog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/lynx/files/patch-syslog b/www/lynx/files/patch-syslog new file mode 100644 index 000000000000..d15cae52d4ec --- /dev/null +++ b/www/lynx/files/patch-syslog @@ -0,0 +1,11 @@ +--- src/LYUtils.c.orig Mon Jun 11 10:04:20 2001 ++++ src/LYUtils.c Wed Jan 16 18:03:39 2002 +@@ -8163,7 +8163,7 @@ + buf[colon2 - arg + 1] = 0; + StrAllocCat(buf, "******"); + StrAllocCat(buf, atsign); +- syslog (LOG_INFO|LOG_LOCAL5, buf); ++ syslog (LOG_INFO|LOG_LOCAL5, "%s", buf); + CTRACE((tfp, "...alter %s\n", buf)); + FREE(buf); + return; |