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

SIGSEGV in Dialer.GetDNSDataFromCache #346

Open
dwisiswant0 opened this issue Sep 16, 2024 · 0 comments
Open

SIGSEGV in Dialer.GetDNSDataFromCache #346

dwisiswant0 opened this issue Sep 16, 2024 · 0 comments

Comments

@dwisiswant0
Copy link
Member

Steps to Reproduce:

  • This happens when an interruption occurs in Nuclei.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0xcea227]

goroutine 58375 [running]:
github.com/projectdiscovery/fastdialer/fastdialer.(*Dialer).GetDNSDataFromCache(0x0, {0xc0182118c8?, 0xc0182118c8?})
	/home/dw1/.go/pkg/mod/github.com/projectdiscovery/[email protected]/fastdialer/dialer.go:345 +0x47
github.com/projectdiscovery/fastdialer/fastdialer.(*Dialer).GetDNSData(0x0, {0xc0182118c8?, 0x0?})
	/home/dw1/.go/pkg/mod/github.com/projectdiscovery/[email protected]/fastdialer/dialer.go:390 +0x33c
github.com/projectdiscovery/nuclei/v3/pkg/protocols/http.(*Request).addCNameIfAvailable(0x27d1ca0?, {0xc0182118c8?, 0x2bff6eb?}, 0xc01a0820f0)
	/home/dw1/Development/PD/nuclei/pkg/protocols/http/request.go:1045 +0x28
github.com/projectdiscovery/nuclei/v3/pkg/protocols/http.(*Request).executeRequest(0xc0084663c0, 0xc01604b200, 0xc007cf31a0, 0xc0064bff58, 0x0, 0xc018266be0?, 0x0)
	/home/dw1/Development/PD/nuclei/pkg/protocols/http/request.go:951 +0x289b
github.com/projectdiscovery/nuclei/v3/pkg/protocols/http.(*Request).executeParallelHTTP.func3(0xc007cf31a0)
	/home/dw1/Development/PD/nuclei/pkg/protocols/http/request.go:308 +0x2d8
created by github.com/projectdiscovery/nuclei/v3/pkg/protocols/http.(*Request).executeParallelHTTP in goroutine 54484
	/home/dw1/Development/PD/nuclei/pkg/protocols/http/request.go:292 +0x37c
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