Closed Bug 1488186 Opened 6 years ago Closed 6 years ago

Avoid writing past the logical length of a string in Base64URLEncode

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: hsivonen, Assigned: hsivonen)

References

Details

Attachments

(1 file)

Avoid the SetCapacity() + BeginWriting() pattern.
Comment on attachment 9006174 [details]
Bug 1488186 - Avoid writing past the logical length of a string in Base64URLEncode.

Nathan Froyd [:froydnj] has approved the revision.
Attachment #9006174 - Flags: review+
Pushed by hsivonen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a72616d73280
Avoid writing past the logical length of a string in Base64URLEncode. r=froydnj
https://hg.mozilla.org/mozilla-central/rev/a72616d73280
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: