diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-10-04 11:14:01 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-10-04 11:14:01 -0400 |
commit | dccbf4c809efc311aa37da71de70d04dfd8b0db3 (patch) | |
tree | e2651ba2140ab3d6b0a3b07e2d5f75df29cccfbb /src/env/putenv.c | |
parent | 05cef96d9e63a00b319f88343cf9869c8e612843 (diff) | |
download | musl-dccbf4c809efc311aa37da71de70d04dfd8b0db3.tar.gz |
fix handling of odd lengths in swab function
this function is specified to leave the last byte with "unspecified
disposition" when the length is odd, so for the most part correct
programs should not be calling swab with odd lengths. however, doing
so is permitted, and should not write past the end of the destination
buffer.
Diffstat (limited to 'src/env/putenv.c')
0 files changed, 0 insertions, 0 deletions