Skip to content

Commit

Permalink
correct Loader object shadowing to correct SEGFAULT (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
pbailey-hf authored Sep 23, 2024
1 parent a7a1a70 commit f2d3912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var loader Loader

// Scan performs the vulnerability scan.
func (s *Scanner) Scan(args []string) (exitCode int, err error) {
loader := Loader{
loader = Loader{
s.Afs,
}
// Load packages and associated data
Expand Down

0 comments on commit f2d3912

Please sign in to comment.