CVE-2019-12435 rpc/dns: avoid NULL deference if zone not found in DnssrvOperation
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 22 May 2019 00:58:01 +0000 (12:58 +1200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 19 Jun 2019 07:01:12 +0000 (07:01 +0000)
commit7ea74d55ad55027118ca8b32596f32ac4182dce6
tree2f5d8920b6dbe2334c84ee2ebc368a1a5bedc311
parentf04260ce02cb3c5effd7f9866bcc332d061c25f4
CVE-2019-12435 rpc/dns: avoid NULL deference if zone not found in DnssrvOperation

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