advapi32: fix buffer overrun in tests/registry.c:wine_debugstr_wn(), try 4

Dan Kegel dank at kegel.com
Sun Nov 11 08:33:03 CST 2007


This time I simply removed some of the unneeded
changes introduced by Francois when he forked
debugstr_wn from libs/wine/debug.c in
http://www.winehq.org/pipermail/wine-patches/2007-April/038172.html

Found via valgrind warning
 Conditional jump or move depends on uninitialised value(s)
    at 0x45F3219: wine_debugstr_wn (registry.c:151)
    by 0x45F34F5: test_hkey_main_Value_W (registry.c:284)
    by 0x45F7644: func_registry (registry.c:327)
    by 0x460A127: run_test (test.h:387)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: advapi32-registry-2.patch
Type: text/x-patch
Size: 1351 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071111/5cfb1aaa/attachment.bin 


More information about the wine-patches mailing list