Open Bug 1561840 Opened 5 years ago Updated 2 years ago

Make TextEncoder.encodeInto write directly into SharedArrayBuffer

Categories

(Core :: Internationalization, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: hsivonen, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Develop versions of UTF-16 to UTF-8 and Latin1 to UTF-8 conversions that can write into shared memory in the presence of an adversarial second thread of execution without the result being a security bug and use that in encodeInto without a memcpySafeWhenRacy in the case the buffer is a SharedArrayBuffer.

Type: defect → enhancement
Blocks: 1561843
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.