simdutf8 icon indicating copy to clipboard operation
simdutf8 copied to clipboard

Fix Undefined Behavior in WebAssembly SIMD128

Open CryZe opened this issue 1 year ago • 1 comments

The pointer is actually unaligned, so this needs to be an unaligned read as otherwise UB gets invoked. A debug build nowadays panics here to detect the UB.

CryZe avatar Feb 05 '24 20:02 CryZe

The build failures seem to just be timeouts / unrelated to my code.

CryZe avatar Feb 05 '24 20:02 CryZe

@CryZe, thanks for this and apologies for long wait.

hkratz avatar May 13 '24 14:05 hkratz

Thank you a lot. While you are here, can you also release a patch version with this?

CryZe avatar May 13 '24 14:05 CryZe

Thank you a lot. While you are here, can you also release a patch version with this?

I plan to do a new release shortly.

hkratz avatar May 13 '24 17:05 hkratz

Nice, that sounds good.

CryZe avatar May 13 '24 17:05 CryZe