tsg: fix possible free of initialized memory
This commit is contained in:
parent
5066a5e455
commit
daa3e7c7f8
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user