(try 2) user32: Add argument check for PTITLEBARINFO in GetTitleBarInfo().

Rob Shearman robertshearman at gmail.com
Fri Nov 13 08:16:24 CST 2009


2009/11/12 Rico Schüller <kgbricola at web.de>:
> 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(-)

You could easily add a testcase for this behaviour.

-- 
Rob Shearman



More information about the wine-devel mailing list