From: Ben Hutchings Date: Fri, 22 Jan 2016 20:15:31 +0000 (+0000) Subject: Avoid copying buffer after dn_expand() fails X-Git-Tag: debian/1.1+git20160131-1~8^2~8 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;ds=inline;h=121a043f6dd1b6c6171dae3c041cb50693eae63f;hp=121a043f6dd1b6c6171dae3c041cb50693eae63f;p=odhcp6c.git Avoid copying buffer after dn_expand() fails If dn_expand() returns an error we could copy from an uninitialised output buffer or append the previous domain name again. Signed-off-by: Ben Hutchings ---