httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaillet...@apache.org
Subject svn commit: r1490507 - /httpd/httpd/trunk/support/passwd_common.c
Date Fri, 07 Jun 2013 04:41:45 GMT
Author: jailletc36
Date: Fri Jun  7 04:41:45 2013
New Revision: 1490507

URL: http://svn.apache.org/r1490507
Log:
Fix commit 1465115. 
truncpw was allocated from a pool and not via malloc

Modified:
    httpd/httpd/trunk/support/passwd_common.c

Modified: httpd/httpd/trunk/support/passwd_common.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/support/passwd_common.c?rev=1490507&r1=1490506&r2=1490507&view=diff
==============================================================================
--- httpd/httpd/trunk/support/passwd_common.c (original)
+++ httpd/httpd/trunk/support/passwd_common.c Fri Jun  7 04:41:45 2013
@@ -238,7 +238,6 @@ int mkhash(struct passwd_ctx *ctx)
                                 "characters by CRYPT algorithm." NL);
             }
             memset(truncpw, '\0', strlen(pw));
-            free(truncpw);
         }
         break;
 #endif /* CRYPT_ALGO_SUPPORTED */



Mime
View raw message