[Bug 2796] Wine crashes when using Combobox from riched20

Wine Bugs wine-bugs at winehq.org
Wed Mar 16 06:09:37 CST 2005


http://bugs.winehq.org/show_bug.cgi?id=2796





------- Additional Comments From mteske at imagnos.com  2005-16-03 06:09 -------
Ok, I did some more testing. I changed line 991 in editor.c to
WCHAR *p = ALLOC_N_OBJ(WCHAR, nLen*2+1); // allocate double length
because the crashes were sometimes around that area and a comment there 
mentions buffer overruns. Now it works!
But, don't ask me why this works, maybe you can find an explanation?


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list