Skip to content

fix null pointer dereference issue in function ub_ctx_set_fwd#1073

Merged
wcawijngaards merged 1 commit intoNLnetLabs:masterfrom
xiaoxiaoafeifei:master
May 21, 2024
Merged

fix null pointer dereference issue in function ub_ctx_set_fwd#1073
wcawijngaards merged 1 commit intoNLnetLabs:masterfrom
xiaoxiaoafeifei:master

Conversation

@xiaoxiaoafeifei
Copy link
Copy Markdown
Contributor

Fix #1072

Copy link
Copy Markdown
Member

@wcawijngaards wcawijngaards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good to prevent NULL pointer use. A similar case exists for stubs and views.

@wcawijngaards wcawijngaards merged commit 9ccb8d5 into NLnetLabs:master May 21, 2024
wcawijngaards added a commit that referenced this pull request May 21, 2024
- Merge #1073: fix null pointer dereference issue in function
  ub_ctx_set_fwd.
@wcawijngaards
Copy link
Copy Markdown
Member

Thank you for the bugfix. The issue additionally has the commit 86ee8cc , it is there to stop the parse of the config file from making NULL name entries, also for stub-zones and views.

@pemensik
Copy link
Copy Markdown
Contributor

pemensik commented Oct 4, 2024

This issue were assigned CVE-2024-43167 by Red Hat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Null pointer dereference issue in function ub_ctx_set_fwd of file libunbound/libunbound.c

3 participants