malloc and buffer overflow attacks

Brian Callahan bcallah at
Mon Jan 3 20:31:28 UTC 2022

On Monday, 3 January 2022 at 01:29:14 UTC, Era Scarecrow wrote:
>  mhmm.. i think we need a helper function, which is 
> malloc(size, count) much like calloc, the test/protections are 
> done in the helper.

This is exactly what reallocarray does.

More information about the Digitalmars-d mailing list