summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/window-buffer.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2020-12-02 16:52:30 +0000
committermpi <mpi@openbsd.org>2020-12-02 16:52:30 +0000
commit1ea95950577fdbc7fbbb66304fb651ff28065217 (patch)
tree4b563acea9fe42d07ef187c867d276ac37fb1c57 /usr.bin/tmux/window-buffer.c
parentThe skip steps must be set up for each attribute independently (diff)
downloadwireguard-openbsd-1ea95950577fdbc7fbbb66304fb651ff28065217.tar.xz
wireguard-openbsd-1ea95950577fdbc7fbbb66304fb651ff28065217.zip
Prevent a TOCTOU race in single_thread_set() by extending the scope of the lock.
Make sure `ps_single' is set only once by checking then updating it without releasing the lock. Analyzed by and ok claudio@
Diffstat (limited to 'usr.bin/tmux/window-buffer.c')
0 files changed, 0 insertions, 0 deletions