Skip to content
Permalink
Browse files
Fix potential buffer overflow in http_response_writer_print_int
  • Loading branch information
bblough committed Aug 31, 2020
1 parent d7bca79 commit 8386b12338b162ada4144bd499d589c8f4a45571
Showing 1 changed file with 1 addition and 1 deletion.
@@ -149,7 +149,7 @@ axis2_http_response_writer_print_int(
const axutil_env_t * env,
int i)
{
axis2_char_t int_str[10];
axis2_char_t int_str[12];
sprintf(int_str, "%10d", i);
return axis2_http_response_writer_print_str(response_writer, env, int_str);
}

0 comments on commit 8386b12

Please sign in to comment.