CVE database proves that those kind of errors keep coming up in 2024, regardless of those changes.
Not only do they keep coming up, the monetary cost of fixing those issues has raised up to a level that now even governments are looking into this.
There are more slaves in the world now than ever before in history, but global society has still made great progress on eliminating it in the last thousand years.
Not that it matters, but isn't that technically ANSI C(89)? If I remember correctly, the first ISO C standard is instead C90, which is basically identical to C89.
I could not find an open-source static analyzer (including -analyzer) that would actually pick up the flaw before someone tries to exploit it.
And that's a simple example.
We can't tame the dragon C is, empirically nobody can.