commit | 126c97f4d0d1b5b956e8b0740c81a2b2a2ae548c | [log] [tgz] |
---|---|---|
author | Nicholas Mc Guire <hofrat@osadl.org> | Thu Aug 23 12:24:02 2018 +0200 |
committer | Steve French <stfrench@microsoft.com> | Thu Aug 23 15:10:49 2018 -0500 |
tree | 98db93cba5fa52c99aeb86f1fcbb2111e9346093 | |
parent | e6c47dd0da1e3a484e778046fc10da0b20606a86 [diff] |
cifs: check kmalloc before use The kmalloc was not being checked - if it fails issue a warning and return -ENOMEM to the caller. Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Fixes: b8da344b74c8 ("cifs: dynamic allocation of ntlmssp blob") Signed-off-by: Steve French <stfrench@microsoft.com> Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com> cc: Stable <stable@vger.kernel.org>`