diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-27 20:13:45 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-27 20:13:45 +0000 |
commit | fc342cc8deacdf826e343b1ce796b47bbd918f61 (patch) | |
tree | 56c6b33198313f112dc5b56a5bf14bb7e0a9fad5 /ChangeLog | |
parent | 10f77f010f8831368ab359074f6e0640961f3818 (diff) | |
download | mana-fc342cc8deacdf826e343b1ce796b47bbd918f61.tar.gz mana-fc342cc8deacdf826e343b1ce796b47bbd918f61.tar.bz2 mana-fc342cc8deacdf826e343b1ce796b47bbd918f61.tar.xz mana-fc342cc8deacdf826e343b1ce796b47bbd918f61.zip |
Fix the bug where sometimes the last entry in the npc list windows is missing.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |