From a934f89549b3d23199d68b7dc3fc3ad16e86b9ad Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 11 Nov 2003 02:02:29 +0000 Subject: started adding support for lsa_QueryInfoPolicy (This used to be commit 5b2d577969103ed5c633ea993d476787af14fa93) --- source4/librpc/rpc/dcerpc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/librpc/rpc') diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c index 682735c000..97aa466e3a 100644 --- a/source4/librpc/rpc/dcerpc.c +++ b/source4/librpc/rpc/dcerpc.c @@ -800,6 +800,8 @@ NTSTATUS dcerpc_ndr_request(struct dcerpc_pipe *p, if (pull->offset != pull->data_size) { DEBUG(0,("Warning! %d unread bytes\n", pull->data_size - pull->offset)); + status = NT_STATUS_INFO_LENGTH_MISMATCH; + goto failed; } failed: -- cgit