s3: Fix a crash in libsmbclient used against the OpenSolaris CIFS server
commit734446bb3a8984ec805c73e06e553312b46e4094
authorVolker Lendecke <vl@samba.org>
Sat, 16 Jan 2010 12:31:44 +0000 (16 13:31 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 18 Jan 2010 09:31:25 +0000 (18 10:31 +0100)
treea3fd3b0fbc175d0477d429dd3461741a6a3d60be
parent1d9dc38aec417c8ccc9fa34d32015ee57d877ba9
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).
source3/libsmb/libsmb_dir.c