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

nil pointer dereference #1375

Closed
xiaoyuer11223344 opened this issue Feb 5, 2025 · 1 comment
Closed

nil pointer dereference #1375

xiaoyuer11223344 opened this issue Feb 5, 2025 · 1 comment
Assignees
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@xiaoyuer11223344
Copy link

Naabu version:

2.3.4

Current Behavior:

Expected Behavior:

Image

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

goroutine 30 [running]:
net.(*IPConn).WriteTo(0x0?, {0xc0000e4f60?, 0xc002a40114?, 0xc000087e50?}, {0x164b3d0?, 0xc000598660?})
/usr/local/go/src/net/iprawsock.go:171 +0x27
github.com/xiaoyuer11223344/nabbu-fix/v2/pkg/scan.sendWithConn({0xc002a40114, 0xc}, {0x16590d0, 0x0}, {0xc000087e50, 0x1, 0x1})
/go/pkg/mod/github.com/xiaoyuer11223344/nabbu-fix/[email protected]/pkg/scan/scan_unix.go:488 +0x24e
github.com/xiaoyuer11223344/nabbu-fix/v2/pkg/scan.sendAsyncTCP4(0xc002d72000, {0xc002a40114, 0xc}, 0xc001a6c000, 0x0)
/go/pkg/mod/github.com/xiaoyuer11223344/nabbu-fix/[email protected]/pkg/scan/scan_unix.go:272 +0x93f
github.com/xiaoyuer11223344/nabbu-fix/v2/pkg/scan.SendAsyncPkg(0xc002d72000, {0xc002a40114, 0xc}, 0xc001a6c000, 0x0)
/go/pkg/mod/github.com/xiaoyuer11223344/nabbu-fix/[email protected]/pkg/scan/scan_unix.go:180 +0x11b
github.com/xiaoyuer11223344/nabbu-fix/v2/pkg/scan.TransportWriteWorker()
/go/pkg/mod/github.com/xiaoyuer11223344/nabbu-fix/[email protected]/pkg/scan/scan_unix.go:167 +0x4b
created by github.com/xiaoyuer11223344/nabbu-fix/v2/pkg/scan.init.3 in goroutine 1
/go/pkg/mod/github.com/xiaoyuer11223344/nabbu-fix/[email protected]/pkg/scan/scan_unix.go:96 +0x3b6

Steps To Reproduce:

Anything else:

@xiaoyuer11223344 xiaoyuer11223344 added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Feb 5, 2025
@dogancanbakir dogancanbakir self-assigned this Feb 5, 2025
@dogancanbakir
Copy link
Member

dogancanbakir commented Feb 5, 2025

@xiaoyuer11223344 Thanks for letting us know. Could you add the repro steps? Also are you able to reproduce with the main repository, this seems to happen in your fork?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

No branches or pull requests

2 participants