The case for integer overflow checks?

Kagamin spam at here.lot
Wed Sep 20 10:01:14 UTC 2017


On Monday, 18 September 2017 at 17:46:52 UTC, Ola Fosheim Grøstad 
wrote:
> No, I don't believe they do, as unsigned integers are modular 
> in C/C++.

So you can't check third party code because it pervasively uses 
unsigned integers for lengths, sizes and everything else, obvious 
example: 
https://fossies.org/dox/libpng-1.6.32/structpng__info__def.html


More information about the Digitalmars-d mailing list