Replace reallocarray with safe_perealloc (#9593)

This commit is contained in:
Ilija Tovilo 2022-09-22 14:55:41 +02:00 committed by GitHub
parent 49499c512e
commit b61c81c949
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 50 deletions

View file

@ -179,14 +179,6 @@ END_EXTERN_C()
#define explicit_bzero php_explicit_bzero
#endif
#ifndef HAVE_REALLOCARRAY
BEGIN_EXTERN_C()
PHPAPI void* php_reallocarray(void *p, size_t nmb, size_t siz);
END_EXTERN_C()
#undef reallocarray
#define reallocarray php_reallocarray
#endif
BEGIN_EXTERN_C()
PHPAPI int php_safe_bcmp(const zend_string *a, const zend_string *b);
END_EXTERN_C()