We already have a patch--it's the one you sent us.  I've included it
below.

Again, thanks very much for your good work!

Kris

--
Kriston Rehberg
America Online, Inc.

--cut here--

diff -dru aolserver-3.4.2/nspd/log.c aolserver-3.4.2-patched/nspd/log.c
--- aolserver-3.4.2/nspd/log.c  Tue Aug 15 22:24:33 2000
+++ aolserver-3.4.2-patched/nspd/log.c  Wed Jan 30 09:03:11 2002
@@ -206,14 +206,13 @@
             char msgbuf[4096];

             va_start(ap, format);
-            vsprintf(msgbuf, format, ap);
+            vsnprintf(msgbuf, sizeof (msgbuf), format, ap);
             va_end(ap);
-            syslog(priority, msgbuf);
+            syslog(priority, "%s", msgbuf);
         }
     }
 }

-
 /*
  *----------------------------------------------------------------------
  *
--cut here--

--
Kriston Rehberg
America Online, Inc.

Reply via email to