aboutsummaryrefslogtreecommitdiff
path: root/cmd-bind-key.c
diff options
context:
space:
mode:
authornicm <nicm>2015-04-07 13:06:22 +0000
committernicm <nicm>2015-04-07 13:06:22 +0000
commit6920be311b276277ad7c38a96ccca4746b94bd95 (patch)
tree548a3c7fec74796d1736e47bf6b4944f94e4f816 /cmd-bind-key.c
parent3aa72b42b2a317b0ae531219d269f2a636d6482a (diff)
downloadrtmux-6920be311b276277ad7c38a96ccca4746b94bd95.tar.gz
rtmux-6920be311b276277ad7c38a96ccca4746b94bd95.tar.bz2
rtmux-6920be311b276277ad7c38a96ccca4746b94bd95.zip
When replacing, don't free the old paste until after the new one's name
has been copied. Fixes a use-after-free in window-copy.c. Bug reported by J Raynor (who also provided a different fix).
Diffstat (limited to 'cmd-bind-key.c')
0 files changed, 0 insertions, 0 deletions