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

segfault when a required config argument is not set #23

Open
Profpatsch opened this issue Mar 21, 2021 · 0 comments
Open

segfault when a required config argument is not set #23

Profpatsch opened this issue Mar 21, 2021 · 0 comments

Comments

@Profpatsch
Copy link

e.g. when I don’t set irc.realname in the config file:

> result/bin/irccat
2021-03-21 13:40:04 INFO main main.go:37 IRCCat  () starting...
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x14 pc=0x84ba74]

goroutine 1 [running]:
main.(*IRCCat).connectIRC(0xc00007a8c0, 0x0, 0x0, 0x3)
	github.com/irccloud/irccat/irc.go:16 +0xd4
main.main()
	github.com/irccloud/irccat/main.go:66 +0x5f7
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