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

Rico Schüller kgbricola at web.de
Fri Nov 13 12:02:32 CST 2009


Am 13.11.2009 15:16, schrieb Rob Shearman:
> 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.
>
>    
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



More information about the wine-devel mailing list