diff options
author | 2005-09-28 20:48:00 +0000 | |
---|---|---|
committer | 2005-09-28 20:48:00 +0000 | |
commit | 3f1e23dae74537c9bbd9002e2ee3b8e5dd380078 (patch) | |
tree | 65ccd13c98ec0adbf8fc092d992a4a1f154668e7 | |
parent | - use proper function name in log message (diff) | |
download | wireguard-openbsd-3f1e23dae74537c9bbd9002e2ee3b8e5dd380078.tar.xz wireguard-openbsd-3f1e23dae74537c9bbd9002e2ee3b8e5dd380078.zip |
fix a use after free and let exit clean up instead. ok drahn@
-rw-r--r-- | libexec/ld.so/library_subr.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libexec/ld.so/library_subr.c b/libexec/ld.so/library_subr.c index 37bc24f55c6..1fe3c55d206 100644 --- a/libexec/ld.so/library_subr.c +++ b/libexec/ld.so/library_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: library_subr.c,v 1.12 2005/09/28 18:17:41 kurt Exp $ */ +/* $OpenBSD: library_subr.c,v 1.13 2005/09/28 20:48:00 kurt Exp $ */ /* * Copyright (c) 2002 Dale Rahn @@ -390,9 +390,6 @@ _dl_unload_dlopen(void) _dl_notify_unload_shlib(node->data); _dl_run_all_dtors(); } - - TAILQ_REMOVE(&_dlopened_child_list, node, next_sib); - _dl_free(node); } } |