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

Panic when workspace path contains reserved characters #896

Open
t1ooo opened this issue Oct 29, 2019 · 0 comments
Open

Panic when workspace path contains reserved characters #896

t1ooo opened this issue Oct 29, 2019 · 0 comments

Comments

@t1ooo
Copy link

t1ooo commented Oct 29, 2019

Version

exercism-3.0.13-windows-x86_64

Os

Windows 7

Reproduce

exercism.exe configure --workspace "c:\?"

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x18 pc=0x84d9e9]

goroutine 1 [running]:
github.com/exercism/cli/cmd.runConfigure(0x95ba0b, 0x7, 0xc00006e4a0, 0xf, 0xc0000861e0, 0x28, 0x967b7a, 0x1a, 0xc0000706d0, 0x8, ...)
        /Users/ekingery/dev/exercism/cli/cmd/configure.go:147 +0x959
github.com/exercism/cli/cmd.glob..func1(0xdd5cc0, 0xc000064e40, 0x0, 0x2, 0x0, 0x0)
        /Users/ekingery/dev/exercism/cli/cmd/configure.go:43 +0x167
github.com/spf13/cobra.(*Command).execute(0xdd5cc0, 0xc000064e00, 0x2, 0x2, 0xdd5cc0, 0xc000064e00)
        /Users/ekingery/golang/pkg/mod/github.com/spf13/[email protected]/command.go:649 +0x40f
github.com/spf13/cobra.(*Command).ExecuteC(0xdd65c0, 0x0, 0x0, 0x0)
        /Users/ekingery/golang/pkg/mod/github.com/spf13/[email protected]/command.go:728 +0x2c3
github.com/spf13/cobra.(*Command).Execute(...)
        /Users/ekingery/golang/pkg/mod/github.com/spf13/[email protected]/command.go:687
github.com/exercism/cli/cmd.Execute()
        /Users/ekingery/dev/exercism/cli/cmd/root.go:39 +0x34
main.main()
        /Users/ekingery/dev/exercism/cli/exercism/main.go:6 +0x27
@ekingery ekingery mentioned this issue Nov 5, 2019
9 tasks
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