]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared: recognize DNS names with more than one trailing dot as invalid (#4111)
authorMartin Pitt <martin.pitt@ubuntu.com>
Fri, 9 Sep 2016 15:11:54 +0000 (17:11 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 9 Sep 2016 15:11:54 +0000 (16:11 +0100)
commitf35c467db30481be231fca0056b132b2214f2d42
tree925dcfcf13a05b5b0a889e70b79cd5d27883169e
parent0dd99f86addd1f81e24e89807b6bc4aab57d5793
shared: recognize DNS names with more than one trailing dot as invalid (#4111)

One trailing dot is valid, but more than one isn't. This also fixes glibc's
posix/tst-getaddrinfo5 test.

Fixes #3978.
src/shared/dns-domain.c
src/test/test-dns-domain.c