Bug 153555 - copy of end-of-line does buffer overrun.
Summary: copy of end-of-line does buffer overrun.
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.9.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-06 12:58 UTC by Thomas Zander
Modified: 2008-01-05 19:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Zander 2007-12-06 12:58:31 UTC
Version:           1.9.2 (using KDE 3.97.00 (KDE 4.0 RC2), compiled sources)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.22-10-generic

To reproduce;

* select a long line of text. (one line is enough)
* select a short line of text, with a line-feed at the end. Be sure to select various blanks as well.
* paste.

I expect the paste to be the short line of text, stopping at the linefeed.
What I see is the short line of text, a space and then the last part of the long line of text I selected.
Comment 1 Robert Knight 2008-01-05 19:15:58 UTC
I believe this is a duplicate of http://bugs.kde.org/show_bug.cgi?id=155153.  I couldn't reproduce with the latest Konsole (trunk/ or branches/KDE/4.0 with the aforementioned fix) so I will mark as fixed.