mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s4:dlz_bind9: add no memory checks
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 17 14:07:25 CEST 2011 on sn-devel-104
This commit is contained in:
parent
d9558fdc34
commit
ebcf45b550
@ -1021,6 +1021,10 @@ _PUBLIC_ isc_result_t dlz_configure(dns_view_t *view, void *dbdata)
|
||||
continue;
|
||||
}
|
||||
zone_dn = ldb_dn_copy(tmp_ctx, dn);
|
||||
if (zone_dn == NULL) {
|
||||
talloc_free(tmp_ctx);
|
||||
return ISC_R_NOMEMORY;
|
||||
}
|
||||
|
||||
if (!b9_has_soa(state, zone_dn, zone)) {
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user