mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-22 18:02:20 +00:00
- dtucker@cvs.openbsd.org 2012/06/18 11:43:53
[jpake.c] correct sizeof usage. patch from saw at online.de, ok deraadt
This commit is contained in:
parent
2e7decfcc0
commit
276dcfd7f7
@ -28,6 +28,9 @@
|
||||
[mux.c]
|
||||
fix memory leak when mux socket creation fails; bz#2002 from bert.wesarg
|
||||
AT googlemail.com
|
||||
- dtucker@cvs.openbsd.org 2012/06/18 11:43:53
|
||||
[jpake.c]
|
||||
correct sizeof usage. patch from saw at online.de, ok deraadt
|
||||
|
||||
20120519
|
||||
- (dtucker) [configure.ac] bz#2010: fix non-portable shell construct. Patch
|
||||
|
4
jpake.c
4
jpake.c
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: jpake.c,v 1.6 2010/09/20 04:54:07 djm Exp $ */
|
||||
/* $OpenBSD: jpake.c,v 1.7 2012/06/18 11:43:53 dtucker Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2008 Damien Miller. All rights reserved.
|
||||
*
|
||||
@ -133,7 +133,7 @@ jpake_free(struct jpake_ctx *pctx)
|
||||
#undef JPAKE_BN_CLEAR_FREE
|
||||
#undef JPAKE_BUF_CLEAR_FREE
|
||||
|
||||
bzero(pctx, sizeof(pctx));
|
||||
bzero(pctx, sizeof(*pctx));
|
||||
xfree(pctx);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user