2 ms·
Triggering signed overflow and testing whether it has occurred was how I protected the Delphi RTL memory allocation routines from signed overflow attacks, attac
by barrkel 5y ago
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.
- pjmlp 5y agoI 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.