Skip to content

Fix CVE#47

Merged
mjiao merged 8 commits into
redhat-sap:masterfrom
mjiao:fix-cve
Aug 11, 2025
Merged

Fix CVE#47
mjiao merged 8 commits into
redhat-sap:masterfrom
mjiao:fix-cve

Conversation

@mjiao
Copy link
Copy Markdown
Collaborator

@mjiao mjiao commented Aug 11, 2025

No description provided.

mjiao added 6 commits August 11, 2025 12:30
- Fix parameter type combining in network functions
- Replace if-else chains with switch statements
- Fix range value copying by using indexing for large structs
- Fix append assignment to use same slice
- Remove unused parameters or rename to _
- Remove dot imports and use package names in tests
- Fix indent-error-flow by removing unnecessary else blocks
- Break down complex functions into smaller helper methods
- Reduce cyclomatic complexity in AdjustSDIVSystemVrepStatefulSets
- Reduce cyclomatic complexity in handleManagedRoute
- Update golangci-lint config to disable context-as-argument rule
- Increase complexity threshold and exclude G101 for config file names
- Fix remaining unused parameters and formatting issues

All linting checks now pass successfully.
- Update from github.com/securecodewarrior/gosec to github.com/securego/gosec
- This fixes the CI installation error for gosec security scanner
@codecov-commenter
Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

mjiao added 2 commits August 11, 2025 15:46
- Update controller-gen from v0.10.0 to v0.16.5 to fix Go 1.23 panic
- Update kustomize from v3.8.7 to v5.4.3 for better compatibility
- Fixes controller-gen segmentation violation in CI build process
- Regenerated deepcopy code and CRD manifests with controller-gen v0.16.5
- Ensures generated files are consistent with new tool version
@mjiao mjiao merged commit 797dec0 into redhat-sap:master Aug 11, 2025
3 checks passed
@mjiao mjiao deleted the fix-cve branch August 11, 2025 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants