23 if(
a <= 0 || b <= 0) {
24 gd_error(
"One parameter to a memory allocation multiplication is negative or zero, failing operation gracefully\n");
28 gd_error(
"Product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully\n");
int overflow2(int a, int b)
void gd_error(const char *format,...)