]> granicus.if.org Git - apache/commitdiff
* truncpw was allocated from a pool and not via malloc
authorRuediger Pluem <rpluem@apache.org>
Thu, 6 Jun 2013 14:03:28 +0000 (14:03 +0000)
committerRuediger Pluem <rpluem@apache.org>
Thu, 6 Jun 2013 14:03:28 +0000 (14:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1490290 13f79535-47bb-0310-9956-ffa450edef68

modules/lua/lua_passwd.c

index 567712b9d270ed9b6ba5bbac4f45d0b9d52a1bec..3bc667f061629c98d0e714ef10b689ba43975ef3 100644 (file)
@@ -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 */