- Fix a overlooked change needed due to mbstowcs fix. Use the number of WCHARs vice number of bytes to calculate end of xmlbuf. 


svn path=/trunk/; revision=47613
This commit is contained in:
Michael Martin
2010-06-06 07:21:53 +00:00
parent 854ff3471b
commit 5e130771e7
+2 -2
View File
@@ -1603,8 +1603,8 @@ static NTSTATUS parse_manifest( struct actctx_loader* acl, struct assembly_ident
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 );