[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
Mon Jul 22 16:48:16 UTC 2024
On 23/07/2024 4:42 AM, Walter Bright wrote:
> On 7/21/2024 10:39 AM, Richard (Rikki) Andrew Cattermole wrote:
>> Unfortunately you cannot rely on using things like signal handlers to
>> throw an exception, as you may not own the thread let alone the
>> process to have one.
>>
>> Asserts/boundchecks/null deref these things cannot bring down the
>> process.
>>
>> This includes for web services too.
>>
>> Imagine trying to explain to somebody that they lost 100k in sales
>> because the web server they were connected to segfaulted out because
>> it was written in D and not in an application VM language like Java.
>> It would go down very well!
>
> D is a systems programming language, and you can write hardware
> exception signal handlers in it.
Indeed you can!
If you own the process, and own the thread.
If you do not own both, you cannot do this, which happens to be the
scenario I am talking about.
More information about the Digitalmars-d
mailing list