CVE-2018-16852 dcerpc dnsserver: refactor common properties handling
authorGary Lockyer <gary@catalyst.net.nz>
Wed, 7 Nov 2018 02:08:04 +0000 (15:08 +1300)
committerKarolin Seeger <kseeger@samba.org>
Wed, 28 Nov 2018 07:22:24 +0000 (08:22 +0100)
commit9a12a001466b21cfb27cb77ee01b11d84bcb36b4
tree2f4015df7de2586f8e940097191974466852c61c
parent2b00f8fa9fdcecbd6951f09d528531c5585b9778
CVE-2018-16852 dcerpc dnsserver: refactor common properties handling

dnsserver_common.c and dnsutils.c both share similar code to process
zone properties.  This patch extracts the common code and moves it to
dnsserver_common.c.

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

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dns_server/dnsserver_common.c
source4/dns_server/dnsserver_common.h
source4/rpc_server/dnsserver/dnsutils.c