[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:15:15 UTC 2024


On 7/19/2024 4:33 PM, H. S. Teoh wrote:
> In other news, this is yet another nail in the coffin of memory-unsafe
> languages. We're slowly, but surely inching towards the day when the
> likes of C and C++ will finally be relegated to the dustbin of
> history...

It wasn't a memory unsafe error. It was a failure to deal with a program that 
self-detected a fault and exited.

There are many kinds of hardware exceptions. The default behavior of them is to 
exit the program. The default behavior can be overridden with a handler that can 
then do whatever the programmer needs to happen (like restart, or engage the 
backup, or shut down gracefully).

It's not different than failing to catch a thrown C++ exception - the default is 
exit the program.



More information about the Digitalmars-d mailing list