httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r1490290 - /httpd/httpd/trunk/modules/lua/lua_passwd.c
Date Thu, 06 Jun 2013 14:03:28 GMT
Author: rpluem
Date: Thu Jun  6 14:03:28 2013
New Revision: 1490290

URL: http://svn.apache.org/r1490290
Log:
* truncpw was allocated from a pool and not via malloc

Modified:
    httpd/httpd/trunk/modules/lua/lua_passwd.c

Modified: httpd/httpd/trunk/modules/lua/lua_passwd.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/lua_passwd.c?rev=1490290&r1=1490289&r2=1490290&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/lua_passwd.c (original)
+++ httpd/httpd/trunk/modules/lua/lua_passwd.c Thu Jun  6 14:03:28 2013
@@ -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 */



Mime
View raw message