1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r12650: Remove support for NULLTERM flag (is already covered by tridge's

fixes to [validate])
(This used to be commit aa880bf196)
This commit is contained in:
Jelmer Vernooij 2005-12-31 14:29:13 +00:00 committed by Gerald (Jerry) Carter
parent 0283bd7bf7
commit f54ef2a8f6

View File

@ -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,