summaryrefslogtreecommitdiff
path: root/arch/sh/bits/fcntl.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-10-04 11:14:01 -0400
committerRich Felker <dalias@aerifal.cx>2015-03-30 01:15:45 -0400
commit9882dc933dd7e3cc6bf645153778c7ef48032018 (patch)
treeddee47285c5e4bcc68350fc478cf4658bd338c56 /arch/sh/bits/fcntl.h
parent9f93f6d119387f915b8a26f8ab800abee2482373 (diff)
downloadmusl-9882dc933dd7e3cc6bf645153778c7ef48032018.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. (cherry picked from commit dccbf4c809efc311aa37da71de70d04dfd8b0db3)
Diffstat (limited to 'arch/sh/bits/fcntl.h')
0 files changed, 0 insertions, 0 deletions