https://bugs.winehq.org/show_bug.cgi?id=36603
Bug ID: 36603 Summary: valgrind shows uninitialized memory use in winespool.drv/tests/info.c Product: Wine Version: 1.7.19 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: wineps.drv Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
==21038== Conditional jump or move depends on uninitialised value(s) ==21038== at 0x5550802: get_special_root_hkey (registry.c:282) ==21038== by 0x5552E61: RegQueryValueExW (registry.c:1355) ==21038== by 0x49F9199: OpenPrinterW (info.c:2551) ==21038== by 0x49F901C: OpenPrinterA (info.c:2495) ==21038== by 0x49978C8: test_EnumForms (info.c:808) ==21038== by 0x49A2438: func_info (info.c:3031) ==21038== by 0x49A32B1: run_test (test.h:584) ==21038== by 0x49A369F: main (test.h:654) ==21038== Uninitialised value was created by a stack allocation ==21038== at 0x49F9091: OpenPrinterW (info.c:2532) ==21038==
==21038== Conditional jump or move depends on uninitialised value(s) ==21038== at 0x5550802: get_special_root_hkey (registry.c:282) ==21038== by 0x5552E61: RegQueryValueExW (registry.c:1355) ==21038== by 0x49F0C6E: get_dword_from_reg (info.c:493) ==21038== by 0x49F91CA: OpenPrinterW (info.c:2553) ==21038== by 0x49F901C: OpenPrinterA (info.c:2495) ==21038== by 0x49978C8: test_EnumForms (info.c:808) ==21038== by 0x49A2438: func_info (info.c:3031) ==21038== by 0x49A32B1: run_test (test.h:584) ==21038== by 0x49A369F: main (test.h:654) ==21038== Uninitialised value was created by a stack allocation ==21038== at 0x49F9091: OpenPrinterW (info.c:2532) ==21038==
==21038== Conditional jump or move depends on uninitialised value(s) ==21038== at 0x5550802: get_special_root_hkey (registry.c:282) ==21038== by 0x5552827: RegSetValueExW (registry.c:1212) ==21038== by 0x49F0D7E: set_reg_DWORD (info.c:510) ==21038== by 0x49F91F0: OpenPrinterW (info.c:2554) ==21038== by 0x49F901C: OpenPrinterA (info.c:2495) ==21038== by 0x49978C8: test_EnumForms (info.c:808) ==21038== by 0x49A2438: func_info (info.c:3031) ==21038== by 0x49A32B1: run_test (test.h:584) ==21038== by 0x49A369F: main (test.h:654) ==21038== Uninitialised value was created by a stack allocation ==21038== at 0x49F9091: OpenPrinterW (info.c:2532) ==21038==
I do have a network printer available to wine.