diff options
author | epoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-06-06 18:14:05 +0000 |
---|---|---|
committer | epoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-06-06 18:14:05 +0000 |
commit | bf51609e227689a0c0c150fd878f3ea356a64319 (patch) | |
tree | ad3eecf916b17ef8482103898073bbf74832f76c /src | |
parent | 4ccb9c9d8792f298e76c30d77f111bb1ac9d2bd8 (diff) | |
download | hercules-bf51609e227689a0c0c150fd878f3ea356a64319.tar.gz hercules-bf51609e227689a0c0c150fd878f3ea356a64319.tar.bz2 hercules-bf51609e227689a0c0c150fd878f3ea356a64319.tar.xz hercules-bf51609e227689a0c0c150fd878f3ea356a64319.zip |
- Fixed a crash issue where sprintf was attempting to write outside of the bounds of an array
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16236 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-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 3ae2be6d5..20a35b044 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -11736,7 +11736,7 @@ void clif_parse_OpenVending(int fd, struct map_session_data* sd) } if( vending_checknearnpc(&sd->bl) ) { - char output[50]; + char output[150]; sprintf(output,"You're too close to a NPC, you must be at least %d cells away from any NPC.",battle_config.min_npc_vending_distance); clif_displaymessage(sd->fd, output); clif_skill_fail(sd, MC_VENDING, USESKILL_FAIL_LEVEL, 0); |