summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/ndr_unixinfo.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-01-11 01:47:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:02 -0500
commitb79629fcc431764f1ec34876e7a28e242d205ac8 (patch)
treecdca7707dd642489398809020a0e17d44dc50169 /source3/librpc/gen_ndr/ndr_unixinfo.c
parentc7f59d48c16d5c64d70b9c5224b7171b4cbc4b5e (diff)
downloadsamba-b79629fcc431764f1ec34876e7a28e242d205ac8.tar.gz
samba-b79629fcc431764f1ec34876e7a28e242d205ac8.tar.bz2
samba-b79629fcc431764f1ec34876e7a28e242d205ac8.zip
r20674: Regenerate NDR parsers after pidl changes. This should fix a couple of
coverity warnings. (This used to be commit 5f86d006debd880ec35db4ebe7db0663c5cb220f)
Diffstat (limited to 'source3/librpc/gen_ndr/ndr_unixinfo.c')
-rw-r--r--source3/librpc/gen_ndr/ndr_unixinfo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/librpc/gen_ndr/ndr_unixinfo.c b/source3/librpc/gen_ndr/ndr_unixinfo.c
index 026a8abc96..b85cc0319a 100644
--- a/source3/librpc/gen_ndr/ndr_unixinfo.c
+++ b/source3/librpc/gen_ndr/ndr_unixinfo.c
@@ -363,7 +363,6 @@ NTSTATUS ndr_pull_unixinfo_GetPWUid(struct ndr_pull *ndr, int flags, struct unix
NDR_PULL_ALLOC(ndr, r->out.count);
*r->out.count = *r->in.count;
if (r->in.uids) {
- if (r->in.count == NULL) return NT_STATUS_INVALID_PARAMETER_MIX;
NDR_CHECK(ndr_check_array_size(ndr, (void*)&r->in.uids, *r->in.count));
}
}
@@ -388,7 +387,6 @@ NTSTATUS ndr_pull_unixinfo_GetPWUid(struct ndr_pull *ndr, int flags, struct unix
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_infos_0, 0);
NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
if (r->out.infos) {
- if (r->out.count == NULL) return NT_STATUS_INVALID_PARAMETER_MIX;
NDR_CHECK(ndr_check_array_size(ndr, (void*)&r->out.infos, *r->out.count));
}
}