]> git.ipfire.org Git - thirdparty/glibc.git/commit
resolv: Add internal __ns_name_length_uncompressed function
authorFlorian Weimer <fweimer@redhat.com>
Tue, 30 Aug 2022 08:02:49 +0000 (10:02 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 20 Sep 2022 10:29:27 +0000 (12:29 +0200)
commita333ba1d50c38d353e54f24c0ca4213494ce2ad6
treec102c40052f33fd43bf0d81c9a8f508f55682d98
parentd7c22ec359ac10432fc5df769f6350f0a2365c5f
resolv: Add internal __ns_name_length_uncompressed function

This function is useful for checking that the question name is
uncompressed (as it should be).

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
(cherry picked from commit 78b1a4f0e49064e5dfb686c7cd87bd4df2640b29)
include/arpa/nameser.h
resolv/Makefile
resolv/ns_name_length_uncompressed.c [new file with mode: 0644]
resolv/tst-ns_name_length_uncompressed.c [new file with mode: 0644]