Closed
Bug 237155
Opened 21 years ago
Closed 21 years ago
Text within Input text boxes in firefox go invisible when 45,000 chars are entered; crash occurs later when machine runs out of memory
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 203964
People
(Reporter: akakrani, Assigned: bugzilla)
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; FunWebProducts-MyWay; DVD Owner; .NET CLR 1.1.4322)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
No text input fields in firefox have a number-of-character limit, So the user
may enter an infinetly huge string. This leads to unexpected behavior such as
the text going invisible at first and then later firefox crashes when the
system runs out of memory due to firefox constantly requiring memory to store
the huge-string.
Reproducible: Always
Steps to Reproduce:
1. Copy 5000 chars in the clipboard through Notepad or some text editor
2. Start Firefox
3. Keep inserting text from the clipboard into the address-bar till you have
45,000 characters (so, with 5000 chars in the clipboard, you need 9 pastes)
4. At this point the text becomes invisible
5. Continue pasting text into the addressbar (you may want to increase the
size of the data in the clipboard to 100,000) till your machine runs out of
memory and firefox crashes.
Actual Results:
By step4, the text in the input field became invisible.
On step5, when my test machine ran out of memory (256MB machine) firefox
crashed.
Expected Results:
Firefox should limit the number of characters that a user can enter into a
field. This would avoid unexpected behavior such as invisible text and
application crashes.
This behavior could be potentially harmful to the users in the following
possible cases:
1. The user imports bookmarks into firebird with huge strings; firebird tries
to parse those strings and display them in the textbox. This would cause
firefix to crash and the user would loose his\her data opened up in any
webpages.
2. The user visits a (rouge) website which changes the text in the address-
bar to a huge-string, this may also cause a crash and lead to data loss.
Reporter | ||
Updated•21 years ago
|
Summary: Test within Input text boxes in firefox go invisible when 45,000 chars are entered; crash occurs later when machine runs out of memory → Text within Input text boxes in firefox go invisible when 45,000 chars are entered; crash occurs later when machine runs out of memory
Comment 1•21 years ago
|
||
*** This bug has been marked as a duplicate of 203964 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•