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

Segfault in examples/dns on a malformed DNS packet #198

Open
pictyeye opened this issue Apr 2, 2021 · 0 comments
Open

Segfault in examples/dns on a malformed DNS packet #198

pictyeye opened this issue Apr 2, 2021 · 0 comments

Comments

@pictyeye
Copy link

pictyeye commented Apr 2, 2021

The attached packet (found using AFL) triggers a segmentation fault in act_domain (dns.c): segfaulter.txt (NB: I had to base64 encode the packet to submit the issue on GH)

To reproduce the bug, you must first run the dns server using

scons examples
build/opt/examples/dns

Then, you can trigger the segfault using

openssl enc -d -base64 < segfaulter.txt | nc localhost 53
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

No branches or pull requests

1 participant