[Bug 46395] New: valgrind shows an invalid free in ws2_32/tests/sock.c

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jan 2 02:07:19 CST 2019


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

            Bug ID: 46395
           Summary: valgrind shows an invalid free in ws2_32/tests/sock.c
           Product: Wine
           Version: 4.0-rc4
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase, valgrind
          Severity: normal
          Priority: P2
         Component: winsock
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com
      Distribution: Gentoo

../../../tools/runtest -q -P wine -T ../../.. -M ws2_32.dll -p
ws2_32_test.exe.so sock && touch sock.ok
==30640== Invalid free() / delete / delete[] / realloc()
==30640==    at 0x7BC48471: notify_realloc (heap.c:276)
==30640==    by 0x7BC4BD90: RtlReAllocateHeap (heap.c:1906)
==30640==    by 0x4BDC310: WS_get_local_ips (socket.c:6309)
==30640==    by 0x4BDFBA4: WS_gethostbyname (socket.c:6392)
==30640==    by 0x4A95ADD: test_getsockname (sock.c:4621)
==30640==    by 0x4AADC3A: func_sock (sock.c:11530)
==30640==    by 0x4AAE05F: run_test (test.h:617)
==30640==    by 0x4AAEA9D: main (test.h:701)
==30640==  Address 0x4a2aac8 is 0 bytes after a recently re-allocated block of
size 0 alloc'd
==30640==    at 0x7BC48394: notify_alloc (heap.c:260)
==30640==    by 0x7BC4B8B8: RtlAllocateHeap (heap.c:1726)
==30640==    by 0x4BDC210: WS_get_local_ips (socket.c:6275)
==30640==    by 0x4BDFBA4: WS_gethostbyname (socket.c:6392)
==30640==    by 0x4A95ADD: test_getsockname (sock.c:4621)
==30640==    by 0x4AADC3A: func_sock (sock.c:11530)
==30640==    by 0x4AAE05F: run_test (test.h:617)
==30640==    by 0x4AAEA9D: main (test.h:701)
==30640==

-- 
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