summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-11-08 13:52:56 +0100
committerStefan Metzmacher <metze@samba.org>2007-11-08 13:52:56 +0100
commit248e900374e19b45b0097024e85517ebaafba9f6 (patch)
tree46cae8ca32dda796aab07204264cda49de58a83b
parent9ba9af75d21d35d0502acda0795b9662890b2169 (diff)
downloadsamba-248e900374e19b45b0097024e85517ebaafba9f6.tar.gz
samba-248e900374e19b45b0097024e85517ebaafba9f6.tar.bz2
samba-248e900374e19b45b0097024e85517ebaafba9f6.zip
we should not ignore convert_string_talloc() failures.
In all other places in ndr_string.c we already use False... metze (This used to be commit 9a201fd4c81509eb8a93087a38bb0fda69dfd7e4)
-rw-r--r--source3/librpc/ndr/ndr_string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/librpc/ndr/ndr_string.c b/source3/librpc/ndr/ndr_string.c
index bc4582cca7..8c0b7231d6 100644
--- a/source3/librpc/ndr/ndr_string.c
+++ b/source3/librpc/ndr/ndr_string.c
@@ -84,7 +84,7 @@ NTSTATUS ndr_pull_string(struct ndr_pull *ndr, int ndr_flags, const char **s)
chset, CH_UNIX,
ndr->data+ndr->offset,
(len2 + c_len_term)*byte_mul,
- &as, True);
+ &as, False);
if (ret == -1) {
return ndr_pull_error(ndr, NDR_ERR_CHARCNV,
"Bad character conversion");