Closed Bug 1488186 Opened Last year Closed Last year

Avoid writing past the logical length of a string in Base64URLEncode

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set

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: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.