[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: msdosfs long name lookup error
Can you verify that this diff fixes the problem?
- todd
Index: msdosfs_conv.c
===================================================================
RCS file: /cvs/src/sys/msdosfs/msdosfs_conv.c,v
retrieving revision 1.10
diff -u -r1.10 msdosfs_conv.c
--- msdosfs_conv.c 29 Jul 2003 19:26:38 -0000 1.10
+++ msdosfs_conv.c 24 Mar 2004 18:38:00 -0000
@@ -654,6 +654,9 @@
if ((unlen -= i) <= 0)
return -1;
un += i;
+
+ if ((wep->weCnt&WIN_LAST) && unlen > WIN_CHARS)
+ return -1;
/*
* Compare the name parts