[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Fedora-directory-commits] setuputil/installer/unix/lib ux-wrapper.cc, 1.2, 1.3



Author: rmeggins

Update of /cvs/dirsec/setuputil/installer/unix/lib
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv651/setuputil/installer/unix/lib

Modified Files:
	ux-wrapper.cc 
Log Message:
Add using namespace std; after the include <iostream>
Remove #include <iostream.h> in files that also include nsdefs.h
Fix a potential buffer non-termination



Index: ux-wrapper.cc
===================================================================
RCS file: /cvs/dirsec/setuputil/installer/unix/lib/ux-wrapper.cc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ux-wrapper.cc	23 Mar 2006 15:59:22 -0000	1.2
+++ ux-wrapper.cc	30 Mar 2006 00:38:29 -0000	1.3
@@ -29,6 +29,11 @@
 ** HISTORY:
 **
 ** $Log$
+** Revision 1.3  2006/03/30 00:38:29  rmeggins
+** Add using namespace std; after the include <iostream>
+** Remove #include <iostream.h> in files that also include nsdefs.h
+** Fix a potential buffer non-termination
+**
 ** Revision 1.2  2006/03/23 15:59:22  rmeggins
 ** Bug(s) fixed: 186280
 ** Bug Description: Close potential security vulnerabilities in CGI code
@@ -191,6 +196,7 @@
       return;
    }
    snprintf(buf, sizeof(buf), "[%s] %s", who, level);
+   buf[sizeof(buf)-1] = 0;   
 
    va_start (arg, msg);
    vsnprintf(buf+strlen(buf), sizeof(buf)-strlen(buf), msg, arg);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]