Fixed null termination on party chat for 2015-10 onwards
Fixed #1003 Fixed #992
This commit is contained in:
parent
61a48b9b0b
commit
98fedbdf09
@ -12763,6 +12763,10 @@ void clif_parse_PartyMessage(int fd, struct map_session_data* sd){
|
||||
char *name, *message;
|
||||
int namelen, messagelen;
|
||||
|
||||
#if PACKETVER >= 20151001
|
||||
textlen++;
|
||||
#endif
|
||||
|
||||
// validate packet and retrieve name and message
|
||||
if( !clif_process_message(sd, 0, &name, &namelen, &message, &messagelen) )
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user