summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--jpake.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 72a50c729..32eb1dfce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -28,6 +28,9 @@
28 [mux.c] 28 [mux.c]
29 fix memory leak when mux socket creation fails; bz#2002 from bert.wesarg 29 fix memory leak when mux socket creation fails; bz#2002 from bert.wesarg
30 AT googlemail.com 30 AT googlemail.com
31 - dtucker@cvs.openbsd.org 2012/06/18 11:43:53
32 [jpake.c]
33 correct sizeof usage. patch from saw at online.de, ok deraadt
31 34
3220120519 3520120519
33 - (dtucker) [configure.ac] bz#2010: fix non-portable shell construct. Patch 36 - (dtucker) [configure.ac] bz#2010: fix non-portable shell construct. Patch
diff --git a/jpake.c b/jpake.c
index ac9a4bc34..b010dafaa 100644
--- a/jpake.c
+++ b/jpake.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: jpake.c,v 1.6 2010/09/20 04:54:07 djm Exp $ */ 1/* $OpenBSD: jpake.c,v 1.7 2012/06/18 11:43:53 dtucker Exp $ */
2/* 2/*
3 * Copyright (c) 2008 Damien Miller. All rights reserved. 3 * Copyright (c) 2008 Damien Miller. All rights reserved.
4 * 4 *
@@ -133,7 +133,7 @@ jpake_free(struct jpake_ctx *pctx)
133#undef JPAKE_BN_CLEAR_FREE 133#undef JPAKE_BN_CLEAR_FREE
134#undef JPAKE_BUF_CLEAR_FREE 134#undef JPAKE_BUF_CLEAR_FREE
135 135
136 bzero(pctx, sizeof(pctx)); 136 bzero(pctx, sizeof(*pctx));
137 xfree(pctx); 137 xfree(pctx);
138} 138}
139 139