Fix the overflow check to not depend on pStubMsg->BufferStart and
authorRobert Shearman <rob@codeweavers.com>
Tue, 29 Nov 2005 09:41:17 +0000 (10:41 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 29 Nov 2005 09:41:17 +0000 (10:41 +0100)
commit552f18211d95bb2fb5ab0660e6852bf9958d65b9
treeafb95e16c9c9131fab1ea5b87a450c55462c6472
parente95464a5cb2fd2607bdd777806641c9ab248ad1f
Fix the overflow check to not depend on pStubMsg->BufferStart and
pStubMsg->BufferEnd being valid, because they aren't filled in when
using MIDL-generated server stubs.
Don't set the pointer to NULL on unmarshaling because we may want to
unmarshal the value to an existing pointer instead of allocating a new
one.
dlls/rpcrt4/ndr_marshall.c