]> 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>
Wed, 21 Sep 2022 17:36:12 +0000 (19:36 +0200)
commitc288e032ae107c48679ef3c46fb84af6de0a6baf
tree2970434c0e38355eb2c554e2e86ee532d366c5f9
parentbb8adbba4f5d9237a144786ba8e504039beff161
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]