...
Modern implementations of the C standard library should check for wrap. If the calloc()
function implemented by the libraries used for a particular implementation properly handle handles unsigned integer wrapping on the multiplication of the arguments to calloc()
, that is sufficient to comply with this recommendation and no further action is required.
Noncompliant Code Example
...