diff options
author | Andrew Tridgell <tridge@samba.org> | 2002-01-11 11:26:31 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2002-01-11 11:26:31 +0000 |
commit | 1c5e19a418136c0ae524e62a4907501212ebac3d (patch) | |
tree | c00a890c60f95d708d5242fdcbe3efc3c0198a74 | |
parent | 116c0a0e3baa6a100a816f1ff2722782941ac3dc (diff) | |
download | samba-1c5e19a418136c0ae524e62a4907501212ebac3d.tar.gz samba-1c5e19a418136c0ae524e62a4907501212ebac3d.tar.xz samba-1c5e19a418136c0ae524e62a4907501212ebac3d.zip |
fixed a crash in merge_aces()
when we free curr_ace_outer we need to not try to use it again :)
-rw-r--r-- | source/smbd/posix_acls.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/smbd/posix_acls.c b/source/smbd/posix_acls.c index 765bd0f3b26..889408b6311 100644 --- a/source/smbd/posix_acls.c +++ b/source/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; } } |