From fc82b0a2dfe7dbd35671c10510a8da1043d746a5 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Sat, 31 Dec 2016 20:22:09 +0100 Subject: CVE-2015-5180: resolv: Fix crash with internal QTYPE [BZ #18784] Also rename T_UNSPEC because an upcoming public header file update will use that name. --- include/arpa/nameser_compat.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/arpa/nameser_compat.h b/include/arpa/nameser_compat.h index 69280009b5..f7d0e043c6 100644 --- a/include/arpa/nameser_compat.h +++ b/include/arpa/nameser_compat.h @@ -3,9 +3,9 @@ # ifndef _ISOMAC -/* Picksome unused number to represent lookups of IPv4 and IPv6 (i.e., - T_A and T_AAAA). */ -#define T_UNSPEC 62321 +/* The number is outside the 16-bit RR type range and is used + internally by the implementation. */ +#define T_QUERY_A_AND_AAAA 439963904 # endif /* !_ISOMAC */ #endif -- cgit 1.4.1