[SSSD] [PATCH] Use deep copy for dns_domain and discovery_domain

Jakub Hrozek jhrozek at redhat.com
Mon Jun 3 13:06:02 UTC 2013


On Mon, Jun 03, 2013 at 12:44:19PM +0200, Lukas Slebodnik wrote:
> ehlo,
> 
> srv_data->dns_domain and srv_data->discovery_domain pointed to the same memory.
> 
> srv_data->dns_domain was freed in function resolve_srv_done()
> but srv_data->discovery_domain was used on another place.
> 
> If there is a reason, that dns_domain and discovery_domain should be the same,
> then It is possible to unite them to one "domain" member
> 
> Patch is attached
> 
> LS

Ack!



More information about the sssd-devel mailing list