Open Bug 1561840 Opened 2 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
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.