commit | 29ac832cb38f2193866a3fa5b14abc7537852eb4 | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicholas.marriott@gmail.com> | Thu Jul 02 16:23:54 2009 +0000 |
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | Thu Jul 02 16:23:54 2009 +0000 |
tree | 862827f88fa3204e0e8bc24d8a50b0b5cfe327de | |
parent | 85dac1e378ed398ff5f6fd861b9874ec2f9ad2f5 [diff] |
Fix two copy/paste bugs: forbid zero-length buffers to prevent a fatal error when trying to paste them, found by me, and miscalculation of the start/end causing random fatal errors when copying in copy-mode, reported by sthen.