News for hackers. Stuff that matters.
Re:Why Does Calloc Exist? by wruza on Sunday November 13, 2022 @04:25AM (#33581445)
If n != 0 and -1 cast to unsigned size_t divided by n is less than m. So that m times n would be bigger than size_t’s maximum value.

Edit: inverted meaning since check is for error, not for ok case.

There are no comments on this comment yet.