summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-27 20:13:45 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-27 20:13:45 +0000
commitfc342cc8deacdf826e343b1ce796b47bbd918f61 (patch)
tree56c6b33198313f112dc5b56a5bf14bb7e0a9fad5 /ChangeLog
parent10f77f010f8831368ab359074f6e0640961f3818 (diff)
downloadmana-client-fc342cc8deacdf826e343b1ce796b47bbd918f61.tar.gz
mana-client-fc342cc8deacdf826e343b1ce796b47bbd918f61.tar.bz2
mana-client-fc342cc8deacdf826e343b1ce796b47bbd918f61.tar.xz
mana-client-fc342cc8deacdf826e343b1ce796b47bbd918f61.zip
Fix the bug where sometimes the last entry in the npc list windows is missing.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ca437178..af87bfa6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2005-08-27 Björn Steinbrink <B.Steinbrink@gmx.de>
-
+ * src/game.cpp, src/gui/npc.cpp, src/gui/npc.h: Fix the bug when
+ sometimes the last entry in npc list windows is missing. The network
+ buffer isn't reset to all zeros, thus we can't rely on the received
+ string to be nul-terminated, instead we have to use the length
+ parameter we receive from eAthena (and this way we're also safe
+ against buffer overflows, because we can use strncpy()).
* src/gui/window.cpp: Bail out early if there's no window container.
* src/engine.cpp, src/game.cpp, src/gui/stats.cpp, src/gui/stats.h,
src/gui/status.cpp, src/gui/status.h: Update the stats and status