From d7e1523baf0ccfbc8cc5bbe4f6a0bee744f4ba3e Mon Sep 17 00:00:00 2001 From: doug Date: Sat, 23 Aug 2014 00:48:57 +0000 Subject: [PATCH] Fix double free in ike_auth.c ok jca@ --- sbin/isakmpd/ike_auth.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sbin/isakmpd/ike_auth.c b/sbin/isakmpd/ike_auth.c index 8aee7a564df..b009baf78ac 100644 --- a/sbin/isakmpd/ike_auth.c +++ b/sbin/isakmpd/ike_auth.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ike_auth.c,v 1.110 2007/04/16 13:01:39 moritz Exp $ */ +/* $OpenBSD: ike_auth.c,v 1.111 2014/08/23 00:48:57 doug Exp $ */ /* $EOM: ike_auth.c,v 1.59 2000/11/21 00:21:31 angelos Exp $ */ /* @@ -281,6 +281,8 @@ ignorekeynote: log_print("ike_auth_get_key: failed opening " "\"%s\"", keyfile); free(privkeyfile); + privkeyfile = NULL; + keyfile = NULL; } } -- 2.20.1