diff options
Diffstat (limited to 'ext/standard/php_crypt_r.c')
| -rw-r--r-- | ext/standard/php_crypt_r.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_crypt_r.c b/ext/standard/php_crypt_r.c index ea2ea74fbe..4f0c26acc8 100644 --- a/ext/standard/php_crypt_r.c +++ b/ext/standard/php_crypt_r.c @@ -364,7 +364,7 @@ char * php_md5_crypt_r(const char *pw, const char *salt, char *out)  		PHP_MD5Update(&ctx, final, (unsigned int)(pl > 16 ? 16 : pl));  	/* Don't leave anything around in vm they could use. */ -	memset(final, 0, sizeof(final)); +	ZEND_SECURE_ZERO(final, sizeof(final));  	/* Then something really weird... */  	for (i = pwl; i != 0; i >>= 1)  | 
