mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
4033. [bug] Missing out of memory check in request.c:req_send.
[RT #38311]
This commit is contained in:
parent
6124e803cf
commit
f4dda9cf28
3
CHANGES
3
CHANGES
@ -1,3 +1,6 @@
|
||||
4033. [bug] Missing out of memory check in request.c:req_send.
|
||||
[RT #38311]
|
||||
|
||||
4032. [bug] Built-in "empty" zones did not correctly inherit the
|
||||
"allow-transfer" ACL from the options or view.
|
||||
[RT #38310]
|
||||
|
@ -444,6 +444,8 @@ req_send(dns_request_t *request, isc_task_t *task, isc_sockaddr_t *address) {
|
||||
sendevent = isc_socket_socketevent(request->mctx, socket,
|
||||
ISC_SOCKEVENT_SENDDONE,
|
||||
req_senddone, request);
|
||||
if (sendevent == NULL)
|
||||
return (ISC_R_NOMEMORY);
|
||||
if (request->dscp == -1) {
|
||||
sendevent->attributes &= ~ISC_SOCKEVENTATTR_DSCP;
|
||||
sendevent->dscp = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user