[Bug 13319] In dlls/user32/edit.c EDIT_EM_ReplaceSel Clobbers Important Var When Buffer Overflows
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu May 29 15:23:36 CDT 2008
http://bugs.winehq.org/show_bug.cgi?id=13319
--- Comment #11 from Bob Smith <bsmith at sudleyplace.com> 2008-05-29 15:23:35 ---
(In reply to comment #10)
> (In reply to comment #9)
> > 1. I assume you also changed the value of LECWNDCLASS.
>
> No, what am I suppose to change it to?
>
> > 2. Did you insert the debug statements into EDIT.C?
>
> Yes, I just did a printf() instead of MessageBoxW().
>
> > 3. The default buffer size is 30000 bytes in my configuration. What is it in
> > yours?
> >
>
> 30000
Sorry, but the context I have is without the rest of WineHQ -- it has EDIT.C
(pared down) only, so I must use a different class name for WineHQ Edit
Controls because "EDIT" is in use by Windows. Thus I use the class name
mentioned in LECWNDCLASS for a WineHQ Edit Control.
Change the #define for LECWNDCLASS to L"EDIT" and retry.
--
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