nioev
nioev
> > And the following unreachable: > > > let b = new Uint8Array(10001); > > b[10001] = 0x0a; > > let payloadString = String.UTF8.decode(b.buffer); > > That's expected due...
> On a first glimpse, this seems to be missing checks (is it?). That's what I'm thinking as well.
> > When passing an invalid UTF8 string into String.UTF8.decode, I expect it to return an empty string or a string containing the bytes up to the invalid part. In...
Okay, so here are the things I learned: - It's easiest to crash if the buffer is allocated from the outside using __new - The following code always crashes for...