mirror of
https://github.com/mollyim/unbound.git
synced 2025-05-13 05:40:36 +01:00
Merge pull request #530 from Shchelk/bugfix
Fix: dereferencing a null pointer
This commit is contained in:
commit
7adeba3690
1 changed files with 3 additions and 2 deletions
|
@ -917,8 +917,9 @@ dns64_adjust_ptr(struct module_qstate* qstate, struct module_qstate* super)
|
|||
sizeof(struct dns_msg))))
|
||||
return;
|
||||
super->return_msg->qinfo = super->qinfo;
|
||||
super->return_msg->rep = reply_info_copy(qstate->return_msg->rep, NULL,
|
||||
super->region);
|
||||
if (!(super->return_msg->rep = reply_info_copy(qstate->return_msg->rep,
|
||||
NULL, super->region)))
|
||||
return;
|
||||
|
||||
/*
|
||||
* Adjust the domain name of the answer RR set so that it matches the
|
||||
|
|
Loading…
Reference in a new issue