mirror of
https://github.com/Wind4/vlmcsd.git
synced 2025-05-27 13:14:11 -04:00
vlmcsd-svn818-2016-03-07-Hotbird64
This commit is contained in:
parent
1af203d2a8
commit
1c86f7a6bf
34 changed files with 145 additions and 87 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue