25158b2 dns-domain: make each label nul-terminated

2 files Authored by Yu Watanabe 2 years ago, Committed by zbyszek 2 years ago,
    dns-domain: make each label nul-terminated
    
    dns_label_unescape() does not nul-terminate the buffer if it does not
    have enough space. Hence, if a lable is enough long, then strjoin()
    triggers buffer-overflow.
    
    Fixes #23705.
    
    (cherry picked from commit 9db01ca5b0322bc035e1ccd6b8a0d98a26533b4a)
    
        
file modified
+1 -1
file modified
+1 -0