diff options
author | Rich Felker <dalias@aerifal.cx> | 2023-11-21 16:33:15 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2023-11-21 16:33:15 -0500 |
commit | f47a5d400b8ffa26cfc5b345dbff52fec94ac7f3 (patch) | |
tree | 0abf081fdc2cff27c4e32a77dad1985c937ec7f6 /src/math/x86_64 | |
parent | f314e133929b6379eccc632bef32eaebb66a7335 (diff) | |
download | musl-f47a5d400b8ffa26cfc5b345dbff52fec94ac7f3.tar.gz musl-f47a5d400b8ffa26cfc5b345dbff52fec94ac7f3.tar.xz musl-f47a5d400b8ffa26cfc5b345dbff52fec94ac7f3.zip |
strftime: don't attempt to parse field width without seeing a digit
strtoul will consume leading whitespace or sign characters, which are not valid in this context, thereby accepting invalid field specifiers. so, avoid calling it unless there is a number to parse as the width.
Diffstat (limited to 'src/math/x86_64')
0 files changed, 0 insertions, 0 deletions