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: integer divide by zero #3642

Closed
ehsandeep opened this issue May 3, 2023 Discussed in #2515 · 0 comments · Fixed by projectdiscovery/retryabledns#123
Closed

panic: runtime error: integer divide by zero #3642

ehsandeep opened this issue May 3, 2023 Discussed in #2515 · 0 comments · Fixed by projectdiscovery/retryabledns#123
Labels
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

ehsandeep commented May 3, 2023

Discussed in #2515

Originally posted by Sahabalam July 22, 2022
Running : Nuclei high

panic: runtime error: integer divide by zero

goroutine 10640 [running]:
github.com/projectdiscovery/retryabledns.(*Client).Do(0xc00067b380, 0x1?)
        /home/kali/go/pkg/mod/github.com/projectdiscovery/retryabledns@v1.0.13/client.go:109 +0x32e
github.com/projectdiscovery/nuclei/v2/pkg/protocols/dns.(*Request).ExecuteWithResults(0xc004524b40, {0xc0073175f0, 0x2b}, 0xc004cce7b0?, 0xc004cce7e0?, 0xc004cce810)
        /home/kali/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.7.4/pkg/protocols/dns/request.go:83 +0x725
github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/executer.(*Executer).Execute(0xc005393860, {0xc0073175f0, 0x2b})
        /home/kali/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.7.4/pkg/protocols/common/executer/executer.go:68 +0x1ae
github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2.1(0x0?, 0x0?, {0xc0073175f0?, 0xffffffffffffffff?})
        /home/kali/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.7.4/pkg/core/execute.go:142 +0x11e
created by github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2
        /home/kali/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.7.4/pkg/core/execute.go:129 +0x6ad

Fixed in projectdiscovery/retryabledns#123

@ehsandeep ehsandeep added Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. Type: Question A query or seeking clarification on parts of the spec. Probably doesn't need the attention of all. Status: Completed Nothing further to be done with this issue. Awaiting to be closed. and removed Type: Question A query or seeking clarification on parts of the spec. Probably doesn't need the attention of all. labels May 3, 2023
@ehsandeep ehsandeep added this to the nuclei v2.9.3 (bugfix) milestone May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

1 participant