Re: (try 2) user32: Add argument check for PTITLEBARINFO in GetTitleBarInfo().
2009/11/12 Rico Schüller <kgbricola(a)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
Am 13.11.2009 15:16, schrieb Rob Shearman:
2009/11/12 Rico Schüller<kgbricola(a)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.
Sure, I could. Would you please name the file, where I should put the test in, please? Otherwise a test is attached to bug 20249 . Cheers Rico
participants (2)
-
Rico Schüller -
Rob Shearman