From c786c61d1a72f3f8782e8f5a4a087276ce161a6e Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 8 Jun 2017 15:02:16 +0200 Subject: [PATCH] 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 Reviewed-by: Stefan Metzmacher --- libcli/smb/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.47.2