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

clientconf tool crashes on -add-subnets with no decoys #74

Open
ewust opened this issue Sep 29, 2021 · 0 comments
Open

clientconf tool crashes on -add-subnets with no decoys #74

ewust opened this issue Sep 29, 2021 · 0 comments

Comments

@ewust
Copy link
Member

ewust commented Sep 29, 2021

Creating a ClientConf with no decoys and trying to add phantom subnets seems to crash the tool:

./clientconf -add-subnets "1.2.3.0/24 2001::/8" -weight 1 -o test

[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x665e5c]

goroutine 1 [running]:
main.addSubnets(0xc00000e240, 0x2, 0x2, 0xc00001e400, 0xc0000121e0)
	/home/ewust/go/src/github.com/refraction-networking/gotapdance/tools/clientconf/clientconf.go:136 +0x15c
main.main()
	/home/ewust/go/src/github.com/refraction-networking/gotapdance/tools/clientconf/clientconf.go:218 +0x1214```
@ewust ewust changed the title clientconf tool crashes clientconf tool crashes on -add-subnets with no decoys Sep 29, 2021
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