[PATCH] dns: clean up error paths in dns-manager

2016-01-20 Thread Dan Williams
Specifically for resolvconf, if the write succeeded, but the pclose() failed error would be left NULL and SR_ERROR would be returned, which caused a crash in nm_dns_manager_end_updates(). --- src/dns-manager/nm-dns-manager.c | 126 ++- 1 file changed, 58

Re: [PATCH] dns: clean up error paths in dns-manager

2016-01-20 Thread Thomas Haller
On Wed, 2016-01-20 at 13:52 -0600, Dan Williams wrote: > Specifically for resolvconf, if the write succeeded, but the pclose() > failed error would be left NULL and SR_ERROR would be returned, which > caused a crash in nm_dns_manager_end_updates(). > --- >  src/dns-manager/nm-dns-manager.c | 126