CVE-2019-3824 ldb: ldb_parse_tree use talloc_zero
authorGary Lockyer <gary@catalyst.net.nz>
Mon, 18 Feb 2019 21:25:24 +0000 (10:25 +1300)
committerStefan Metzmacher <metze@samba.org>
Tue, 26 Feb 2019 06:50:15 +0000 (07:50 +0100)
commit754bc1a76e91c265fc1cd69264d013ea60d25392
treeebd58f801fbaf3c1bece478bfc001968e72eac14
parent33fa01b4be0d70c880a82069cd264c618b981822
CVE-2019-3824 ldb: ldb_parse_tree use talloc_zero

Initialise the created ldb_parse_tree with talloc_zero, this ensures
that it is correctly initialised if inadvertently passed to a function
expecting a different operation type.

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

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
lib/ldb/common/ldb_parse.c