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

panic: runtime error: invalid memory address or nil pointer dereference #156

Closed
ehsandeep opened this issue Feb 24, 2022 · 0 comments · Fixed by #160 or #162
Closed

panic: runtime error: invalid memory address or nil pointer dereference #156

ehsandeep opened this issue Feb 24, 2022 · 0 comments · Fixed by #160 or #162
Assignees
Labels
Priority: Medium This issue may be useful, and needs some attention. Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@ehsandeep
Copy link
Member

dnsx version:

1.0.8

Current Behavior:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x48 pc=0x7f9619]

goroutine 418 [running]:
github.com/projectdiscovery/retryabledns.(*DNSData).ParseFromMsg(0xc000a13340, 0x0)
/root/go/pkg/mod/github.com/projectdiscovery/retryabledns@v1.0.13-0.20220127061702-003711f5f9b4/client.go:418 +0x39
github.com/projectdiscovery/retryabledns.(*Client).QueryMultiple(0xc000136310, {0xc002660af0, 0xd}, {0xc0000a0fa0, 0x1, 0x949746})
        /root/go/pkg/mod/github.com/projectdiscovery/retryabledns@v1.0.13-0.20220127061702-003711f5f9b4/client.go:249 +0x685
github.com/projectdiscovery/dnsx/libs/dnsx.(*DNSX).QueryMultiple(...)
/root/go/pkg/mod/github.com/projectdiscovery/dnsx@v1.0.8/libs/dnsx/dnsx.go:84
github.com/projectdiscovery/dnsx/internal/runner.(*Runner).worker(0xc0000c6500)
/root/go/pkg/mod/github.com/projectdiscovery/dnsx@v1.0.8/internal/runner/runner.go:507 +0x145
created by github.com/projectdiscovery/dnsx/internal/runner.(*Runner).startWorkers
/root/go/pkg/mod/github.com/projectdiscovery/dnsx@v1.0.8/internal/runner/runner.go:493 +0x77

Steps To Reproduce:

cat ipv4 | dnsx -resp -ptr | tee -a output.txt
@ehsandeep ehsandeep added Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. Priority: Medium This issue may be useful, and needs some attention. labels Feb 24, 2022
@Mzack9999 Mzack9999 self-assigned this Mar 2, 2022
@Mzack9999 Mzack9999 added the Status: In Progress This issue is being worked on, and has someone assigned. label Mar 2, 2022
@Mzack9999 Mzack9999 linked a pull request Mar 2, 2022 that will close this issue
@Mzack9999 Mzack9999 added Status: Review Needed The issue has a PR attached to it which needs to be reviewed and removed Status: In Progress This issue is being worked on, and has someone assigned. labels Mar 2, 2022
@ehsandeep ehsandeep added Status: Completed Nothing further to be done with this issue. Awaiting to be closed. and removed Status: Review Needed The issue has a PR attached to it which needs to be reviewed labels Mar 3, 2022
@ehsandeep ehsandeep linked a pull request Mar 3, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Medium This issue may be useful, and needs some attention. Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants