[Not really OT] Crowdstrike Analysis: It was a NULL pointer from the memory unsafe C++ language.
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Sat Jul 27 18:33:18 UTC 2024
On 28/07/2024 6:17 AM, Walter Bright wrote:
> On 7/26/2024 8:23 PM, Elias (0xEAB) wrote:
>> <https://neugierig.org/software/blog/2022/06/wasm-c++.html>: “In Wasm
>> a null pointer just refers to memory[0] and it is a legal address to
>> read and write from.”
>
> Wow. A big mistake by Wasm.
Turns out that the proposal to rectify this is WIP:
https://github.com/WebAssembly/memory-control/blob/main/proposals/memory-control/Overview.md
Although nothing in there regarding the trapping itself, but does
mention one use case with protecting null.
More information about the Digitalmars-d
mailing list