commit | d2e061a2bd3f7674cfef2e2217e0695419041b5e | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Sun Sep 04 21:53:20 2011 -0400 |
committer | Rich Felker <dalias@aerifal.cx> | Sun Sep 04 21:53:20 2011 -0400 |
tree | 282e26dcafdfcae964a892f27bcba9e529b3da6b | |
parent | e72ee5786b1f328da131b87388333c2e3a09b7b3 [diff] |
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..