diff options
author | Haru <haru@dotalux.com> | 2017-08-11 02:23:57 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2017-08-11 02:23:57 +0200 |
commit | 37b1dcf5319e5de89edd41c083a27ef63ebce9da (patch) | |
tree | db522ed6fa975ae92b0314a419af69639064ed92 /src/map/intif.c | |
parent | 10c1e5e65348c5d257b23064c87dcfe83ff68973 (diff) | |
download | hercules-37b1dcf5319e5de89edd41c083a27ef63ebce9da.tar.gz hercules-37b1dcf5319e5de89edd41c083a27ef63ebce9da.tar.bz2 hercules-37b1dcf5319e5de89edd41c083a27ef63ebce9da.tar.xz hercules-37b1dcf5319e5de89edd41c083a27ef63ebce9da.zip |
Fix various issues detected by coverity in rodex-related code
Follow-up to 544da439e81ff78ec102b754e16b6cc0a28a6d0a
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/intif.c')
-rw-r--r-- | src/map/intif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/intif.c b/src/map/intif.c index de862b4dd..d4fa026a2 100644 --- a/src/map/intif.c +++ b/src/map/intif.c @@ -2607,7 +2607,7 @@ void intif_parse_RodexCheckName(int fd) } sd->rodex.tmp.receiver_id = target_char_id; - strncpy(sd->rodex.tmp.receiver_name, name, NAME_LENGTH); + safestrncpy(sd->rodex.tmp.receiver_name, name, NAME_LENGTH); clif->rodex_checkname_result(sd, target_char_id, target_class, target_level, name); } |