From 6a9e1732ae27d42f073684c9f68281b766425155 Mon Sep 17 00:00:00 2001 From: doug Date: Sat, 23 Aug 2014 00:48:58 +0000 Subject: Fix double free in ike_auth.c ok jca@ --- sbin/isakmpd/ike_auth.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sbin/isakmpd') 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; } } -- cgit v1.2.3