Skip to content

Commit

Permalink
Merge pull request #335 from dell/gosec_cve_fix
Browse files Browse the repository at this point in the history
Adding CVE fix for csi-powerflex
  • Loading branch information
sakshi-garg1 authored Oct 14, 2024
2 parents 860bd25 + a891d6c commit 0949130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ func (s *service) BeforeServe(
}

func (s *service) updateConfigMap(getIPAddressByInterfacefunc GetIPAddressByInterfacefunc, configFilePath string) {
configFileData, err := os.ReadFile(configFilePath)
configFileData, err := os.ReadFile(filepath.Clean(configFilePath))
if err != nil {
Log.Errorf("Failed to read ConfigMap file: %v", err)
return
Expand Down

0 comments on commit 0949130

Please sign in to comment.