Re: [PATCH 2/4] [CIFS] Don't ignore errors on encrypting password in SMBTcon

2015-03-31 Thread Jeff Layton
On Fri, 27 Mar 2015 00:28:00 -0500 Steve French wrote: > 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) > >

Re: [PATCH 2/4] [CIFS] Don't ignore errors on encrypting password in SMBTcon

2015-03-31 Thread Jeff Layton
On Fri, 27 Mar 2015 00:28:00 -0500 Steve French smfre...@gmail.com wrote: 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

Re: [PATCH 2/4] [CIFS] Don't ignore errors on encrypting password in SMBTcon

2015-03-30 Thread Sachin Prabhu
On Fri, 2015-03-27 at 00:28 -0500, Steve French wrote: > 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) > >

Re: [PATCH 2/4] [CIFS] Don't ignore errors on encrypting password in SMBTcon

2015-03-30 Thread Sachin Prabhu
On Fri, 2015-03-27 at 00:28 -0500, Steve French wrote: 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)

Re: [PATCH 2/4] [CIFS] Don't ignore errors on encrypting password in SMBTcon

2015-03-28 Thread Shirish Pargaonkar
Looks correct, although we could just goto a label at the end of this function which does the same. Acked-by: Shirish Pargaonkar On Fri, Mar 27, 2015 at 12:28 AM, Steve French wrote: > Although unlikely to fail (and tree connect does not commonly send > a password since SECMODE_USER is the

Re: [PATCH 2/4] [CIFS] Don't ignore errors on encrypting password in SMBTcon

2015-03-28 Thread Shirish Pargaonkar
Looks correct, although we could just goto a label at the end of this function which does the same. Acked-by: Shirish Pargaonkar shirishpargaon...@gmail.com On Fri, Mar 27, 2015 at 12:28 AM, Steve French smfre...@gmail.com wrote: Although unlikely to fail (and tree connect does not commonly

[PATCH 2/4] [CIFS] Don't ignore errors on encrypting password in SMBTcon

2015-03-26 Thread Steve French
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 --- fs/cifs/connect.c | 6 ++ 1 file

[PATCH 2/4] [CIFS] Don't ignore errors on encrypting password in SMBTcon

2015-03-26 Thread Steve French
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 smfre...@gmail.com --- fs/cifs/connect.c | 6