diff options
author | 2016-07-24 10:37:38 +0300 | |
---|---|---|
committer | 2016-07-27 22:55:56 -0500 | |
commit | 7893242e2465aea6f2cbc2639da8fa5ce96e8cc2 (patch) | |
tree | 1cab64729128945784e3e72ac5796a1671187eb7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fs/cifs: make share unaccessible at root level mountable (diff) | |
download | wireguard-linux-7893242e2465aea6f2cbc2639da8fa5ce96e8cc2.tar.xz wireguard-linux-7893242e2465aea6f2cbc2639da8fa5ce96e8cc2.zip |
CIFS: Fix a possible invalid memory access in smb2_query_symlink()
During following a symbolic link we received err_buf from SMB2_open().
While the validity of SMB2 error response is checked previously
in smb2_check_message() a symbolic link payload is not checked at all.
Fix it by adding such checks.
Cc: Dan Carpenter <dan.carpenter@oracle.com>
CC: Stable <stable@vger.kernel.org>
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
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