[SCM] Samba Shared Repository - branch v4-6-test updated
Karolin Seeger
kseeger at samba.org
Wed May 3 11:32:03 UTC 2017
The branch, v4-6-test has been updated
via 17d5052 s3: smbd: inotify_map_mask_to_filter incorrectly indexes an array.
from 0636b93 s3-tests: assignement in shell shall have no spaces around equal sign
https://git.samba.org/?p=samba.git;a=shortlog;h=v4-6-test
- Log -----------------------------------------------------------------
commit 17d505226a2212f0a13b35ba411a8b7edd37296f
Author: Doug Nazar <nazard at nazar.ca>
Date: Thu Apr 27 15:41:24 2017 -0700
s3: smbd: inotify_map_mask_to_filter incorrectly indexes an array.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12760
Signed-off-by: Doug Nazar <nazard at nazar.ca>
Reviewed-by: Jeremy Allison <jra at samba.org>
Reviewed-by: Christof Schmitt <cs at samba.org>
(cherry picked from commit a939db725ea81944532ba3b035da0d145bc3b62a)
Autobuild-User(v4-6-test): Karolin Seeger <kseeger at samba.org>
Autobuild-Date(v4-6-test): Wed May 3 13:31:27 CEST 2017 on sn-devel-144
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/notify_inotify.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/notify_inotify.c b/source3/smbd/notify_inotify.c
index 3848dd6..74855a9 100644
--- a/source3/smbd/notify_inotify.c
+++ b/source3/smbd/notify_inotify.c
@@ -97,7 +97,7 @@ static uint32_t inotify_map_mask_to_filter(uint32_t mask)
uint32_t filter = 0;
for (i = 0; i < ARRAY_SIZE(inotify_mapping); i++) {
- if (inotify_mapping[0].inotify_mask & mask) {
+ if (inotify_mapping[i].inotify_mask & mask) {
filter |= inotify_mapping[i].notify_mask;
}
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list