mallocs with size overflow checking
| 1072 | !defined(STBI_NO_HDR) |
| 1073 | // mallocs with size overflow checking |
| 1074 | static void* stbi__malloc_mad2(int a, int b, int add) { |
| 1075 | if (!stbi__mad2sizes_valid(a, b, add)) |
| 1076 | return NULL; |
| 1077 | return stbi__malloc(a * b + add); |
| 1078 | } |
| 1079 | #endif |
| 1080 | |
| 1081 | static void* stbi__malloc_mad3(int a, int b, int c, int add) { |
no test coverage detected