mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
671. [bug] The message code was failing to parse a message with
no question section and a TSIG record. [RT #628]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
|||||||
|
671. [bug] The message code was failing to parse a message with
|
||||||
|
no question section and a TSIG record. [RT #628]
|
||||||
|
|
||||||
670. [bug] The lwres replacements for getaddrinfo and
|
670. [bug] The lwres replacements for getaddrinfo and
|
||||||
getipnodebyname didn't properly check for the
|
getipnodebyname didn't properly check for the
|
||||||
existence of the sockaddr sa_len field.
|
existence of the sockaddr sa_len field.
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: message.c,v 1.169 2001/01/08 20:36:11 bwelling Exp $ */
|
/* $Id: message.c,v 1.170 2001/01/09 02:55:42 bwelling Exp $ */
|
||||||
|
|
||||||
/***
|
/***
|
||||||
*** Imports
|
*** Imports
|
||||||
@@ -1140,9 +1140,6 @@ getsection(isc_buffer_t *source, dns_message_t *msg, dns_decompress_t *dctx,
|
|||||||
* established a class. Do so now.
|
* established a class. Do so now.
|
||||||
*/
|
*/
|
||||||
if (msg->state == DNS_SECTION_ANY) {
|
if (msg->state == DNS_SECTION_ANY) {
|
||||||
if ((msg->opcode != dns_opcode_update) &&
|
|
||||||
(rdclass == 0 || rdclass == dns_rdataclass_any))
|
|
||||||
DO_FORMERR;
|
|
||||||
msg->rdclass = rdclass;
|
msg->rdclass = rdclass;
|
||||||
msg->state = DNS_SECTION_QUESTION;
|
msg->state = DNS_SECTION_QUESTION;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user