aboutsummaryrefslogtreecommitdiff
path: root/ring-buffer.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-07-07 10:08:11 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-07-07 10:15:43 +0200
commit2a39201f65c97cf666c562c281defd8b8e2f8937 (patch)
tree272aa4bb940a1ebb34f2662ae94634f31d3c05cf /ring-buffer.c
parent5f9343595941f2103afad7eed66d4da2788de090 (diff)
downloadvis-2a39201f65c97cf666c562c281defd8b8e2f8937.tar.gz
vis-2a39201f65c97cf666c562c281defd8b8e2f8937.tar.xz
text: safer temporary file creation
Set umask before calling mkstemp. According to POSIX 2008 this is not necessary since the temporary file is guaranteed to be created with permission restricted to the current user. However this is more secure on non-conforming systems and safe as long as we do not use multiple threads. Fixes Coverity CID 101333.
Diffstat (limited to 'ring-buffer.c')
0 files changed, 0 insertions, 0 deletions