about summary refs log tree commit diff
path: root/src/env/putenv.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-09-04 21:40:42 -0400
committerRich Felker <dalias@aerifal.cx>2011-09-04 21:40:42 -0400
commite72ee5786b1f328da131b87388333c2e3a09b7b3 (patch)
treeb50b10ec6edb5fad79386c1cdb6b249a91ba69a3 /src/env/putenv.c
parenta7778dae226fbae335383bc92b6cdfccc5ea9f2e (diff)
downloadmusl-e72ee5786b1f328da131b87388333c2e3a09b7b3.tar.gz
musl-e72ee5786b1f328da131b87388333c2e3a09b7b3.tar.xz
musl-e72ee5786b1f328da131b87388333c2e3a09b7b3.zip
fix some fmemopen behaviors
read should not be allowed past "current size".
append mode should write at "current size", not buffer size.
null termination should not be written except when "current size" grows.
Diffstat (limited to 'src/env/putenv.c')
0 files changed, 0 insertions, 0 deletions