about summary refs log tree commit diff
path: root/src/stdlib
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-10-04 11:14:01 -0400
committerRich Felker <dalias@aerifal.cx>2014-10-04 11:14:01 -0400
commitdccbf4c809efc311aa37da71de70d04dfd8b0db3 (patch)
treee2651ba2140ab3d6b0a3b07e2d5f75df29cccfbb /src/stdlib
parent05cef96d9e63a00b319f88343cf9869c8e612843 (diff)
downloadmusl-dccbf4c809efc311aa37da71de70d04dfd8b0db3.tar.gz
musl-dccbf4c809efc311aa37da71de70d04dfd8b0db3.tar.xz
musl-dccbf4c809efc311aa37da71de70d04dfd8b0db3.zip
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/stdlib')
0 files changed, 0 insertions, 0 deletions