diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-08-09 22:51:09 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-08-09 22:51:09 +0000 |
commit | 062bb737de06c3906b4b4a07c7fc0fb286287efe (patch) | |
tree | 641e2d7f18cfcd1c70b0e651f55f671c12d932ce /src/network/getservbyname_r.c | |
parent | c3761622e8168b0c6453637ac82e70b09af3e8e9 (diff) | |
download | musl-062bb737de06c3906b4b4a07c7fc0fb286287efe.tar.gz musl-062bb737de06c3906b4b4a07c7fc0fb286287efe.tar.xz musl-062bb737de06c3906b4b4a07c7fc0fb286287efe.zip |
fix failure of tempnam to null-terminate result
tempnam uses an uninitialized buffer which is filled using memcpy and __randname. It is therefore necessary to explicitly null-terminate it. based on patch by Felix Janda.
Diffstat (limited to 'src/network/getservbyname_r.c')
0 files changed, 0 insertions, 0 deletions