Author: mjmartin Date: Thu Jun 3 01:58:28 2010 New Revision: 47527
URL: http://svn.reactos.org/svn/reactos?rev=47527&view=rev Log: [crt] - mbstowcs: Fix incorrect size passed as the second parameter for call to RtlMultiByteToUnicodeN. Fixes loading assemblies when manifest is in a manifest file due to parsing failure.
Modified: trunk/reactos/lib/sdk/crt/string/mbstowcs_nt.c
Modified: trunk/reactos/lib/sdk/crt/string/mbstowcs_nt.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/string/mbstowcs... ============================================================================== --- trunk/reactos/lib/sdk/crt/string/mbstowcs_nt.c [iso-8859-1] (original) +++ trunk/reactos/lib/sdk/crt/string/mbstowcs_nt.c [iso-8859-1] Thu Jun 3 01:58:28 2010 @@ -47,7 +47,7 @@ }
Status = RtlMultiByteToUnicodeN (wcstr, - count, + count * sizeof(WCHAR), &Size, mbstr, Length);