Author: mjmartin
Date: Sun Jun 6 09:21:53 2010
New Revision: 47613
URL:
http://svn.reactos.org/svn/reactos?rev=47613&view=rev
Log:
[rtl]
- Fix a overlooked change needed due to mbstowcs fix. Use the number of WCHARs vice number
of bytes to calculate end of xmlbuf.
Modified:
trunk/reactos/lib/rtl/actctx.c
Modified: trunk/reactos/lib/rtl/actctx.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/actctx.c?rev=47613…
==============================================================================
--- trunk/reactos/lib/rtl/actctx.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/actctx.c [iso-8859-1] Sun Jun 6 09:21:53 2010
@@ -1603,8 +1603,8 @@
mbstowcs( new_buff, buffer, size);
xmlbuf.ptr = new_buff;
- DPRINT("Buffer %S\n", new_buff);
- xmlbuf.end = xmlbuf.ptr + len;
+
+ xmlbuf.end = xmlbuf.ptr + len / sizeof(WCHAR);
status = parse_manifest_buffer( acl, assembly, ai, &xmlbuf );
RtlFreeHeap( RtlGetProcessHeap(), 0, new_buff );