CVE-2019-3824 ldb: ldb_parse_tree use talloc_zero
commite71cdbe57b5c86e597f1c007c07c66df652038c5
authorGary Lockyer <gary@catalyst.net.nz>
Mon, 18 Feb 2019 21:25:24 +0000 (19 10:25 +1300)
committerStefan Metzmacher <metze@samba.org>
Tue, 26 Feb 2019 11:15:12 +0000 (26 12:15 +0100)
treed3f925a35654759b0a65436c20cadc06eea9735c
parent5d6df9adbfd279cc0da7d5cae90cd724b635e97c
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