httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guenter Knauf <fua...@apache.org>
Subject Re: svn commit: r1490290 - /httpd/httpd/trunk/modules/lua/lua_passwd.c
Date Thu, 06 Jun 2013 15:54:50 GMT
Hi Rüdiger,
On 06.06.2013 16:03, rpluem@apache.org wrote:
> 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 */

doesnt the same then also apply to ./support/passwd_common.c line 241 ?

Gün.




Mime
View raw message