[Not really OT] Crowdstrike Analysis: It was a NULL pointer from the memory unsafe C++ language.
Walter Bright
newshound2 at digitalmars.com
Sun Jul 21 17:18:37 UTC 2024
On 7/20/2024 4:37 AM, Basile B. wrote:
> There's gonna be a lot of discussion about "use optional types", "nullable types
> are the evil", etc. In my opinion the problem is more a lack of code
> instrumentation. In styx you can instrument the code so that 'every fucking damn
> GEP' ("member access" for the profans) is checked against null. Same for member
> functions calls. It's very costly but that helps much.
What happens, then, with optional types and you've got an unexpected null that
the program was not designed for?
Probably exit the program.
The same thing that an uncaught null exception does. You can write an exception
handler to intercept them, and do whatever you want.
More information about the Digitalmars-d
mailing list