[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdegames/katomic
From: Waldo Bastian <bastian () kde ! org>
Date: 2003-02-27 17:08:21
[Download RAW message or body]
CVS commit by waba:
strlcpy fix
M +2 -1 molek.cpp 1.24
--- kdegames/katomic/molek.cpp #1.23:1.24
@@ -13,4 +13,5 @@
// oder auch einfach bewegt wird
+#include <config.h>
#include "molek.moc"
@@ -67,5 +68,5 @@ void Molek::load (const KSimpleConfig& c
value = "";
- strcpy(current.conn, value.ascii());
+ strlcpy(current.conn, value.ascii(), sizeof(current.conn));
if (atoms.find(current) != atoms.end()) {
kdWarning() << "OOOPS" << endl;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic