From 348044f12d5f683c8945e0eac642f2795050fb4e Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sat, 17 Jan 2015 17:43:18 -0200 Subject: Another ~10 Fixes Addressing out of bounds read/write, resource leaks. Special Thanks to 4144 and Haruna! Signed-off-by: shennetsind --- src/map/battleground.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/battleground.c') diff --git a/src/map/battleground.c b/src/map/battleground.c index eb9f605ad..ee241c5b8 100644 --- a/src/map/battleground.c +++ b/src/map/battleground.c @@ -793,7 +793,7 @@ enum BATTLEGROUNDS_QUEUE_ACK bg_canqueue(struct map_session_data *sd, struct bg_ count++; } if ( count < arena->min_team_players ) { - char response[100]; + char response[117]; if( count != sd->guild->connect_member && sd->guild->connect_member >= arena->min_team_players ) sprintf(response, "Can't apply: not enough members in your team/guild that have not entered the queue in individual mode, minimum is %d",arena->min_team_players); else -- cgit v1.2.3-60-g2f50