Closed Bug 371412 Opened 18 years ago Closed 18 years ago

parseIPAddress should return early if canonicalNum returns an error

Categories

(Toolkit :: Safe Browsing, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 371409

People

(Reporter: bryner, Assigned: tony)

Details

When parsing an address like "1.2.3.00x0", parseIPAddress ignores the failure return from canonicalNum for the last octet, and returns a bogus IP address. It should fail immediately so that the hostname remains unchanged.
Merging with bug 371409.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.