vlmcsd-svn818-2016-03-07-Hotbird64

This commit is contained in:
Wind4 2016-04-11 12:49:47 +08:00
parent 1af203d2a8
commit 1c86f7a6bf
34 changed files with 145 additions and 87 deletions

View file

@ -178,7 +178,11 @@ int ProcessActivationRequest(handle_t IDL_handle, int requestSize, unsigned char
# endif // NO_LOG
// Discard any packet smaller than a v4 request
if (requestSize < (int)sizeof(REQUEST_V4)) return RPC_S_CANNOT_SUPPORT;
if (requestSize < (int)sizeof(REQUEST_V4))
{
if (!result) RpcStringFreeA(&clientIpAddress);
return RPC_S_CANNOT_SUPPORT;
}
*response = (uint8_t *)midl_user_allocate(MAX_RESPONSE_SIZE);