[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src network_worker.cpp
From: |
Guillaume Melquiond |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src network_worker.cpp |
Date: |
Sat, 26 Mar 2005 10:51:06 -0500 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Guillaume Melquiond <address@hidden> 05/03/26 15:51:05
Modified files:
src : network_worker.cpp
Log message:
Accessing the size of a buffer after having destroyed it is plain bad.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/network_worker.cpp.diff?tr1=1.25&tr2=1.26&r1=text&r2=text
Patches:
Index: wesnoth/src/network_worker.cpp
diff -u wesnoth/src/network_worker.cpp:1.25 wesnoth/src/network_worker.cpp:1.26
--- wesnoth/src/network_worker.cpp:1.25 Thu Mar 24 08:31:09 2005
+++ wesnoth/src/network_worker.cpp Sat Mar 26 15:51:05 2005
@@ -164,8 +164,6 @@
delete sent_buf;
sent_buf = NULL;
-
- LOG_NW << "thread sent " << v.size() << " bytes of
data...\n";
} else {
result = receive_buf(sock,buf);
}