mirror of https://git.musl-libc.org/git/musl
Browse Source
for conversion specifiers, alloc is always set when the specifier is parsed. however, if scanf stops due to mismatching literal text, either an uninitialized (if no conversions have been performed yet) or stale (from the previous conversion) of the flag will be used, possibly causing an invalid pointer to be passed to free when the function returns.rs-1.0
2 changed files with 4 additions and 0 deletions
Loading…
Reference in new issue