diff options
author | Anubhav Rakshit <anubhav.rakshit@gmail.com> | 2015-06-26 12:24:23 +0530 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2015-06-26 19:32:19 +0200 |
commit | 5af2e3eed2ac309e2491fc54e03e7b04c8b118fb (patch) | |
tree | 3c3b6b50421359e35aa9f964b9f57584d35f9b31 /source3/libsmb/cli_smb2_fnum.c | |
parent | 5c1ed7f18f81faa3619ac47f3e0a1f4e343c94ce (diff) | |
download | samba-5af2e3eed2ac309e2491fc54e03e7b04c8b118fb.tar.gz |
s3:libsmb: Fix a bug in conversion of ea list to ea array.
Bug 11361 - Reading of EA's (Extended Attributes) fails using SMB2 and above
protocols
Tested against Win2k12r2 server.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11361
Signed-off-by: Anubhav Rakshit <anubhav.rakshit@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/libsmb/cli_smb2_fnum.c')
-rw-r--r-- | source3/libsmb/cli_smb2_fnum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/cli_smb2_fnum.c b/source3/libsmb/cli_smb2_fnum.c index 21c03408893..816ad1374a3 100644 --- a/source3/libsmb/cli_smb2_fnum.c +++ b/source3/libsmb/cli_smb2_fnum.c @@ -2194,7 +2194,7 @@ NTSTATUS cli_smb2_get_ea_list_path(struct cli_state *cli, } ea_count = 0; for (eal = ea_list; eal; eal = eal->next) { - (*pea_array)[ea_count++] = ea_list->ea; + (*pea_array)[ea_count++] = eal->ea; } *pnum_eas = ea_count; } |