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
332ed11a
Commit
332ed11a
authored
Jan 04, 2006
by
Mark Andrews
Browse files
1948. [bug] If was possible to trigger a REQUIRE failure in
xfrin.c:maybe_free() if named ran out of memory. [RT #15568]
parent
fabf2ee6
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
332ed11a
1948. [bug] If was possible to trigger a REQUIRE failure in
xfrin.c:maybe_free() if named ran out of memory.
[RT #15568]
1947. [func] It is now possible to configure named to accept
expired RRSIGs. Default "dnssec-accept-expired no;".
Setting "dnssec-accept-expired yes;" leaves named
...
...
lib/dns/xfrin.c
View file @
332ed11a
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: xfrin.c,v 1.14
2
200
5/11/03 22:59:53
marka Exp $ */
/* $Id: xfrin.c,v 1.14
3
200
6/01/04 03:03:11
marka Exp $ */
/*! \file */
...
...
@@ -799,7 +799,18 @@ xfrin_create(isc_mem_t *mctx,
return
(
ISC_R_SUCCESS
);
failure:
xfrin_fail
(
xfr
,
result
,
"failed creating transfer context"
);
if
(
xfr
->
timer
!=
NULL
)
isc_timer_detach
(
&
xfr
->
timer
);
if
(
dns_name_dynamic
(
&
xfr
->
name
))
dns_name_free
(
&
xfr
->
name
,
xfr
->
mctx
);
if
(
xfr
->
tsigkey
!=
NULL
)
dns_tsigkey_detach
(
&
xfr
->
tsigkey
);
if
(
xfr
->
db
!=
NULL
)
dns_db_detach
(
&
xfr
->
db
);
isc_task_detach
(
&
xfr
->
task
);
dns_zone_idetach
(
&
xfr
->
zone
);
isc_mem_put
(
mctx
,
xfr
,
sizeof
(
*
xfr
));
return
(
result
);
}
...
...
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