Win2K hangs after pasting long text into <input type="text">

RESOLVED WORKSFORME

Status

()

--
critical
RESOLVED WORKSFORME
14 years ago
12 years ago

People

(Reporter: ksb, Assigned: dveditz)

Tracking

({hang})

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2

If in a input tag type="text" pasting to long text, first FF uses all free CPU
resources and looks like: http://www.stu3-14.id.lv/img/pic1.jpg or
http://www.stu3-14.id.lv/img/pic2.jpg (on both computers tested (Win2K SP4 + all
updates)). If pasting more, system hangs-up (total freeze)(only on one computer
tested). Maybe buffer overflow.

Reproducible: Always

Steps to Reproduce:
1.open page such as http://www.mozilla.org/
2.write some text in text input field (e.g. <input id="q" name="q" accesskey="s"
size="30" type="text">)
3.copy-paste that text (press Ctrl+V or Shift+Insert for some tome)

Actual Results:  
After 6000 - 7000 chars (1024 * 6[7]) - http://www.stu3-14.id.lv/img/pic1.jpg
After more - system hang-up on one of computers. On other - nothing other than
before.

Expected Results:  
Nothing or cut the text to normal length.

Updated

14 years ago
Severity: normal → critical
Keywords: hang
Summary: hang-up vhen pasting to long text in input type="text" → Win2K hangs after pasting long text into <input type="text">

Comment 1

14 years ago
Dup of bug 300421?

Updated

14 years ago
Blocks: 302294
(Assignee)

Updated

14 years ago
Group: security
(Reporter)

Comment 2

12 years ago
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

No more freeze, but ff consumes a lot more memory if paste a very long string 2M or more chars. Each additional 1M chars gives at least 20MB on memory usage.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.