On Mon, 2012-07-16 at 15:59 +0200, Pavel Březina wrote:
If we provide a hostname that was allocated on stack, it may contain
invalid data in the time when it is actually resolved.
Nack.
Please test for NULL after talloc_strdup() in the case of ENOMEM.