[comdlg32] Prevent a NULL pointer dereference (Coverity)

Paul Vriens paul.vriens.wine at gmail.com
Thu Jul 8 12:53:48 CDT 2010


Hi,

This one (Coverity #1069) was introduced during code freeze:

commit 542be258b380dd6e3c70d2102633a9a9a2c4a76f
Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Thu Jul 1 20:45:16 2010 +0900

      comdlg32: Not all messages depend on initialized custom choose 
font dialog data.

I moved the declaration to the only block where it's actually used.

Changelog
   Prevent a NULL pointer dereference (Coverity)

-- 
Cheers,

Paul.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-Prevent-a-NULL-pointer-dereference-Coverity.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100708/41f7ef95/attachment.asc>


More information about the wine-patches mailing list