s3:pylibsmb: make use of PyBytes_FromStringAndSize() in py_cli_read()
commit60148c9ee147105b36cbb8164cbb7b1c2249acb8
authorStefan Metzmacher <metze@samba.org>
Fri, 7 Dec 2018 12:47:40 +0000 (7 13:47 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 13 Dec 2018 07:52:23 +0000 (13 08:52 +0100)
treeba90f643a26f4bfa0852b2da181e09d465c5cacd
parentaaf7aaa6e26c62c62650dc01fff902d3a949a315
s3:pylibsmb: make use of PyBytes_FromStringAndSize() in py_cli_read()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=7113
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11892
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13676

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Tim Beale <timbeale@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/libsmb/pylibsmb.c