s3:libsmb: Fix a bug in conversion of ea list to ea array.
authorAnubhav Rakshit <anubhav.rakshit@gmail.com>
Fri, 26 Jun 2015 06:54:23 +0000 (12:24 +0530)
committerKarolin Seeger <kseeger@samba.org>
Sun, 19 Jul 2015 18:13:10 +0000 (20:13 +0200)
commit7127c60daabfdb54434db0ef030f763ca650b2b4
tree062d05c9e541ae4c0e7b6fafbf75146a821188f5
parent5f029fc80873dba620226fc946dbe6f00a1c3cf1
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>
(cherry picked from commit 5af2e3eed2ac309e2491fc54e03e7b04c8b118fb)
source3/libsmb/cli_smb2_fnum.c