Christian Brauner cb2144d66b
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>
2022-10-28 12:45:10 +02:00
..
2022-10-20 10:13:28 +02:00
2022-09-14 04:00:06 -05:00
2022-10-20 10:13:32 +02:00
2022-10-20 10:13:32 +02:00
2022-01-19 11:21:08 -06:00
2022-10-14 12:35:25 -05:00
2019-01-24 09:37:33 -06:00
2022-10-10 09:10:28 -07:00
2021-04-25 16:28:23 -05:00
2022-10-20 10:13:32 +02:00