mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 14:47:09 +00:00
Merge pull request #530 from Shchelk/bugfix
Fix: dereferencing a null pointer
This commit is contained in:
commit
7adeba3690
@ -917,8 +917,9 @@ dns64_adjust_ptr(struct module_qstate* qstate, struct module_qstate* super)
|
|||||||
sizeof(struct dns_msg))))
|
sizeof(struct dns_msg))))
|
||||||
return;
|
return;
|
||||||
super->return_msg->qinfo = super->qinfo;
|
super->return_msg->qinfo = super->qinfo;
|
||||||
super->return_msg->rep = reply_info_copy(qstate->return_msg->rep, NULL,
|
if (!(super->return_msg->rep = reply_info_copy(qstate->return_msg->rep,
|
||||||
super->region);
|
NULL, super->region)))
|
||||||
|
return;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adjust the domain name of the answer RR set so that it matches the
|
* Adjust the domain name of the answer RR set so that it matches the
|
||||||
|
Loading…
Reference in New Issue
Block a user