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)
committerKarolin Seeger <kseeger@samba.org>
Mon, 18 Jan 2010 09:32:25 +0000 (10:32 +0100)
commit1d611028433db18e96d946b206a8eed1048f9b26
treea22f24a98b6862935abde7f3ff029ab74999ae4a
parentedc44312f76e14e94c56e70cf7bb49139f9f081e
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.

Fix bug #7046 (libsmbclient crash against OpenSolaris CIFS server).
source/libsmb/libsmb_dir.c