mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-18 18:18:00 -05:00
parent
bb10ea3f7a
commit
791663dd60
2 changed files with 11 additions and 11 deletions
2
CHANGES
2
CHANGES
|
|
@ -86,7 +86,7 @@
|
|||
zone transfers to prevent journal corruption. [GL #339]
|
||||
|
||||
4983. [cleanup] Remove the deprecated flag from "answer-cookie";
|
||||
it will be allowed to persist into 9.13. [GL #275].
|
||||
it will be allowed to persist into 9.13. [GL #275].
|
||||
|
||||
4982. [cleanup] Return FORMERR if the question section is empty
|
||||
and no COOKIE option is present; this restores
|
||||
|
|
|
|||
|
|
@ -855,18 +855,18 @@ parse_xint(uint32_t *uip, const char *value, uint32_t max,
|
|||
|
||||
static void
|
||||
newopts(struct query *query) {
|
||||
size_t len = sizeof(query->ednsopts[0]) * EDNSOPTS;
|
||||
size_t i;
|
||||
size_t len = sizeof(query->ednsopts[0]) * EDNSOPTS;
|
||||
size_t i;
|
||||
|
||||
query->ednsopts = isc_mem_allocate(mctx, len);
|
||||
if (query->ednsopts == NULL)
|
||||
fatal("out of memory");
|
||||
query->ednsopts = isc_mem_allocate(mctx, len);
|
||||
if (query->ednsopts == NULL)
|
||||
fatal("out of memory");
|
||||
|
||||
for (i = 0; i < EDNSOPTS; i++) {
|
||||
query->ednsopts[i].code = 0;
|
||||
query->ednsopts[i].length = 0;
|
||||
query->ednsopts[i].value = NULL;
|
||||
}
|
||||
for (i = 0; i < EDNSOPTS; i++) {
|
||||
query->ednsopts[i].code = 0;
|
||||
query->ednsopts[i].length = 0;
|
||||
query->ednsopts[i].value = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Reference in a new issue