mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[rtl]
- 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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user