[Bug 43347] New: valgrind shows an unintialized read in dlls/iphlpapi/ tests/iphlpapi.c

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jul 13 18:42:43 CDT 2017


https://bugs.winehq.org/show_bug.cgi?id=43347

            Bug ID: 43347
           Summary: valgrind shows an unintialized read in
                    dlls/iphlpapi/tests/iphlpapi.c
           Product: Wine
           Version: 2.12
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase, valgrind
          Severity: normal
          Priority: P2
         Component: iphlpapi
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com
      Distribution: Gentoo

../../../tools/runtest -q -P wine -T ../../.. -M iphlpapi.dll -p
iphlpapi_test.exe.so iphlpapi && touch iphlpapi.ok
==10952== Syscall param ioctl(SIOCGIFINDEX) points to uninitialised byte(s)
==10952==    at 0x4338F79: ioctl (syscall-template.S:84)
==10952==    by 0x435916D: if_nametoindex (if_index.c:47)
==10952==    by 0x4B25E43: getInterfaceIndexByName (ifenum.c:143)
==10952==    by 0x4B2EC7E: IPHLP_if_nametoindex (iphlpapi_main.c:3233)
==10952==    by 0x488198E: test_interface_identifier_conversion
(iphlpapi.c:1958)
==10952==    by 0x48831AB: func_iphlpapi (iphlpapi.c:2230)
==10952==    by 0x4884014: run_test (test.h:603)
==10952==    by 0x4884465: main (test.h:687)
==10952==  Address 0x4b0f8c0 is on thread 1's stack
==10952==  in frame #1, created by if_nametoindex (if_index.c:35)
==10952==  Uninitialised value was created by a stack allocation
==10952==    at 0x4359141: if_nametoindex (if_index.c:41)
==10952==

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list