Closed Bug 1656357 Opened 4 years ago Closed 4 years ago

don't require flat strings in nsMediaFragmentURIParser

Categories

(Core :: Networking, defect)

defect

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

Details

Attachments

(1 file)

We flatten substrings needlessly when calling ToInteger and we shouldn't have to.

ToInteger doesn't require a null-terminated buffer, so there's no need
to flatten the string prior to extracting the integer therein.

Assignee: nobody → nfroyd
Status: NEW → ASSIGNED
Pushed by nfroyd@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/33d3c1f392cc don't require flat strings in nsMediaFragmentURIParser; r=necko-reviewers,valentin
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: