commit | 9bda8723da2d55b1de833b98cf802b88006e5b69 | [log] [tgz] |
---|---|---|
author | Pavel Shilovsky <pshilov@microsoft.com> | Wed Jan 23 17:12:09 2019 -0800 |
committer | Steve French <stfrench@microsoft.com> | Tue Jan 29 17:19:47 2019 -0600 |
tree | 6e4bc7fe28000e5bba3674b5110f2bb91bb5999d | |
parent | c4627e66f73a28c5515b908c90c2bf7120086497 [diff] |
CIFS: Fix possible oops and memory leaks in async IO Allocation of a page array for non-cached IO was separated from allocation of rdata and wdata structures and this introduced memory leaks and a possible null pointer dereference. This patch fixes these problems. Cc: <stable@vger.kernel.org> Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>