aboutsummaryrefslogtreecommitdiff
path: root/cmd-paste-buffer.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-07-11 19:09:24 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-07-11 19:09:24 +0000
commit289320a9b19e6be855756e54a545615026b099f8 (patch)
treefba59df66e8f052be9cf2718d156f7f706867c09 /cmd-paste-buffer.c
parent4cbbbddf22a74b7e3d13576641e650775880295c (diff)
downloadrtmux-289320a9b19e6be855756e54a545615026b099f8.tar.gz
rtmux-289320a9b19e6be855756e54a545615026b099f8.tar.bz2
rtmux-289320a9b19e6be855756e54a545615026b099f8.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 'cmd-paste-buffer.c')
0 files changed, 0 insertions, 0 deletions