diff options
Diffstat (limited to 'source4/libcli/smb2')
-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 { |