Skip to content

Commit

Permalink
close read which is left open
Browse files Browse the repository at this point in the history
Former-commit-id: 71adc6a
Former-commit-id: 3b9ab01acf312d1081ebbcd7253047fb4c66e641
  • Loading branch information
breadchris committed Dec 21, 2021
1 parent e3859a4 commit 7a3c71d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tools/log4shell/constants/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
//
package constants

const Version = "1.4.1"
const Version = "1.4.2"
2 changes: 2 additions & 0 deletions tools/log4shell/scan/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ func (s *Log4jDirectoryScanner) scanArchiveFile(
Msg("unable to open class file")
return
}
defer reader.Close()

return s.processArchiveFile(reader, path, file.Name)
}

Expand Down

0 comments on commit 7a3c71d

Please sign in to comment.