What is it for? ft_calloc(INT_MAX, INT_MAX) #47
Unanswered
AntOnioN77
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Context:
In the test for Calloc, you are checking that very large numbers are being handled. I can understand that, but I don't think it's INT_MAX a fortuitous choice. In fact, it fails me. Even though my function tries to protect with:
Beta Was this translation helpful? Give feedback.
All reactions