The case for integer overflow checks?

Guillaume Piolat via Digitalmars-d digitalmars-d at puremagic.com
Fri Sep 15 19:52:23 UTC 2017


Point taken about proper allocator with returned size. It's 
indeed a minority of cases in regular D.

On Friday, 15 September 2017 at 16:39:46 UTC, Kagamin wrote:
>
> It's not because nobody knows about buffer overflows. C leaves 
> the task on the programmer, and the task is too huge for manual 
> labor without help from the language, ecosystem and coding 
> practices, of course nobody does it.

I was wondering because some image libraries do use malloc(), for 
the decreased memory usage and possibility of false positives.


More information about the Digitalmars-d mailing list