diff options
author | Rich Felker <dalias@aerifal.cx> | 2020-04-24 10:35:01 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2020-04-24 10:39:17 -0400 |
commit | f3ecdc1043f44468b2db794b259c5f66737f6f84 (patch) | |
tree | 0a0487d6907041d437b6a64fea9e70338b17b71b /arch/sh/bits/hwcap.h | |
parent | 043c6e31d9135c27875a1ccb4c0f1638f0170e77 (diff) | |
download | musl-f3ecdc1043f44468b2db794b259c5f66737f6f84.tar.gz musl-f3ecdc1043f44468b2db794b259c5f66737f6f84.tar.xz musl-f3ecdc1043f44468b2db794b259c5f66737f6f84.zip |
fix undefined behavior in wcsto[ld] family functions
analogous to commit b287cd745c2243f8e5114331763a5a9813b5f6ee but for the custom FILE stream type the wcstol and wcstod family use. __toread could be used here as well, but there's a simple direct fix to make the buffer pointers initially valid for subtraction, so just do that to avoid pulling in stdio exit code in programs that don't use stdio.
Diffstat (limited to 'arch/sh/bits/hwcap.h')
0 files changed, 0 insertions, 0 deletions