Closed Bug 17250 Opened 25 years ago Closed 25 years ago

crash if native unix path entered in URL bar

Categories

(Core :: Networking, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 16897

People

(Reporter: alecf, Assigned: rpotts)

Details

Attachments

(1 file)

if I enter "/u/alecf/test1.html" in the URL bar, it crashes....

It crashes trying to dereference a null char* in nsDnsService::Lookup

it looks like it's trying to convert it to an HTTP URL, because the console says
(with the attached patch which prevents the crash)
Error: Can't load: http:///u/alecf/test1.html (80004005)

Patch attached - just return NS_ERROR_FAILURE if a null hostname is given.
if you give me an ok, I'll just check this patch in, r=gagan

I'm filing a seperate bug that native unix paths try to resolve to http URLs
Assignee: gagan → warren
this is the same /mnt problem that rick/warren were looking at... assiging to
warren for dup.
Assignee: warren → rpotts
Rick, did you fix this already? I can't find the dup.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 16897 ***
Status: RESOLVED → VERIFIED
Marking Verified as a dup.
Bulk move of all Necko (to be deleted component) bugs to new Networking

component.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: