mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 15:45:25 +00:00
4033. [bug] Missing out of memory check in request.c:req_send.
[RT #38311]
This commit is contained in:
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
|
4032. [bug] Built-in "empty" zones did not correctly inherit the
|
||||||
"allow-transfer" ACL from the options or view.
|
"allow-transfer" ACL from the options or view.
|
||||||
[RT #38310]
|
[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,
|
sendevent = isc_socket_socketevent(request->mctx, socket,
|
||||||
ISC_SOCKEVENT_SENDDONE,
|
ISC_SOCKEVENT_SENDDONE,
|
||||||
req_senddone, request);
|
req_senddone, request);
|
||||||
|
if (sendevent == NULL)
|
||||||
|
return (ISC_R_NOMEMORY);
|
||||||
if (request->dscp == -1) {
|
if (request->dscp == -1) {
|
||||||
sendevent->attributes &= ~ISC_SOCKEVENTATTR_DSCP;
|
sendevent->attributes &= ~ISC_SOCKEVENTATTR_DSCP;
|
||||||
sendevent->dscp = 0;
|
sendevent->dscp = 0;
|
||||||
|
Reference in New Issue
Block a user