Fix sscanf character conversion (%c): do not add '\0' at the end as for...
Fix sscanf character conversion (%c): do not add '\0' at the end as for strings, cause, for example, parsing one character will fill two bytes: character itself and zero one '\0' after it, so will overflow one byte variable argument and corrupt memory for variables allocated after it.
parent
34bae015
Please register or sign in to comment