[PATCH] Two small dns server fixes

Kai Blin kai at samba.org
Tue Aug 4 13:15:52 UTC 2015


On 2015-08-01 18:03, Volker Lendecke wrote:

Hi Volker,

>   	case DNS_QTYPE_PTR:
>   		ans[ai].rdata.ptr_record = talloc_strdup(ans, rec->data.ptr);
> +		W_ERROR_HAVE_NO_MEMORY(ans[ai].rdata.ptr_record);
>   		break;

I thought we're not using these macros anymore? I keep getting yelled at 
if I'm adding new instances. :)

Apart from this, it's obviously correct.

Cheers,
Kai

-- 
Kai Blin
Samba Developer http://samba.team



More information about the samba-technical mailing list