58b3359 resolv_gethostbyname_send: strdup hostname to work properly when hostname is allocated on stack

1 file Authored by pbrezina 11 years ago, Committed by sgallagh 11 years ago,
    resolv_gethostbyname_send: strdup hostname to work properly when hostname is allocated on stack
    
    If we provide a hostname that was allocated on stack, it may contain
    invalid data in the time when it is actually resolved.
    
    This patch fixes it.
    
        
file modified
+12 -5