[Bug 46348] New: rpcrt4/tests/ server.c shows uninitialized memory use in union_tests()

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Dec 22 02:56:33 CST 2018


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

            Bug ID: 46348
           Summary: rpcrt4/tests/server.c shows uninitialized memory use
                    in union_tests()
           Product: Wine
           Version: 4.0-rc3
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase, valgrind
          Severity: normal
          Priority: P2
         Component: rpc
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com
      Distribution: Gentoo

../../../tools/runtest -q -P wine -T ../../.. -M rpcrt4.dll -p
rpcrt4_test.exe.so server && touch server.ok
==19697== Syscall param sendmsg(msg.msg_iov[0]) points to uninitialised byte(s)
==19697==    at 0x425091F: sendmsg (sendmsg.c:30)
==19697==    by 0x56081C4: WS2_send (socket.c:2628)
==19697==    by 0x56084BB: WS2_sendto (socket.c:5606)
==19697==    by 0x560EBC5: WS_send (socket.c:5521)
==19697==    by 0x552C19C: rpcrt4_conn_tcp_write (rpc_transport.c:1424)
==19697==    by 0x551F74C: rpcrt4_conn_write (rpc_binding.h:197)
==19697==    by 0x5520FD0: RPCRT4_SendWithAuth (rpc_message.c:850)
==19697==    by 0x5521CE2: RPCRT4_Send (rpc_message.c:1249)
==19697==    by 0x5522C8E: I_RpcSend (rpc_message.c:1813)
==19697==    by 0x5522F6E: I_RpcSendReceive (rpc_message.c:1926)
==19697==    by 0x54FFBFF: NdrSendReceive (ndr_clientserver.c:215)
==19697==    by 0x4A6B3E6: ip_test (server_c.c:5576)
==19697==    by 0x4A59939: union_tests (server.c:1120)
==19697==    by 0x4A5E4EB: run_tests (server.c:1613)
==19697==    by 0x4A5E78F: client (server.c:1674)
==19697==    by 0x4A60399: func_server (server.c:2229)
==19697==    by 0x4A7AFD8: run_test (test.h:617)
==19697==    by 0x4A7BA16: main (test.h:701)
==19697==  Address 0x492d4c8 is 24 bytes inside a recently re-allocated block
of size 100 alloc'd
==19697==    at 0x7BC483AD: notify_alloc (heap.c:260)
==19697==    by 0x7BC4B8D1: RtlAllocateHeap (heap.c:1726)
==19697==    by 0x5521086: RPCRT4_SendWithAuth (rpc_message.c:809)
==19697==    by 0x5521CE2: RPCRT4_Send (rpc_message.c:1249)
==19697==    by 0x5522C8E: I_RpcSend (rpc_message.c:1813)
==19697==    by 0x5522F6E: I_RpcSendReceive (rpc_message.c:1926)
==19697==    by 0x54FFBFF: NdrSendReceive (ndr_clientserver.c:215)
==19697==    by 0x4A6B3E6: ip_test (server_c.c:5576)
==19697==    by 0x4A59939: union_tests (server.c:1120)
==19697==    by 0x4A5E4EB: run_tests (server.c:1613)
==19697==    by 0x4A5E78F: client (server.c:1674)
==19697==    by 0x4A60399: func_server (server.c:2229)
==19697==    by 0x4A7AFD8: run_test (test.h:617)
==19697==    by 0x4A7BA16: main (test.h:701)
==19697==  Uninitialised value was created by a stack allocation
==19697==    at 0x4A595F7: union_tests (server.c:1069)
==19697==

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