Back port the x/net package v0.17.0 for cve #2
Annotations
22 errors
golangci-lint (components/odh-notebook-controller)
golangci-lint exit with code 5
|
golangci-lint (components/odh-notebook-controller)
Process completed with exit code 1.
|
golangci-lint (components/notebook-controller):
components/notebook-controller/pkg/culler/culler.go#L325
S1009: should omit nil check; len() for []github.com/kubeflow/kubeflow/components/notebook-controller/pkg/culler.KernelStatus is defined as zero (gosimple)
|
golangci-lint (components/notebook-controller):
components/notebook-controller/pkg/culler/culler.go#L362
S1009: should omit nil check; len() for []github.com/kubeflow/kubeflow/components/notebook-controller/pkg/culler.TerminalStatus is defined as zero (gosimple)
|
golangci-lint (components/notebook-controller):
components/notebook-controller/pkg/culler/culler.go#L346
S1039: unnecessary use of fmt.Sprintf (gosimple)
|
golangci-lint (components/notebook-controller):
components/notebook-controller/pkg/culler/culler.go#L373
S1039: unnecessary use of fmt.Sprintf (gosimple)
|
golangci-lint (components/notebook-controller):
components/notebook-controller/pkg/culler/culler.go#L137
S1033: unnecessary guard around call to delete (gosimple)
|
golangci-lint (components/notebook-controller):
components/notebook-controller/pkg/culler/culler.go#L266
SA5011: possible nil pointer dereference (staticcheck)
|
golangci-lint (components/notebook-controller):
components/notebook-controller/pkg/culler/culler.go#L267
SA5011(related information): this check suggests that the pointer can be nil (staticcheck)
|
golangci-lint (components/notebook-controller):
components/notebook-controller/controllers/culling_controller_test.go#L256
Error return value is not checked (errcheck)
|
golangci-lint (components/notebook-controller):
components/notebook-controller/controllers/suite_test.go#L43
var `cfg` is unused (unused)
|
golangci-lint (components/notebook-controller):
components/notebook-controller/controllers/culling_controller.go#L359
S1009: should omit nil check; len() for []github.com/kubeflow/kubeflow/components/notebook-controller/controllers.KernelStatus is defined as zero (gosimple)
|
govulncheck (components/odh-notebook-controller)
controllers.SetContainerImageFromRegistry calls dynamic.NewForConfig, which eventually calls http2.ConfigureTransports
|
govulncheck (components/odh-notebook-controller)
controllers.NotebookWebhook.Handle calls admission.Errored, which calls http2.ConnectionError.Error
|
govulncheck (components/odh-notebook-controller)
controllers.NotebookWebhook.Handle calls fmt.Sprintf, which eventually calls http2.ErrCode.String
|
govulncheck (components/odh-notebook-controller)
controllers.NotebookWebhook.Handle calls fmt.Sprintf, which eventually calls http2.FrameHeader.String
|
govulncheck (components/odh-notebook-controller)
controllers.NotebookWebhook.Handle calls fmt.Sprintf, which eventually calls http2.FrameType.String
|
govulncheck (components/odh-notebook-controller)
controllers.NotebookWebhook.Handle calls admission.Errored, which calls http2.GoAwayError.Error
|
govulncheck (components/odh-notebook-controller)
controllers.NotebookWebhook.Handle calls fmt.Sprintf, which eventually calls http2.Setting.String
|
govulncheck (components/odh-notebook-controller)
controllers.NotebookWebhook.Handle calls fmt.Sprintf, which eventually calls http2.SettingID.String
|
govulncheck (components/odh-notebook-controller)
controllers.NotebookWebhook.Handle calls admission.Errored, which calls http2.StreamError.Error
|
govulncheck (components/odh-notebook-controller)
controllers.SetContainerImageFromRegistry calls dynamic.dynamicResourceClient.List, which eventually calls http2.Transport.NewClientConn
|