diff options
author | Andrei Karas <akaras@inbox.ru> | 2020-05-11 08:03:15 +0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-02-15 16:38:53 -0300 |
commit | b81fb99a8367ed18233116d35f6c9792134d462e (patch) | |
tree | 4026f2bca57fb6b341b2e072731b268e001d2db9 | |
parent | f7c843db8c43b9d689a431cc83f9d15d5623c09f (diff) | |
download | hercules-b81fb99a8367ed18233116d35f6c9792134d462e.tar.gz hercules-b81fb99a8367ed18233116d35f6c9792134d462e.tar.bz2 hercules-b81fb99a8367ed18233116d35f6c9792134d462e.tar.xz hercules-b81fb99a8367ed18233116d35f6c9792134d462e.zip |
Fix possible mail name in packet clif_rodex_checkname_result
-rw-r--r-- | src/map/clif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 1d4240350..ab8988837 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -22007,7 +22007,7 @@ static void clif_rodex_checkname_result(struct map_session_data *sd, int char_id sPacket->Class = class_; sPacket->BaseLevel = base_level; #if PACKETVER >= 20160316 - strncpy(sPacket->Name, name, NAME_LENGTH); + safestrncpy(sPacket->Name, name, NAME_LENGTH); #endif WFIFOSET(fd, sizeof(*sPacket)); #endif |