Jump to page: 1 29  
Page
Thread overview
[Not really OT] Crowdstrike Analysis: It was a NULL pointer from the memory unsafe C++ language.
Jul 19
mw
Jul 20
Hoet
Jul 20
claptrap
Jul 20
claptrap
Jul 20
ryuukk_
Jul 30
matheus
Jul 21
monkyyy
Jul 21
aberba
Jul 21
aberba
Jul 22
aberba
Jul 24
GrimMaple
Jul 20
Basile B.
Jul 21
Sergey
Jul 22
Ogi
Jul 23
Kagamin
Jul 24
Kagamin
Jul 24
Kagamin
Jul 24
Abdulhaq
Jul 25
Kagamin
Jul 25
kdevel
Jul 27
kdevel
dmd's optimizer detects intraprocedural cases of null dereferences
Jul 27
kdevel
Jul 27
kdevel
July 19

https://twitter.com/Perpetualmaniac/status/1814376668095754753?t=fAIwQeQpf0HJ9uh-gxqE9Q&s=19

Crowdstrike Analysis:

It was a NULL pointer from the memory unsafe C++ language.

Since I am a professional C++ programmer, let me decode this stack trace dump for you.

....

July 19
On Fri, Jul 19, 2024 at 10:49:23PM +0000, mw via Digitalmars-d wrote:
> https://twitter.com/Perpetualmaniac/status/1814376668095754753?t=fAIwQeQpf0HJ9uh-gxqE9Q&s=19
> 
> Crowdstrike Analysis:
> 
> It was a NULL pointer from the memory unsafe C++ language.
> 
> Since I am a professional C++ programmer, let me decode this stack trace dump for you.
[...]

It's 2024, and a NULL pointer brought down half the world's servers.

Just gives you *so* much confidence in technology. :-D

//

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...


T

-- 
If it's green, it's biology, If it stinks, it's chemistry, If it has numbers it's math, If it doesn't work, it's technology.
July 20
On Friday, 19 July 2024 at 23:33:44 UTC, H. S. Teoh wrote:
> On Fri, Jul 19, 2024 at 10:49:23PM +0000, mw via Digitalmars-d wrote:
>> https://twitter.com/Perpetualmaniac/status/1814376668095754753?t=fAIwQeQpf0HJ9uh-gxqE9Q&s=19
>> 
>> Crowdstrike Analysis:
>> 
>> It was a NULL pointer from the memory unsafe C++ language.
>> 
>> Since I am a professional C++ programmer, let me decode this stack trace dump for you.
> [...]
>
> It's 2024, and a NULL pointer brought down half the world's servers.
>
> Just gives you *so* much confidence in technology. :-D
>
> //
>
> 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...
>
>
> T

C is going to be around long after both you and I are gone. Languages can affect how thew ratio f new code is written and in which fields but by the very same token, the entire planet works quite so well on a day to day basis , powered by precisely C.. the fact Windows is used however, is a joke, and has been since  the last millenium but ah well. THAT one I believe can and will change before you and I are gone, however.,
July 20
On 20/07/2024 11:33 AM, H. S. Teoh wrote:
> On Fri, Jul 19, 2024 at 10:49:23PM +0000, mw via Digitalmars-d wrote:
>> https://twitter.com/Perpetualmaniac/status/1814376668095754753?t=fAIwQeQpf0HJ9uh-gxqE9Q&s=19
>>
>> Crowdstrike Analysis:
>>
>> It was a NULL pointer from the memory unsafe C++ language.
>>
>> Since I am a professional C++ programmer, let me decode this stack
>> trace dump for you.
> [...]
> 
> It's 2024, and a NULL pointer brought down half the world's servers.
> 
> Just gives you *so* much confidence in technology. :-D
> 
> //
> 
> 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...
> 
> 
> T

It is not if, but when will D be banned from being used in critical or long standing applications.

I really need to get this across to everyone, that its going to happen a lot sooner than you may be thinking.

We either get the DFA I'm building, something like it or we're toast in commercial usage.
July 20
On Friday, 19 July 2024 at 23:33:44 UTC, H. S. Teoh wrote:

> It's 2024, and a NULL pointer brought down half the world's servers.

...and the world didn't end.
July 20
On 20/07/2024 6:53 PM, Max Samukha wrote:
> On Friday, 19 July 2024 at 23:33:44 UTC, H. S. Teoh wrote:
> 
>> It's 2024, and a NULL pointer brought down half the world's servers.
> 
> ...and the world didn't end.

Your dismissal is far too early.

It affected hospitals, emergency dispatchers (911), not just financial systems.

Until a postmortem is done, there is no way to know that nobody was harmed.
July 20
On Saturday, 20 July 2024 at 05:58:19 UTC, Richard (Rikki) Andrew Cattermole wrote:
>>
>
> It is not if, but when will D be banned from being used in critical or long standing applications.

**Shrug**

Banned from a party it's not even invited too in the first place.
July 20
On 20/07/2024 9:03 PM, claptrap wrote:
> On Saturday, 20 July 2024 at 05:58:19 UTC, Richard (Rikki) Andrew Cattermole wrote:
>>>
>>
>> It is not if, but when will D be banned from being used in critical or long standing applications.
> 
> **Shrug**
> 
> Banned from a party it's not even invited too in the first place.

Oh that's funny.

We're not only invited, one of our biggest users of D does exactly this.

"The notable exception is the Weka Virtual File System (VFS) kernel driver, which provides the POSIX filesystem interface to applications.
Using the kernel driver provides significantly higher performance than what can be achieved using a FUSE user-space driver, and it
allows applications that require full POSIX compatibility to run on a shared storage system."

https://www.weka.io/wp-content/uploads/files/2017/12/Architectural_WhitePaper-W02R6WP201812-1.pdf
July 20
On Saturday, 20 July 2024 at 09:06:35 UTC, Richard (Rikki) Andrew Cattermole wrote:
> On 20/07/2024 9:03 PM, claptrap wrote:
>> On Saturday, 20 July 2024 at 05:58:19 UTC, Richard (Rikki) Andrew Cattermole wrote:
>>>>
>>>
>>> It is not if, but when will D be banned from being used in critical or long standing applications.
>> 
>> **Shrug**
>> 
>> Banned from a party it's not even invited too in the first place.
>
> Oh that's funny.
>
> We're not only invited, one of our biggest users of D does exactly this.

https://6sense.com/tech/data-science-and-machine-learning/weka-market-share

So Ds biggest example of being "at the party" has 0.03% market share.

My mate Dave was an extra in Sharknado, he watches the oscars at home with a 6 pack of cheap bear. Thats the party D is invited to.

;)



July 20

On Friday, 19 July 2024 at 22:49:23 UTC, mw wrote:

>

https://twitter.com/Perpetualmaniac/status/1814376668095754753?t=fAIwQeQpf0HJ9uh-gxqE9Q&s=19

Crowdstrike Analysis:

It was a NULL pointer from the memory unsafe C++ language.

Since I am a professional C++ programmer, let me decode this stack trace dump for you.

....

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.

Anyway here is the obligatory legendary video of the slap:

https://www.youtube.com/watch?v=bLHL75H_VEM

take care

B.

« First   ‹ Prev
1 2 3 4 5 6 7 8 9