]> git.ipfire.org Git - thirdparty/glibc.git/commit
resolv: Add internal __res_binary_hnok function
authorFlorian Weimer <fweimer@redhat.com>
Tue, 30 Aug 2022 08:02:49 +0000 (10:02 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 13 Sep 2022 10:56:24 +0000 (12:56 +0200)
commit3c9b4004e2dccc9ca2ace078a0106f9d682fd1a0
tree4bf4a42b512ddf6fec30697d9a8e9d4c4458c5a6
parentbffc33e90ed57a4786c676dda92d935e3613e031
resolv: Add internal __res_binary_hnok function

During package parsing, only the binary representation is available,
and it is convenient to check that directly for conformance with host
name requirements.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
(cherry picked from commit c79327bf00a4be6d60259227acc78ef80ead3622)
include/resolv.h
resolv/res-name-checking.c