News for hackers. Stuff that matters.
Re:The lost malloc() by NekkoDroid on Thursday November 05, 2026 @03:24AM (#50376600)
To be fair, that is a downstream effect of C's worst mistake (NUL terminated strings). Also, if every allocation you'd get is ptr+size you could just derive it by also copying the size.

Basically, the issue is C having unsized allocations and related not tracking string length.

There are no comments on this comment yet.