s3: Fix a crash in libsmbclient used against the OpenSolaris CIFS server
authorVolker Lendecke <vl@samba.org>
Sat, 16 Jan 2010 12:31:44 +0000 (13:31 +0100)
committerVolker Lendecke <vl@samba.org>
Sat, 16 Jan 2010 12:53:26 +0000 (13:53 +0100)
commit4dd0c5516aa0ff27093f9fc436f7817d048c0922
tree2248299bbed7b08c40b6078f05b5c9129ec3f562
parent791a2df656a1af81d3c016902ae4b4ceb1c732f0
s3: Fix a crash in libsmbclient used against the OpenSolaris CIFS server

A user has sent me a sniff where the OpenSolaris CIFS server returns "32" in
totalentries, but the array in ctr only contains 15 entries. Look at the right
delimiter for walking the array.
source3/libsmb/libsmb_dir.c