mirror of
https://github.com/Wind4/vlmcsd.git
synced 2026-08-03 13:52:50 +08:00
vlmcsd-svn818-2016-03-07-Hotbird64
This commit is contained in:
+5
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user