summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-11-16 04:35:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:19 -0500
commitab0d0f0623eed2990924580d73c05d6f0b6c8178 (patch)
tree80fbc87ad20e0eebf8964806070a5c55f6f26e71 /source4/libcli/smb2
parent8dc40d68030396dd22844ff68b260645526e68f8 (diff)
downloadsamba-ab0d0f0623eed2990924580d73c05d6f0b6c8178.tar.gz
samba-ab0d0f0623eed2990924580d73c05d6f0b6c8178.tar.bz2
samba-ab0d0f0623eed2990924580d73c05d6f0b6c8178.zip
r11735: fixed the ALL_EAS smb2 level parsing
(This used to be commit dd24c0e80cf07bda700a0abb84a7a053d817f903)
Diffstat (limited to 'source4/libcli/smb2')
-rw-r--r--source4/libcli/smb2/getinfo.c6
-rw-r--r--source4/libcli/smb2/smb2_calls.h6
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 {