From a78fd0468156dd789c57adffd5e64adbabdedcc3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 11 Jan 2002 11:26:31 +0000 Subject: fixed a crash in merge_aces() when we free curr_ace_outer we need to not try to use it again :) (This used to be commit 1c5e19a418136c0ae524e62a4907501212ebac3d) --- source3/smbd/posix_acls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index 765bd0f3b2..889408b631 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -318,6 +318,7 @@ static void merge_aces( canon_ace **pp_list_head ) DLIST_REMOVE(list_head, curr_ace_outer); SAFE_FREE(curr_ace_outer); + break; } } -- cgit