8000 segfault when a required config argument is not set · Issue #23 · irccloud/irccat · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
segfault when a required config argument is not set #23
Open
@Profpatsch

Description

@Profpatsch

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0