diff options
author | Markus Ongyerth <ongy@ongy.net> | 2018-02-24 23:55:48 +0100 |
---|---|---|
committer | Markus Ongyerth <ongy@ongy.net> | 2018-02-24 23:55:48 +0100 |
commit | 8ab0073b49cbac51032c6a6ef0b2b38ca7f3b814 (patch) | |
tree | 068a72017921ca1dd27f9f09f01abf6268199f59 /include/rootston/server.h | |
parent | 69409ea3cb3bfba52df9ff35a9b58f6f1b3dc25e (diff) |
prevent screenshot from resuing template array
The template array given to mkstemp was declared static. This reused the
memory, which caused mkstemp to fail if backingfile is run more than
once, because the array no longer contained the template syntax
(which is forced to end in XXXXXX) but the previous file name.
Diffstat (limited to 'include/rootston/server.h')
0 files changed, 0 insertions, 0 deletions