[Bug 28423] ImmGetDescriptionW() from imm32 crashes with certain parameters
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Sep 18 00:53:34 CDT 2011
http://bugs.winehq.org/show_bug.cgi?id=28423
--- Comment #2 from Nikolay Sivov <bunglehead at gmail.com> 2011-09-18 00:53:33 CDT ---
(In reply to comment #1)
>
> int main()
> {
> unsigned int prueba;
> fstream resultado;
> WCHAR* testptr;
> resultado.open("result.txt",ios::out);
> prueba = ImmGetDescriptionW(NULL,testptr,255);
> resultado << "Address: " << testptr << endl;
> resultado << "Character length: " << prueba << endl;
> resultado.close();
> }
testptr is uninitialized so results are unreliable. Please add a test like
ImmGetDescriptionW/A(NULL, NULL, 1) to imm32/tests.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list