Skip to content

Recent gosec fails on generated deep copy code #115

Closed
@ytsarev

Description

gosec started to fail with

[/github/workspace/pkg/apis/ohmyglb/v1beta1/zz_generated.deepcopy.go:113] - G601 (CWE-): Implicit memory aliasing in for loop. (Confidence: MEDIUM, Severity: MEDIUM)
  > &val


Summary:
   Files: 20
   Lines: 1969
   Nosec: 0
  Issues: 1

on generated code.

Does not look super critical but worth tracking.

I've unblocked pipeline by sticking to stable v2.2.0 release at #114

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions