News for hackers. Stuff that matters.
Re:Could we make C arrays memory safe? Probably not, but let... by _dain_ on Saturday October 07, 2023 @03:40AM (#37799822)
>It is like going back to insisting you can and should be absolutely safe from HIV by making certain lifestyle choices. In the '80s we knew that the answer was being safer, not being safe.

This is a singularly bad analogy. HIV used to be a death sentence, but now we have effective treatments and prophylactics.

What's the PrEP equivalent for buffer overflows? There isn't one.

Re:Could we make C arrays memory safe? Probably not, but let... by stkdump on Saturday October 07, 2023 @03:49AM (#37799866)
Oh, there are lots of PrEP equivalents. For example NX. Or virtual memory more in general. Or static analysis. Etc etc. If you think the modern ecosystem is as memory bug prone as it was in the 80s, you are being incredibly naive.