diff options
author | 2005-05-27 04:48:48 +0000 | |
---|---|---|
committer | 2005-05-27 04:48:48 +0000 | |
commit | cb4564e582d4d7f3e25e4c359ec8935dc96ce373 (patch) | |
tree | f4c0e9a703cc82911739ae73b1cb4309d478dbd6 | |
parent | guarantee nul-termination in the monitor, we must. ok cloder@ hshoexer@ (diff) | |
download | wireguard-openbsd-cb4564e582d4d7f3e25e4c359ec8935dc96ce373.tar.xz wireguard-openbsd-cb4564e582d4d7f3e25e4c359ec8935dc96ce373.zip |
Fix a access after free on shutdown. OK norby@
-rw-r--r-- | usr.sbin/ospfd/ospfe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/ospfe.c b/usr.sbin/ospfd/ospfe.c index 6a73ace5df4..092c7c261a7 100644 --- a/usr.sbin/ospfd/ospfe.c +++ b/usr.sbin/ospfd/ospfe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfe.c,v 1.27 2005/05/27 02:37:39 norby Exp $ */ +/* $OpenBSD: ospfe.c,v 1.28 2005/05/27 04:48:48 claudio Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -202,8 +202,8 @@ ospfe_shutdown(void) iface->name); } } - area_del(area); } + area_del(area); } /* clean up */ |