mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
* truncpw was allocated from a pool and not via malloc
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1490290 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -138,7 +138,6 @@ int mk_password_hash(passwd_ctx *ctx)
|
||||
"characters by CRYPT algorithm.");
|
||||
}
|
||||
memset(truncpw, '\0', strlen(pw));
|
||||
free(truncpw);
|
||||
}
|
||||
break;
|
||||
#endif /* CRYPT_ALGO_SUPPORTED */
|
||||
|
Reference in New Issue
Block a user