summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2017-06-08 15:02:16 +0200
committerAndreas Schneider <asn@cryptomilk.org>2017-06-09 13:00:11 +0200
commitc786c61d1a72f3f8782e8f5a4a087276ce161a6e (patch)
tree63e0bfe1afa3ec7d021694bc03b6727087251b19 /libcli
parentd18379fa009ddabfea53cb4095ff84574c699f37 (diff)
downloadsamba-c786c61d1a72f3f8782e8f5a4a087276ce161a6e.tar.gz
Revert "libcli:smb: Fix pulling strings from the wire"
This reverts commit a4efe647c51700cee93b7574e5955e264aa96893. A different fix will follow. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12824 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'libcli')
-rw-r--r--libcli/smb/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/smb/util.c b/libcli/smb/util.c
index 80d34281adf..ef8c9fafa35 100644
--- a/libcli/smb/util.c
+++ b/libcli/smb/util.c
@@ -372,6 +372,6 @@ NTSTATUS smb_bytes_pull_str(TALLOC_CTX *mem_ctx, char **_str, bool ucs2,
const uint8_t *buf, size_t buf_len,
size_t *_buf_consumed)
{
- return internal_bytes_pull_str(mem_ctx, _str, ucs2, false,
+ return internal_bytes_pull_str(mem_ctx, _str, ucs2, true,
buf, buf_len, _buf_consumed);
}