[ros-bugs] [Bug 6743] Exception accessing buffer

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Tue Apr 24 10:44:21 UTC 2012


http://www.reactos.org/bugzilla/show_bug.cgi?id=6743





--- Comment #4 from ThFabba <thfabba at gmx.de>  2012-04-24 10:44:20 CET ---
Created an attachment (id=7607)
 --> (http://www.reactos.org/bugzilla/attachment.cgi?id=7607)
Use RtlAnsiStringToUnicodeString instead of mbstowcs

In parse_manifest (lib\rtl\actctx.c:1534), Wine uses wine_utf8_mbstowcs. We use
mbstowcs.
The latter function requires the source string to be null-terminated (and that
is correct behavior), while the former does not.

Assuming we don't want to take Wine's unicode stuff,
RtlAnsiStringToUnicodeString could be used instead, as the attached patch
suggests.


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the Ros-bugs mailing list