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>
Thu, 13 Jun 2019 09:26:43 +0000 (11:26 +0200)
commitc2423655657f3074c80ae06f0b6806fc71c8bb41
treee68e1b6cff7c9fa657429137ea1ac4b8614a838d
parent09818693ac251a15df39433ed529b882883cdd44
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