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:51:11 +0000 (07:51 +0100)
commitda12e534efe2c80dc394295315a9a34ac72a2e9f
treec9177201fd3f75bad717e3680c439a5ee0b4d56d
parent699e2aa19946d43b162355dcb299a1dd798c9cd7
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