commit | dccbf4c809efc311aa37da71de70d04dfd8b0db3 | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Sat Oct 04 11:14:01 2014 -0400 |
committer | Rich Felker <dalias@aerifal.cx> | Sat Oct 04 11:14:01 2014 -0400 |
tree | e2651ba2140ab3d6b0a3b07e2d5f75df29cccfbb | |
parent | 05cef96d9e63a00b319f88343cf9869c8e612843 [diff] |
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.