corrupted requests with multiple questions could
cause assertion failure (fix from Bob)
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
||||
141. [bug] Corrupt requests with multiple questions could
|
||||
cause an assertion failure.
|
||||
|
||||
140. [cleanup] <isc/time.h> does not need <time.h> or <isc/result.h>.
|
||||
|
||||
139. [cleanup] <isc/net.h> now includes <isc/types.h> instead of
|
||||
|
||||
@@ -941,6 +941,7 @@ getquestions(isc_buffer_t *source, dns_message_t *msg, dns_decompress_t *dctx)
|
||||
rdataset->attributes |= DNS_RDATASETATTR_QUESTION;
|
||||
|
||||
ISC_LIST_APPEND(name->list, rdataset, link);
|
||||
rdataset = NULL;
|
||||
}
|
||||
|
||||
return (ISC_R_SUCCESS);
|
||||
|
||||
Reference in New Issue
Block a user