Nicholas Mc Guire 126c97f4d0 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>`
2018-08-23 15:10:49 -05:00
..
2018-06-12 16:19:22 -07:00
2018-05-27 17:56:35 -05:00
2016-10-13 19:48:11 -05:00
2018-08-07 14:23:20 -05:00
2018-08-07 14:15:41 -05:00
2018-06-12 16:19:22 -07:00
2018-08-07 14:15:41 -05:00
2018-08-23 15:10:49 -05:00
2018-06-01 09:14:30 -05:00
2018-06-01 09:14:30 -05:00
2012-07-24 10:25:13 -05:00
2018-08-16 13:12:00 -06:00
2018-07-05 13:48:24 -05:00
2013-09-08 14:54:24 -05:00