s4/dnsserver: handle broken zone values in sort (CID 1414763, 1414769)
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 8 May 2019 02:27:05 +0000 (14:27 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Thu, 9 May 2019 22:39:27 +0000 (22:39 +0000)
commite79c839a38caa67aeba1693570e6bf2a0c8c5814
treeed0839f87220698c9bc1dc32431e31a492a162fd
parentc737b61cb46cace806e634ec3b852546609acd93
s4/dnsserver: handle broken zone values in sort (CID 14147631414769)

We sort NULL values to the end of the list. What happens to the after
that is another question.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source4/dns_server/dnsserver_common.c