Open Bug 1561842 Opened 2 years ago Updated 2 years ago

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


(Core :: Internationalization, enhancement, P3)





(Reporter: hsivonen, Unassigned)


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


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.