diff options
author | doug <doug@cvs.openbsd.org> | 2014-08-23 00:48:58 +0000 |
---|---|---|
committer | doug <doug@cvs.openbsd.org> | 2014-08-23 00:48:58 +0000 |
commit | 6a9e1732ae27d42f073684c9f68281b766425155 (patch) | |
tree | 8fd99a8ba839578ed5bf7a6af4d0944ec7288f41 /sbin/isakmpd | |
parent | a8c7dda28b5c7d65eb694c043c9adf66baaef1d2 (diff) |
Fix double free in ike_auth.c
ok jca@
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r-- | sbin/isakmpd/ike_auth.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; } } |