]> git.baikalelectronics.ru Git - kernel.git/commit
Don't ignore errors on encrypting password in SMBTcon
authorSteve French <smfrench@gmail.com>
Fri, 27 Mar 2015 00:23:20 +0000 (19:23 -0500)
committerSteve French <smfrench@gmail.com>
Wed, 1 Apr 2015 05:01:46 +0000 (00:01 -0500)
commitc3fea068fd36ef94e04a44f97a42f6cddc391d5c
tree13b3fcfd35466602e87ecea7c9ff73099ce47852
parent1e8829fcf27eb32ba6f9c2077c56e23d35e2f59b
Don't ignore errors on encrypting password in SMBTcon

Although unlikely to fail (and tree connect does not commonly send
a password since SECMODE_USER is the default for most servers)
do not ignore errors on SMBNTEncrypt in SMB Tree Connect.

Reported by Coverity (CID 1226853)

Signed-off-by: Steve French <smfrench@gmail.com>
Acked-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Acked-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeff Layton <jlayton@poochiereds.net>
fs/cifs/connect.c