diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-09-29 02:52:33 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-09-29 02:52:33 -0400 |
commit | 23b8e3bc95620b0bd90a78ce0d926942c12b45da (patch) | |
tree | b4ef44467f7890cb88a56d939d2d19e6bd2c7643 /src/stdio/pclose.c | |
parent | 211264e46a2f1bc382a84435e904d1548de672b0 (diff) | |
download | musl-23b8e3bc95620b0bd90a78ce0d926942c12b45da.tar.gz musl-23b8e3bc95620b0bd90a78ce0d926942c12b45da.tar.xz musl-23b8e3bc95620b0bd90a78ce0d926942c12b45da.zip |
fix off-by-one error in getgrnam_r and getgrgid_r, clobbering gr_name
bug report and patch by Michael Forney. the terminating null pointer at the end of the gr_mem array was overwriting the beginning of the string data, causing the gr_name member to always be a zero-length string.
Diffstat (limited to 'src/stdio/pclose.c')
0 files changed, 0 insertions, 0 deletions