Skip to content

Panic when I press TAB for autocomplete the path #3086

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

Open
pepsi1k opened this issue Mar 13, 2025 · 1 comment
Open

Panic when I press TAB for autocomplete the path #3086

pepsi1k opened this issue Mar 13, 2025 · 1 comment
Assignees
Labels
bug Defects
Milestone

Comments

@pepsi1k
Copy link

pepsi1k commented Mar 13, 2025

[ .password-modules ]$ gopass mounts add --store main --path $HOME/.pasword-modules/{pressing-tab}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x653b46]

goroutine 1 [running]:
flag.(*FlagSet).Args(...)
	flag/flag.go:741
github.com/urfave/cli/v2.(*Context).Args(...)
	github.com/urfave/cli/[email protected]/context.go:167
github.com/urfave/cli/v2.checkCompletions(0xc0005cec60?)
	github.com/urfave/cli/[email protected]/help.go:467 +0x26
github.com/urfave/cli/v2.(*Command).Run(0xc0005cec60, 0xc0005ed100, {0xc0005ed140, 0x4, 0x4})
	github.com/urfave/cli/[email protected]/command.go:160 +0x145
github.com/urfave/cli/v2.(*Command).Run(0xc0005ceb00, 0xc0005ecf80, {0xc0005ca0a0, 0x5, 0x5})
	github.com/urfave/cli/[email protected]/command.go:269 +0xa65
github.com/urfave/cli/v2.(*Command).Run(0xc0005d1a20, 0xc000139d40, {0xc00013c000, 0x6, 0x7})
	github.com/urfave/cli/[email protected]/command.go:269 +0xa65
github.com/urfave/cli/v2.(*App).RunContext(0xc0000c4000, {0xfea768, 0xc000584450}, {0xc00013c000, 0x7, 0x7})
	github.com/urfave/cli/[email protected]/app.go:333 +0x5a5
main.main()
	github.com/gopasspw/gopass/main.go:90 +0x4a5
@dominikschulz dominikschulz added the bug Defects label Mar 14, 2025
@dominikschulz dominikschulz added this to the 1.15.16 milestone Mar 14, 2025
@dominikschulz
Copy link
Member

That should never happen. Let me try to reproduce.

@dominikschulz dominikschulz self-assigned this Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Defects
Projects
None yet
Development

No branches or pull requests

2 participants