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

GitHub analyzer panic #3697

Open
rgmz opened this issue Nov 29, 2024 · 0 comments
Open

GitHub analyzer panic #3697

rgmz opened this issue Nov 29, 2024 · 0 comments
Labels

Comments

@rgmz
Copy link
Contributor

rgmz commented Nov 29, 2024

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x1009e5f34]

goroutine 1 [running]:
github.com/trufflesecurity/trufflehog/v3/pkg/analyzer/analyzers/github/common.PrintGists({0x14001714b40, 0x24, 0x140054fd6a8?}, 0x0)
        /home/g/thog/pkg/analyzer/analyzers/github/common/github.go:177 +0x484
github.com/trufflesecurity/trufflehog/v3/pkg/analyzer/analyzers/github/finegrained.PrintFineGrainedToken(0x1400078c360, 0x140010df6c0)
        /home/g/thog/pkg/analyzer/analyzers/github/finegrained/finegrained.go:1333 +0x160
github.com/trufflesecurity/trufflehog/v3/pkg/analyzer/analyzers/github.AnalyzeAndPrintPermissions(0x1400078c360, {0x14001795080?, 0x1036cb9f8?})
        /home/g/thog/pkg/analyzer/analyzers/github/github.go:165 +0x1dc
github.com/trufflesecurity/trufflehog/v3/pkg/analyzer.Run({0x1036d6c49?, 0x7?})
        /home/g/thog/pkg/analyzer/cli.go:66 +0x218
main.run({0x1, {0x1400007e110, 0x28}, {0xc1caa5132f3cf0f8, 0x1b79a696, 0x1077fe940}, {0x0, 0x0}, {0x1078387a0, 0x0, ...}, ...})
        /home/g/thog/main.go:493 +0xbf8
github.com/jpillora/overseer.(*child).run(0x140027dbb20)
        /home/g/go/pkg/mod/github.com/trufflesecurity/[email protected]/proc_child.go:77 +0x278
github.com/jpillora/overseer.runErr(0x1400120f180)
        /home/g/go/pkg/mod/github.com/trufflesecurity/[email protected]/overseer.go:164 +0x128
github.com/jpillora/overseer.RunErr(...)
        /home/g/go/pkg/mod/github.com/trufflesecurity/[email protected]/overseer.go:94
main.main()
        /home/g/thog/main.go:326 +0x34c
@rgmz rgmz added the bug label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant