[1/3] comctl32: Do not call parent of tool window for tip text

Alexander Dorofeyev alexd14 at hushmail.com
Sun Oct 28 20:57:54 CDT 2007


Hello.

This patch fixes a crash in DCPlusPlus application, when or sometimes after a
tooltip is about to appear. This was caused by sending the notification message
for a second time, passing a structure with lpszText pointer modified by
application during a previous call (so it's not safe to write to that address).
In the process of debugging I also determined that Windows doesn't seem to send
this message to parent at all (tested on win98-Qemu, winXP SP2-Qemu and winXP
SP1 normal installation). So I'm deleting this second call altogether and a
conformance test for this situation will be included in the next patch.

---
      dlls/comctl32/tooltips.c |   33 ---------------------------------
      1 files changed, 0 insertions(+), 33 deletions(-)




-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9edeba8a8f0f9e6b92103f32601238cae710ffc9.diff
Type: text/x-patch
Size: 2012 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071028/70e8de14/attachment-0001.bin 


More information about the wine-patches mailing list