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

getrrsetbyname: Fix null-deref with response->answer #476

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maks-mishin
Copy link

Pointer 'rr', which is dereferenced at getrrsetbyname.c:276, is compared to a NULL value at getrrsetbyname.c:319.

Found by RASU JCS.

Pointer 'rr', which is dereferenced at getrrsetbyname.c:276,
is compared to a NULL value at getrrsetbyname.c:319.

Found by RASU JCS.
@djmdjm
Copy link
Contributor

djmdjm commented Apr 30, 2024

I'll look at getting this fixed upstream, but it's amusing the analyser missed another dereference just a few lines later: 0555438#diff-32a975c1ea4e4ce98e3d001c8be80d498926d26459768d97fe241173e73ea0a5R289

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants