]> git.decadent.org.uk Git - odhcp6c.git/commitdiff
Avoid copying buffer after dn_expand() fails
authorBen Hutchings <ben@decadent.org.uk>
Fri, 22 Jan 2016 20:15:31 +0000 (20:15 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 28 Jan 2016 13:28:25 +0000 (13:28 +0000)
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 <ben@decadent.org.uk>

No differences found