summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-paste-buffer.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2009-07-11 19:09:24 +0000
committernicm <nicm@openbsd.org>2009-07-11 19:09:24 +0000
commit54ef2226d63cdc72d91d12626e6904734ae0538a (patch)
treeebfec33bdcc57061cffd2f30f83f45901ef9351d /usr.bin/tmux/cmd-paste-buffer.c
parentNuke an '__inline' that upset clang. Multi-line function should not (diff)
downloadwireguard-openbsd-54ef2226d63cdc72d91d12626e6904734ae0538a.tar.xz
wireguard-openbsd-54ef2226d63cdc72d91d12626e6904734ae0538a.zip
Copy was using the real line length which after resize can be larger than the
screen width. When built with -DDEBUG, this made the grid bounds checking code kill the server. Restrict copying to the actual width. From Kalle Olavi Niemitalo, thanks.
Diffstat (limited to 'usr.bin/tmux/cmd-paste-buffer.c')
0 files changed, 0 insertions, 0 deletions