CVE-2019-12435 rpc/dns: avoid NULL deference if zone not found in DnssrvOperation2
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 22 May 2019 01:23:25 +0000 (13:23 +1200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 19 Jun 2019 07:01:12 +0000 (07:01 +0000)
commit1cac79dd982496f1112dcb63339307cbb9ec00f1
treec15631e8d7e635f2ac83232dd4fd3e87c4d04bc7
parent7ea74d55ad55027118ca8b32596f32ac4182dce6
CVE-2019-12435 rpc/dns: avoid NULL deference if zone not found in DnssrvOperation2

We still want to return DOES_NOT_EXIST when request_filter is not 0.

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/dcerpc/dnsserver.py
source4/rpc_server/dnsserver/dcerpc_dnsserver.c