Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
32e64787
Commit
32e64787
authored
Jan 09, 2001
by
Brian Wellington
Browse files
671. [bug] The message code was failing to parse a message with
no question section and a TSIG record. [RT
#628
]
parent
fa5a42fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
32e64787
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
getipnodebyname didn't properly check for the
existence of the sockaddr sa_len field.
...
...
lib/dns/message.c
View file @
32e64787
...
...
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: message.c,v 1.1
69
2001/01/0
8 20:36:11
bwelling Exp $ */
/* $Id: message.c,v 1.1
70
2001/01/0
9 02:55:42
bwelling Exp $ */
/***
*** Imports
...
...
@@ -1140,9 +1140,6 @@ getsection(isc_buffer_t *source, dns_message_t *msg, dns_decompress_t *dctx,
* established a class. Do so now.
*/
if
(
msg
->
state
==
DNS_SECTION_ANY
)
{
if
((
msg
->
opcode
!=
dns_opcode_update
)
&&
(
rdclass
==
0
||
rdclass
==
dns_rdataclass_any
))
DO_FORMERR
;
msg
->
rdclass
=
rdclass
;
msg
->
state
=
DNS_SECTION_QUESTION
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment