The branch, v3-5-test has been updated
via 4db2504 Fix bug Bug 8422 - Infinite loop in ACL module code.
from 0b1ce3f s3-vfs: Fix vfs_chown_fsp.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test
- Log -----------------------------------------------------------------
commit 4db250449dda30e3ffa05c8918e0cf39cbacc5d8
Author: Jeremy Allison <[email protected]>
Date: Mon Aug 29 16:53:04 2011 -0700
Fix bug Bug 8422 - Infinite loop in ACL module code.
Missing assignment means this loop will never terminate. Need to be applied
to 3.5.x and 3.6.1.
-----------------------------------------------------------------------
Summary of changes:
source3/modules/vfs_acl_common.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/modules/vfs_acl_common.c b/source3/modules/vfs_acl_common.c
index b209824..af4c41d 100644
--- a/source3/modules/vfs_acl_common.c
+++ b/source3/modules/vfs_acl_common.c
@@ -862,7 +862,7 @@ static int acl_common_remove_object(vfs_handle_struct
*handle,
/* Ensure we have this file open with DELETE access. */
id = vfs_file_id_from_sbuf(conn, &local_fname.st);
- for (fsp = file_find_di_first(id); fsp; file_find_di_next(fsp)) {
+ for (fsp = file_find_di_first(id); fsp; fsp = file_find_di_next(fsp)) {
if (fsp->access_mask & DELETE_ACCESS &&
fsp->delete_on_close) {
/* We did open this for delete,
--
Samba Shared Repository