Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix null pointer dereference issue in function ub_ctx_set_fwd #1073

Merged
merged 1 commit into from
May 21, 2024

Conversation

xiaoxiaoafeifei
Copy link
Contributor

Fix #1072

Copy link
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
1 check passed
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
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
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