summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2transport.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-12-03 12:05:31 +0100
committerSteve French <smfrench@gmail.com>2012-12-09 05:04:37 +0100
commit1f6306806c1494bea51b93f96e105e93a96e3c22 (patch)
tree8cbd03168fa91915bcf144e8b56dccf53b78acc2 /fs/cifs/smb2transport.c
parentcifs: fix hardcoded default security descriptor length (diff)
downloadlinux-1f6306806c1494bea51b93f96e105e93a96e3c22.tar.xz
linux-1f6306806c1494bea51b93f96e105e93a96e3c22.zip
cifs: deal with id_to_sid embedded sid reply corner case
A SID could potentially be embedded inside of payload.value if there are no subauthorities, and the arch has 8 byte pointers. Allow for that possibility there. While we're at it, rephrase the "embedding" check in terms of key->payload to allow for the possibility that the union might change size in the future. Reviewed-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com> Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb2transport.c')
0 files changed, 0 insertions, 0 deletions