summaryrefslogtreecommitdiff
path: root/fs/internal.h
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2022-10-28 13:45:10 +0300
committerChristian Brauner (Microsoft) <brauner@kernel.org>2022-10-28 13:45:10 +0300
commitcb2144d66b0b24fd1b880fc72678ba21ca414dab (patch)
treef0a1fb2c560176b627c3c9846aac807a176f8e05 /fs/internal.h
parenta351b1f444187312bb42479cb26e82f26fc481d2 (diff)
downloadlinux-cb2144d66b0b24fd1b880fc72678ba21ca414dab.tar.xz
cifs: check whether acl is valid early
Dan reported that acl is dereferenced before being checked and this is a valid problem. Fix it be erroring out early instead of doing it later after we've already relied on acl to be a valid pointer. Fixes: dc1af4c4b472 ("cifs: implement set acl method") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Diffstat (limited to 'fs/internal.h')
0 files changed, 0 insertions, 0 deletions