(try 2) user32: Add argument check for PTITLEBARINFO in GetTitleBarInfo().
Rico Schüller
kgbricola at web.de
Thu Nov 12 14:50:01 CST 2009
Hi,
this patch adds a check for PTITLEBARINFO in GetTitleBarInfo() to avoid
a crash. This fixes bug 20249 .
Try 2 improvement:
- do not print the null pointer, it's useless
Cheers
Rico
---
dlls/user32/nonclient.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5698238c931eace1987485a904045177dafc3522.diff
Type: text/x-patch
Size: 573 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091112/9432bb59/attachment.bin>
More information about the wine-patches
mailing list