Open Bug 1561842 Opened 2 years ago Updated 2 years ago

Make TextDecoder.decode read directly from SharedArrayBuffer in the UTF-8 case

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-8 to UTF-16 and UTF-8 to Latin1 conversions as well as Latin1 range check for UTF-8 that can read from shared memory in the presence of an adversarial second thread of execution without the result being a security bug and use that in decode without a memcpySafeWhenRacy in the case the buffer is a SharedArrayBuffer and the encoding is UTF-8.

Blocks: 1561843
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.