summaryrefslogtreecommitdiff
path: root/staging/cli.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-04-26 11:19:27 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-04-26 11:22:18 +0200
commita86e9fd6e1320fdd317b8cc604470afc8e709186 (patch)
treea502a3223acdb0d337bbeb0ea620559b2e8d475b /staging/cli.h
parent01a9a2a5a8c56ce8699616a608a28de4e537ff56 (diff)
cpp: Use mkstemps() to create unique temporary file
Use mkstemps() to safely create a unique temporary file instead of using rand() to manually create a (potentially unsafe) temporary filename. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'staging/cli.h')
0 files changed, 0 insertions, 0 deletions