"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "source4/dns_server/dnsserver_common.c" between
samba-4.12.3.tar.gz and samba-4.12.5.tar.gz

About: Samba is the standard Windows interoperability suite of programs for Linux and Unix providing secure, stable and fast file and print services for all clients using the SMB/CIFS protocol. 4.12 series.

dnsserver_common.c  (samba-4.12.3):dnsserver_common.c  (samba-4.12.5)
skipping to change at line 904 skipping to change at line 904
prop = talloc_zero(mem_ctx, struct dnsp_DnsProperty); prop = talloc_zero(mem_ctx, struct dnsp_DnsProperty);
if (prop == NULL) { if (prop == NULL) {
return WERR_NOT_ENOUGH_MEMORY; return WERR_NOT_ENOUGH_MEMORY;
} }
err = ndr_pull_struct_blob( err = ndr_pull_struct_blob(
&(element->values[i]), &(element->values[i]),
mem_ctx, mem_ctx,
prop, prop,
(ndr_pull_flags_fn_t)ndr_pull_dnsp_DnsProperty); (ndr_pull_flags_fn_t)ndr_pull_dnsp_DnsProperty);
if (!NDR_ERR_CODE_IS_SUCCESS(err)) { if (!NDR_ERR_CODE_IS_SUCCESS(err)) {
return DNS_ERR(SERVER_FAILURE); /*
* If we can't pull it, then there is no valid
* data to load into the zone, so ignore this
* as Micosoft does. Windows can load an
* invalid property with a zero length into
* the dnsProperty attribute.
*/
continue;
} }
valid_property = valid_property =
dns_zoneinfo_load_zone_property(zoneinfo, prop); dns_zoneinfo_load_zone_property(zoneinfo, prop);
if (!valid_property) { if (!valid_property) {
return DNS_ERR(SERVER_FAILURE); return DNS_ERR(SERVER_FAILURE);
} }
} }
return WERR_OK; return WERR_OK;
 End of changes. 1 change blocks. 
1 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)