1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

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 9a201fd4c8)
This commit is contained in:
Stefan Metzmacher 2007-11-08 13:52:56 +01:00
parent 9ba9af75d2
commit 248e900374

View File

@ -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");