diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-12-31 20:22:09 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-12-31 20:27:44 +0100 |
commit | fc82b0a2dfe7dbd35671c10510a8da1043d746a5 (patch) | |
tree | 86b8ef6421ca34fa1907121e078e008c580029ea /include/arpa | |
parent | 3c589b1a8a4401e258ba23a03fcbcc79b82393ab (diff) | |
download | glibc-fc82b0a2dfe7dbd35671c10510a8da1043d746a5.tar.gz glibc-fc82b0a2dfe7dbd35671c10510a8da1043d746a5.tar.xz glibc-fc82b0a2dfe7dbd35671c10510a8da1043d746a5.zip |
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.
Diffstat (limited to 'include/arpa')
-rw-r--r-- | include/arpa/nameser_compat.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 |