summaryrefslogtreecommitdiff
path: root/src/temp/mktemp.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-02-20 22:58:46 -0500
committerRich Felker <dalias@aerifal.cx>2013-02-20 22:58:46 -0500
commit8d2f8064aa3d2cc7380c447dfbd8929543f36f51 (patch)
treecb24d2ba08c2eed9f8dd8f38c8c9d265d34ae9eb /src/temp/mktemp.c
parent3b00675bf51aef47705d8845de24dec8c6063078 (diff)
downloadmusl-8d2f8064aa3d2cc7380c447dfbd8929543f36f51.tar.gz
fix error cases in mkostemps core
1. wrong return value and missing errno for negative suffix len 2. failure to catch suffix len > strlen 3. remove unwanted clearing of input string in invalid case
Diffstat (limited to 'src/temp/mktemp.c')
0 files changed, 0 insertions, 0 deletions