[Type] Bugfix
[Module] Skin
[Priority] Minor
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
Change-Id: I89c64424b132348afeba8a3cb15b84f74aae01a9
char hax_error[HAX_LEN];
memset( hax_error, 0, HAX_LEN );
- int hax_err_len = sprintf( hax_error + hax_err_len, "%s", "hax_error=" );
+ int hax_err_len = 0;
+ hax_err_len = sprintf( hax_error + hax_err_len, "%s", "hax_error=" );
int error = 0;
if ( !ret_hax_init ) {
}
#ifdef _WIN32
- sprintf( info_data + total_len, "%s", hax_error );
+ snprintf( info_data + total_len, hax_err_len, "%s", hax_error );
total_len += hax_err_len;
#endif