[PATCH] Fix sizeof in jpake_free()
Ángel González
keisial at gmail.com
Sat Jun 16 09:12:07 EST 2012
On 15/06/12 23:31, Sascha Wildner wrote:
> Sorry, patch is here:
>
> http://87.78.98.243/stuff/jpake_sizeof.diff
Well found. That should indeed be applied.
I think you should send it up to openssh at openssh.com
<mailto:openssh at openssh.com>. The portable version will pick it the
changes from there.
Regards
Below is the content of the referenced patch:
> Index: usr.bin/ssh/jpake.c
> ===================================================================
> RCS file: /home/obcvs/src/usr.bin/ssh/jpake.c,v
> retrieving revision 1.6
> diff -u -r1.6 jpake.c
> --- usr.bin/ssh/jpake.c 20 Sep 2010 04:54:07 -0000 1.6
> +++ usr.bin/ssh/jpake.c 15 Jun 2012 20:13:22 -0000
> @@ -131,7 +131,7 @@
> #undef JPAKE_BN_CLEAR_FREE
> #undef JPAKE_BUF_CLEAR_FREE
>
> - bzero(pctx, sizeof(pctx));
> + bzero(pctx, sizeof(*pctx));
> xfree(pctx);
> }
>
More information about the openssh-unix-dev
mailing list