poldek: poldek/log.c - to small buffer

mis mis at pld-linux.org
Sun Feb 24 23:10:01 CET 2008


Author: mis                          Date: Sun Feb 24 22:10:01 2008 GMT
Module: poldek                        Tag: HEAD
---- Log message:
- to small buffer

---- Files affected:
poldek/poldek:
   log.c (1.38 -> 1.39) 

---- Diffs:

================================================================
Index: poldek/poldek/log.c
diff -u poldek/poldek/log.c:1.38 poldek/poldek/log.c:1.39
--- poldek/poldek/log.c:1.38	Sat Feb  2 22:49:04 2008
+++ poldek/poldek/log.c	Sun Feb 24 23:09:56 2008
@@ -291,7 +291,7 @@
 
 static void do_log(unsigned flags, int pri, const char *fmt, va_list args) 
 {
-    char message[1024], *endl = NULL;
+    char message[16 * 1024], *endl = NULL;
     int i;
 
     if (*fmt == '\n' && (pri & (LOGERR|LOGWARN|LOGNOTICE))) {
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/poldek/poldek/log.c?r1=1.38&r2=1.39&f=u



More information about the pld-cvs-commit mailing list