diff options
author | 2017-04-10 10:31:33 -0700 | |
---|---|---|
committer | 2017-04-10 23:36:38 -0500 | |
commit | 350be257ea83029daee974c72b1fe2e6f1f8e615 (patch) | |
tree | c02cd0c1e5bdf4b1cb58b4dcd307f508f02fda73 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 (diff) | |
download | wireguard-linux-350be257ea83029daee974c72b1fe2e6f1f8e615.tar.xz wireguard-linux-350be257ea83029daee974c72b1fe2e6f1f8e615.zip |
CIFS: Fix null pointer deref during read resp processing
Currently during receiving a read response mid->resp_buf can be
NULL when it is being passed to cifs_discard_remaining_data() from
cifs_readv_discard(). Fix it by always passing server->smallbuf
instead and initializing mid->resp_buf at the end of read response
processing.
Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
CC: Stable <stable@vger.kernel.org>
Acked-by: Sachin Prabhu <sprabhu@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions