[Bug 46395] 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:08:23 CST 2019


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

--- Comment #1 from Austin English <austinenglish at gmail.com> ---
Actually, 2 of them:
==30640== Invalid free() / delete / delete[] / realloc()
==30640==    at 0x7BC48471: notify_realloc (heap.c:276)
==30640==    by 0x7BC4BCD0: RtlReAllocateHeap (heap.c:1870)
==30640==    by 0x4BDC310: WS_get_local_ips (socket.c:6309)
==30640==    by 0x4BDFBA4: WS_gethostbyname (socket.c:6392)
==30640==    by 0x4A974D7: test_gethostname (sock.c:4869)
==30640==    by 0x4AADC5D: func_sock (sock.c:11537)
==30640==    by 0x4AAE05F: run_test (test.h:617)
==30640==    by 0x4AAEA9D: main (test.h:701)
==30640==  Address 0x49252e0 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 0x4A974D7: test_gethostname (sock.c:4869)
==30640==    by 0x4AADC5D: func_sock (sock.c:11537)
==30640==    by 0x4AAE05F: run_test (test.h:617)
==30640==    by 0x4AAEA9D: main (test.h:701)
==30640==

different test, but looks like the same issue.

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