diff options
author | 2009-07-11 19:09:24 +0000 | |
---|---|---|
committer | 2009-07-11 19:09:24 +0000 | |
commit | 54ef2226d63cdc72d91d12626e6904734ae0538a (patch) | |
tree | ebfec33bdcc57061cffd2f30f83f45901ef9351d /usr.bin/tmux/cmd-paste-buffer.c | |
parent | Nuke an '__inline' that upset clang. Multi-line function should not (diff) | |
download | wireguard-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