Closed Bug 942802 Opened 11 years ago Closed 11 years ago

nsDocShell::SetForcedCharset should check its argument

Categories

(Core :: DOM: Navigation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla28

People

(Reporter: hsivonen, Assigned: hsivonen)

References

Details

(Keywords: addon-compat)

Attachments

(1 file)

nsDocShell::SetForcedCharset currently trusts its caller to pass a reasonable argument. Since arbitrary add-ons can supply the argument, it would be safer to actually check the argument to see that it doesn't violate assumptions inside Gecko.
Attachment #8338326 - Flags: review?(bugs) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: