s3: smbd: inotify_map_mask_to_filter incorrectly indexes an array.
authorDoug Nazar <nazard@nazar.ca>
Thu, 27 Apr 2017 22:41:24 +0000 (15:41 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 28 Apr 2017 01:18:23 +0000 (03:18 +0200)
commita939db725ea81944532ba3b035da0d145bc3b62a
tree946ee4a4cea70fa1290285ef79b164d1a0dfbed7
parent77d4e07ef3a0b9d7c2b1c660c8ac770c07120173
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@nazar.ca>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
source3/smbd/notify_inotify.c