summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-05-31 19:06:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:57:03 -0500
commit57fa7e154737df74a6a4fd9b2e3cf29917bd5ff0 (patch)
tree3d0b76cea37a413a5120c4a13e37b5f717f9b0b7 /examples
parent583b7ed6595e85e8366632dd0ab5dbfcdc1838e6 (diff)
downloadsamba-57fa7e154737df74a6a4fd9b2e3cf29917bd5ff0.tar.gz
samba-57fa7e154737df74a6a4fd9b2e3cf29917bd5ff0.tar.bz2
samba-57fa7e154737df74a6a4fd9b2e3cf29917bd5ff0.zip
r7151: Fix for bug #2698. If a unicode to unix charset conversion fails (due to buggy iconv?) we can
be left with a filename that doesn't exist on the remote machine. If we then do a findnext with this file the server gets confused and restarts from the beginning of the directory, causing directory listing loops. Fix this by keeping a copy of the "raw" filename data and length and using this as the argument to findnext. This won't fix the incorrect iconv conversion into the finfo struct but at least it ensures that directory listings always terminate. Tested against NTFS and FAT directories. Jeremy. (This used to be commit 848940d5a91b310e58d0631ead293418ea4186f0)
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions