summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-18 01:42:13 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-18 01:42:13 +0000
commitacfe0a48c02a34cee71d331a7b18434fd49a4841 (patch)
tree6db394efb200802d297a3627a2d1520d4b866ff3
parent61ad28ff5bdaa55357ec4a378da8e95d2a5873c9 (diff)
downloadhercules-acfe0a48c02a34cee71d331a7b18434fd49a4841.tar.gz
hercules-acfe0a48c02a34cee71d331a7b18434fd49a4841.tar.bz2
hercules-acfe0a48c02a34cee71d331a7b18434fd49a4841.tar.xz
hercules-acfe0a48c02a34cee71d331a7b18434fd49a4841.zip
Calculation error in clif_parse_Wis.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9254 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 8acf784d5..293242c41 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -9068,7 +9068,7 @@ void clif_parse_Wis(int fd, struct map_session_data *sd) { // S 0096 <len>.w <ni
// Prevent hacked packets like missing null terminator or wrong len specification. [Lance]
speclen = (unsigned int)RFIFOW(fd,2);
- scanlen = strlen((const char*)RFIFOP(fd,28)) + 28;
+ scanlen = strlen((const char*)RFIFOP(fd,28)) + 29;
if(scanlen != speclen){
ShowWarning("Hack on Whisper: %s (AID: %d)!\n", sd->status.name, sd->bl.id);