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 08:14:07 +0000 (08:14 +0000)
commitc6f1719b5e25984afc3168bdcd8efdb301108afd
tree40b67011a489a637d2c1a18bc2d0533d3db5c968
parent0db9487434a27da6cce956a7a6b68e4d00093b9d
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