diff options
| author | Rich Felker <dalias@aerifal.cx> | 2026-05-05 19:49:32 -0400 |
|---|---|---|
| committer | Rich Felker <dalias@aerifal.cx> | 2026-05-05 19:49:32 -0400 |
| commit | bb4b4102461acfbf77da759ca3a6deb555f3da3b (patch) | |
| tree | 99868278002504cb10195c19a4b3af1e12a55ea7 /src/malloc | |
| parent | 9086784bf2d883b68dabf78a68164e3c71cff206 (diff) | |
| download | musl-bb4b4102461acfbf77da759ca3a6deb555f3da3b.tar.gz | |
fix fmemopen write-mode streams clobbering final byte with null
commit d2e061a2bd3f7674cfef2e2217e0695419041b5e wrongly added this
case based on a misreading of the standard text regarding null
termination in write/update modes. apparently, the condition "if it
fits" was interpreted as only applying to update modes, despite the
words "or for writing only" appearing.
Diffstat (limited to 'src/malloc')
0 files changed, 0 insertions, 0 deletions
