mshtml: txtrange.c: Initialize variables in a couple structs

Zac Brown zac at zacbrown.org
Mon Jun 23 19:41:18 CDT 2008


Initialize variables in a couple structs.

Fixes valgrind errors like:
Conditional jump or move depends on uninitialised value(s)
     at  fill_nodestr (txtrange.c:287)
     by  dompos_addref (txtrange.c:469)
     by  next_char (txtrange.c:614)
     by  find_word_end (txtrange.c:891)
     by  HTMLTxtRange_expand (txtrange.c:1303)
     by  _test_range_expand (dom.c:670)
     by  test_txtrange (dom.c:1224)
     ...
   Uninitialised value was created by a stack allocation
     at  next_char (txtrange.c:574)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mshtml-txtrange.c-Initialize-values-in-structs.patch
Type: text/x-patch
Size: 827 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080623/80d70660/attachment.bin 


More information about the wine-patches mailing list