s3:client: Make sure we work on a copy of the title
authorAndreas Schneider <asn@samba.org>
Tue, 12 Mar 2019 09:09:14 +0000 (10:09 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 22 Mar 2019 09:55:35 +0000 (09:55 +0000)
commite07b8444f53337f89b1641e7fe3553fa74d1f663
tree9dbd62c58f2e1a5bb34be5e8fbc649785e8e3c1f
parent590fd475878230420c7f74feed839f15619cc726
s3:client: Make sure we work on a copy of the title

We can't be sure we can write to the input buffer.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13832

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bryan Mason <bmason@redhat.com>
Signed-off-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit 129ae27946318a075e99c9e6d1bacf8963f72282)
source3/client/smbspool.c