diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-12-03 06:05:31 -0500 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-12-08 22:04:37 -0600 |
commit | 1f6306806c1494bea51b93f96e105e93a96e3c22 (patch) | |
tree | 8cbd03168fa91915bcf144e8b56dccf53b78acc2 /fs/cifs/smb2proto.h | |
parent | 7ee0b4c635c091eb3c805977ba886bae2fd33f0c (diff) |
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/smb2proto.h')
0 files changed, 0 insertions, 0 deletions