]> git.ipfire.org Git - thirdparty/samba.git/commit
s3: libsmbclient: Ensure SMBC_getdents_ctx() also updates the readdirplus pointers.
authorJeremy Allison <jra@samba.org>
Mon, 26 Aug 2019 17:07:32 +0000 (10:07 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 3 Sep 2019 16:15:36 +0000 (16:15 +0000)
commit754cec7756b2ddb1cfcc3984265f01cb366beb76
tree50b47dfb15ed4893361e7ea347ac012bd5227c5b
parent3d82b7d11cd7b78adc6b3642e64e3a8f251de869
s3: libsmbclient: Ensure SMBC_getdents_ctx() also updates the readdirplus pointers.

If we are returning file entries, we
have a duplicate list in dirplus.

Update dirplus_next also so readdir and
readdirplus are kept in sync.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14094

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
source3/libsmb/libsmb_dir.c