News for hackers. Stuff that matters.
Re:Undefined behavior in C is a reading error by barrkel on Thursday May 20, 2021 @08:06PM (#27229030)
Triggering signed overflow and testing whether it has occurred was how I protected the Delphi RTL memory allocation routines from signed overflow attacks, attacks which if not prevented, lead fairly directly to buffer overruns.

The code was written in Pascal and assembly, though, so it was safe from a C compiler.

Re:Undefined behavior in C is a reading error by pjmlp on Friday May 21, 2021 @04:02AM (#27231561)
I am quite thankfull that I learned systems programing via BASIC, Pascal and Assembly before coming to C.

As such my vision of low level coding isn't tainted by the ways of C.