tsg: fix possible free of initialized memory

This commit is contained in:
Bernhard Miklautz 2014-11-27 15:08:07 +01:00
parent 5066a5e455
commit daa3e7c7f8

View File

@ -379,6 +379,7 @@ int rpc_write(rdpRpc* rpc, BYTE* data, int length, UINT16 opnum)
WLog_ERR(TAG, "QueryContextAttributes SECPKG_ATTR_SIZES failure");
return -1;
}
ZeroMemory(&Buffers, sizeof(Buffers));
request_pdu = (rpcconn_request_hdr_t*) calloc(1, sizeof(rpcconn_request_hdr_t));