Closed Bug 314308 Opened 19 years ago Closed 19 years ago

X crashes when URL entered into addressbar is too long

Categories

(Core :: Widget: Gtk, defect)

1.7 Branch
x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 167315

People

(Reporter: di00dad, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051003 Firefox/1.0.7
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051003 Firefox/1.0.7

On my computer I accedentally pasted a very long string containing just uppercase A's (don't think this matters) into the location bar, this resulted in that X crashed. I do not, as of yet, know why this happened. But it seems like Firefox is doing something it shouldn't be doing. The page I have accompanied the with this report crasches my X right after I have clicked the Ok button on the alert dialog. Don't know if this bug affects windows users aswell, but it seems like it could be the case.

Reproducible: Always

Steps to Reproduce:
1. Enter a very long string into the address field, in my case 40 000 characters seems to suffice.

Actual Results:  
Well as explained in the summary X crashes

Expected Results:  
Well, I should have expected firefox to do something other than crashing. Perhaps alert the user that this URL seems horribly wrong.

Since X crashed I have no idea why it crashed. It seems my friends firefox 1.5-b2 is not affected. I'm currently using gentoo, and here are my versions of software that might be associated with this bug:

x11-base/xorg-x11-6.8.2-r4 -debug -gnome +ipv6 +java -mozcalendar -mozdevelop -moznoxft -mozsvg +truetype -xinerama -xprint
www-client/mozilla-firefox-1.0.7-r3 -debug -gnome +ipv6 +java -mozcalendar -mozdevelop -moznoxft -mozsvg +truetype -xinerama -xprint
Component: Location Bar and Autocomplete → Widget: Gtk
Product: Firefox → Core
QA Contact: location.bar → gtk
Version: unspecified → 1.7 Branch
Dupe of bug 167315? because of the default "I'm feeling lucky" search I get a Google page with the very long string (the search term) as the title.

*** This bug has been marked as a duplicate of 167315 ***
Group: security
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.