diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-11-16 04:35:10 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:19 -0500 |
commit | ab0d0f0623eed2990924580d73c05d6f0b6c8178 (patch) | |
tree | 80fbc87ad20e0eebf8964806070a5c55f6f26e71 | |
parent | 8dc40d68030396dd22844ff68b260645526e68f8 (diff) | |
download | samba-ab0d0f0623eed2990924580d73c05d6f0b6c8178.tar.gz samba-ab0d0f0623eed2990924580d73c05d6f0b6c8178.tar.bz2 samba-ab0d0f0623eed2990924580d73c05d6f0b6c8178.zip |
r11735: fixed the ALL_EAS smb2 level parsing
(This used to be commit dd24c0e80cf07bda700a0abb84a7a053d817f903)
-rw-r--r-- | source4/libcli/smb2/getinfo.c | 6 | ||||
-rw-r--r-- | source4/libcli/smb2/smb2_calls.h | 6 |
2 files changed, 5 insertions, 7 deletions
diff --git a/source4/libcli/smb2/getinfo.c b/source4/libcli/smb2/getinfo.c index 9599a6c48c..4817f09d68 100644 --- a/source4/libcli/smb2/getinfo.c +++ b/source4/libcli/smb2/getinfo.c @@ -150,9 +150,9 @@ NTSTATUS smb2_getinfo_parse(TALLOC_CTX *mem_ctx, break; case SMB2_GETINFO_FILE_ALL_EAS: - return ea_pull_list(&blob, mem_ctx, - &io->all_eas.eas.num_eas, - &io->all_eas.eas.eas); + return ea_pull_list_chained(&blob, mem_ctx, + &io->all_eas.num_eas, + &io->all_eas.eas); case SMB2_GETINFO_FILE_10: if (blob.length != 0x4) { diff --git a/source4/libcli/smb2/smb2_calls.h b/source4/libcli/smb2/smb2_calls.h index 127a9d229c..204ab7defb 100644 --- a/source4/libcli/smb2/smb2_calls.h +++ b/source4/libcli/smb2/smb2_calls.h @@ -238,12 +238,10 @@ union smb2_fileinfo { uint32_t unknown2; } unknown0e; - struct { - struct smb_ea_list eas; - } all_eas; + struct smb_ea_list all_eas; struct { - uint32_t unknown; /* 2 */ + uint32_t unknown; } unknown10; struct { |