comctl32: Fix possible use of uninitialised variable in REBAR_Paint.

Robert Shearman rob at codeweavers.com
Mon Feb 25 02:59:51 CST 2008


In the case where an hdc is passed in via the wParam, ps.fErase could be 
uninitialised. Fix this by rearranging the code so that ps is only used 
when an hdc isn't passed in.
---
  dlls/comctl32/rebar.c |   29 ++++++++++++++---------------
  1 files changed, 14 insertions(+), 15 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7bb8348fd803e8791bf7c58ccee5334724b8368d.diff
Type: text/x-patch
Size: 1381 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080225/2218f550/attachment.bin 


More information about the wine-patches mailing list