EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Item not appearing in file listing

Posted: 02/22/2008 04:15:03
by Dan Cooper (Basic support level)
Joined: 06/27/2007
Posts: 125

I have a very strange problem which I am having problems tracking down. I realise it may not be a CBFS bug which is why I am posting here in case someone has seen something similar.

I have a complex folder structure on my drive presented by CBFS, when I try to delete the whole tree it stops on a specific folder says "directory is not empty" which is correct as there is still an item in there. The reason for this I have tracked down to a folder which contains 71 items but item 37 does not appear in the folder listing. The item is nothing special just a normal file with normal file attributes (128), I can see it getting retrieved by EnumerateDirectory and it is returned the same as all the other items but never appears in the list, hence the system not deleting it as it does not know about it.

I have tried to reproduce this by replicating the folder structure and using the mounter sample but this does not exhibit the same behaviour. I have tried putting a conditional statement in the EnumerateDirectory event to change the name of the file in the listing which does cause the item to appear as it should. The filename is 'C_Key_Md_N.ld-bmp'.

Has anyone else seem a similar issue? Or have any ideas what would cause this item not to be displayed in the file listing?

We are using the latest CBFS build on Windows XP SP2 .NET 1.1
Posted: 02/22/2008 07:07:01
by Eugene Mayevski (Team)

If possible, also try reordering the items in the list. This will let us know if there's some buffer overflow OR the filename itself is the reason.

Sincerely yours
Eugene Mayevski
Posted: 02/22/2008 07:10:29
by Volodymyr Zinin (Team)

I have checked this using the mounter sample too and it works correctly. If you send us a test program where the problem exists then we'll try to find where the problem is.



Topic viewed 5543 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!