diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-09-04 21:53:20 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-09-04 21:53:20 -0400 |
commit | d2e061a2bd3f7674cfef2e2217e0695419041b5e (patch) | |
tree | 282e26dcafdfcae964a892f27bcba9e529b3da6b /src/stdio/clearerr.c | |
parent | e72ee5786b1f328da131b87388333c2e3a09b7b3 (diff) | |
download | musl-d2e061a2bd3f7674cfef2e2217e0695419041b5e.tar.gz musl-d2e061a2bd3f7674cfef2e2217e0695419041b5e.tar.xz musl-d2e061a2bd3f7674cfef2e2217e0695419041b5e.zip |
more fmemopen null termination fixes
null termination is only added when current size grows. in update modes, null termination is not added if it does not fit (i.e. it is not allowed to clobber data). these rules make very little sense, but that's how it goes..
Diffstat (limited to 'src/stdio/clearerr.c')
0 files changed, 0 insertions, 0 deletions