Signed-off-by: sisungo <[email protected]>
@@ -0,0 +1,9 @@
#include <stdlib.h>
static inline void *reallocarray(void *p, size_t n, size_t size) {
if (n && size > (size_t)-1 / n) {
errno = ENOMEM;
return NULL;
}
return realloc(p, n * size);
The note is not visible to the blocked user.