Closed Bug 417233 Opened 16 years ago Closed 16 years ago

If you enter a really long address in the address bar, Firefox takes 100% of CPU and up to 800MB of RAM

Categories

(Firefox :: Address Bar, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 379390

People

(Reporter: julien, Unassigned)

References

()

Details

(Keywords: hang, memory-footprint, perf)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12

When you enter a really long address in the address bar, FF takes a lot of memory and CPU. I've not investigate, but this bug could be exploit to execute arbitrary code.
I've reproduce this bug on Windows XP and Mac OS Tiger.

Reproducible: Always

Steps to Reproduce:
1. Enter a long URL (as long as possible)
2. Validate
Otherwise browse to : http://bad-request.com/files/bugs/firefox.html
Actual Results:  
Firefox process takes 100% of CPU and takes a lot of memory (always growing).

Expected Results:  
FF should not allow that kind of long URL.

I'm not using any theme or special extension.
Group: security
Keywords: footprint, hang, perf
If you turn off the anti-phishing detection it's not too bad.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.