Closed Bug 119247 Opened 24 years ago Closed 24 years ago

copy on select doesn't terminate string

Categories

(Core :: DOM: Selection, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: rms, Assigned: mjudge)

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7+) Gecko/20020109 BuildID: 20020109 When you select some text, in unix, text get's into the primary buffer. Currently, pasting the contents of the primary buffer anywhere reveals that more than what was selected got into the buffer. Lot's of weird characters. I would suspect the some string is no longer null terminated... this can be a serious security bug if selection uses some class used somewhere else where this may cause a problem bigger than on selection. Reproducible: Always Steps to Reproduce: 1. select an average sized portion of text (for instance, go to http://www.mozilla.org and select the full text of the Status Update section). 2. go to someplace you can paste, and click on the middle mouse button Actual Results: The selected text is pasted, however, lot's of weird stuff is also pasted. Expected Results: Pasting of _only_ the selected text This has been happening in recent builds, but did not happen prior to some post 0.9.7 nightlies (I'm sorry, but I can't specify from which one onwards).
worksforme, PC linux build 2002-01-07-06
Works for me too. build 2002041711.
and another WORKSFORME... Reporter (Rui M. Silva Seabra) can you check to see whether this bug is still present in a recent build (Moz1-RC1 or a new nightly build). If this bug does not occur please can you resolve it worksforme. Thanks.
Tested with build 2002042007 and WFM. I've been using galeon recently (which uses gecko underneath) since mozilla's 0.9.8 and currently 0.9.9 (which also do not reflect this bug -- which I didn't even remember having reported it anymore) so I can consider this bug as WFM. Thank you lizzards!
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.