summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-31 14:29:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:49:34 -0500
commitf54ef2a8f6c12301dfe743bad47971e8ec9fb985 (patch)
tree530f7917715c8f8197c678ca4d823e352a791f63 /source4/librpc/ndr
parent0283bd7bf718513825abe4479b8cea4d08a3a456 (diff)
downloadsamba-f54ef2a8f6c12301dfe743bad47971e8ec9fb985.tar.gz
samba-f54ef2a8f6c12301dfe743bad47971e8ec9fb985.tar.bz2
samba-f54ef2a8f6c12301dfe743bad47971e8ec9fb985.zip
r12650: Remove support for NULLTERM flag (is already covered by tridge's
fixes to [validate]) (This used to be commit aa880bf1966889b1cd0b0b7d4d837dff79f0447e)
Diffstat (limited to 'source4/librpc/ndr')
-rw-r--r--source4/librpc/ndr/ndr_string.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source4/librpc/ndr/ndr_string.c b/source4/librpc/ndr/ndr_string.c
index 3f7eb9f630..fbccdb6bed 100644
--- a/source4/librpc/ndr/ndr_string.c
+++ b/source4/librpc/ndr/ndr_string.c
@@ -643,12 +643,6 @@ NTSTATUS ndr_pull_charset(struct ndr_pull *ndr, int ndr_flags, const char **var,
NDR_PULL_NEED_BYTES(ndr, length*byte_mul);
- if (ndr->flags & LIBNDR_FLAG_STR_NULLTERM) {
- /* Explicitly ignore the return value here. An array that
- * is not zero-terminated is considered a warning only, not fatal */
- ndr_check_string_terminator(ndr, length, byte_mul);
- }
-
ret = convert_string_talloc(ndr->current_mem_ctx,
chset, CH_UNIX,
ndr->data+ndr->offset,