summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-11-05 06:58:57 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:44:16 +0100
commita1ce0635ec70960fe92d13887a95a3d04aecd74d (patch)
treed1d38885cd9c6e67f1f94af4a7ab6f31877be614 /source4
parentf5556c7232c2102c0ad6185b103e5c3239a9c699 (diff)
downloadsamba-a1ce0635ec70960fe92d13887a95a3d04aecd74d.tar.gz
samba-a1ce0635ec70960fe92d13887a95a3d04aecd74d.tar.bz2
samba-a1ce0635ec70960fe92d13887a95a3d04aecd74d.zip
r25828: don't ignore errors
metze (This used to be commit 2bd63ce9e53071dc81549e0f344a0e53737760b4)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/rpc/dcerpc_util.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c
index 3e2fd9b09b..aa65861c3f 100644
--- a/source4/librpc/rpc/dcerpc_util.c
+++ b/source4/librpc/rpc/dcerpc_util.c
@@ -82,6 +82,9 @@ NTSTATUS ncacn_push_auth(DATA_BLOB *blob, TALLOC_CTX *mem_ctx,
if (auth_info) {
status = ndr_push_dcerpc_auth(ndr, NDR_SCALARS|NDR_BUFFERS, auth_info);
+ if (!NT_STATUS_IS_OK(status)) {
+ return status;
+ }
}
*blob = ndr_push_blob(ndr);
@@ -449,6 +452,10 @@ NTSTATUS dcerpc_floor_get_lhs_data(struct epm_floor *epm_floor, struct ndr_synta
}
status = ndr_pull_uint16(ndr, NDR_SCALARS, &if_version);
+ if (!NT_STATUS_IS_OK(status)) {
+ talloc_free(mem_ctx);
+ return status;
+ }
syntax->if_version = if_version;
talloc_free(mem_ctx);