Skip to content
Commit f1ebe48d authored by Shyam Prasad N's avatar Shyam Prasad N Committed by Steve French
Browse files

cifs: If a corrupted DACL is returned by the server, bail out.



Static code analysis reported a possible null pointer dereference
in my last commit:
cifs: Retain old ACEs when converting between mode bits and ACL.

This could happen if the DACL returned by the server is corrupted.
We were trying to continue by assuming that the file has empty DACL.
We should bail out with an error instead.

Signed-off-by: default avatarShyam Prasad N <sprasad@microsoft.com>
Reported-by: default avatarColin Ian King <colin.king@canonical.com>
Reviewed-by: default avatarRohith Surabattula <rohiths@microsoft.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent f1a08655
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment