Skip to content
Commit d55e44b2 authored by Oleg Evseev's avatar Oleg Evseev Committed by Gregory Nutt
Browse files

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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment