I've debugged it, and found the bug, just posted the patch to https://bugzilla.samba.org/show_bug.cgi?id=6767 . It is a one-liner, in cifsConvertToUCS the return statement is incorrect:
--- orig/linux-2.6.32/fs/cifs/misc.c 2009-12-03 04:51:21.000000000 +0100 +++ linux-2.6.32/fs/cifs/misc.c 2011-10-09 22:25:10.767951322 +0200 @@ -713,7 +713,7 @@ }
ctoUCS_out: - return i; + return j; }
void
Best, Baldvin
I've debugged it, and found the bug, just posted the patch to https:/ /bugzilla. samba.org/ show_bug. cgi?id= 6767 . It is a one-liner, in cifsConvertToUCS the return statement is incorrect:
--- orig/linux- 2.6.32/ fs/cifs/ misc.c 2009-12-03 04:51:21.000000000 +0100 6.32/fs/ cifs/misc. c 2011-10-09 22:25:10.767951322 +0200
+++ linux-2.
@@ -713,7 +713,7 @@
}
ctoUCS_out:
- return i;
+ return j;
}
void
Best,
Baldvin