Skip to content

Conversation

@cx-rogerio-dalot
Copy link
Contributor

Proposed Changes

The binary as is can take the process to resource exhaustion due to going over the limit of 10k goroutines.

This is a quickfix/hotfix and in no case sustainable for the future, we need indeed to refactor our current implementation but it should solve the issue for now.

Checklist

  • I covered my changes with tests.
  • I Updated the documentation that is affected by my changes:
    • Change in the CLI arguments
    • Change in the configuration file

I submit this contribution under the Apache-2.0 license.

@cx-rogerio-dalot cx-rogerio-dalot requested a review from a team as a code owner June 4, 2025 14:58
@github-actions
Copy link

github-actions bot commented Jun 4, 2025

kics-logo

KICS version: v1.7.13

Category Results
HIGH HIGH 0
MEDIUM MEDIUM 0
LOW LOW 0
INFO INFO 0
TRACE TRACE 0
TOTAL TOTAL 0
Metric Values
Files scanned placeholder 12
Files parsed placeholder 12
Files failed to scan placeholder 0
Total executed queries placeholder 53
Queries failed to execute placeholder 0
Execution time placeholder 1

@github-actions
Copy link

github-actions bot commented Jun 4, 2025

Logo
Checkmarx One – Scan Summary & Details6146af86-37a5-4561-bcf6-9d6e21f78d33

Fixed Issues (2)

Great job! The following issues were fixed in this Pull Request

Severity Issue Source File / Package
HIGH CVE-2024-45338 Go-golang.org/x/net-v0.25.0
MEDIUM CVE-2025-22872 Go-golang.org/x/net-v0.25.0

@cx-rogerio-dalot cx-rogerio-dalot force-pushed the AST-99769-thread-exhaustion-error branch from 4d1d82c to ca7330a Compare June 4, 2025 15:16
cx-rui-gomes
cx-rui-gomes previously approved these changes Jun 4, 2025
@cx-rogerio-dalot cx-rogerio-dalot merged commit 0d781d5 into master Jun 17, 2025
12 checks passed
@cx-rogerio-dalot cx-rogerio-dalot deleted the AST-99769-thread-exhaustion-error branch June 17, 2025 13:05
cx-rogerio-dalot added a commit that referenced this pull request Sep 11, 2025
<!--
Thanks for contributing to 2ms by offering a pull request.
-->

**Proposed Changes**

The binary as is can take the process to resource exhaustion due to
going over the limit of 10k goroutines.

This is a quickfix/hotfix and in no case sustainable for the future, we
need indeed to refactor our current implementation but it should solve
the issue for now.

<!--
Please describe the big picture of your changes here. If it fixes a bug
or resolves a feature request, be sure to link to that issue.
-->

**Checklist**

- [ ] I covered my changes with tests.
- [ ] I Updated the documentation that is affected by my changes:
  - [ ] Change in the CLI arguments
  - [ ] Change in the configuration file

I submit this contribution under the Apache-2.0 license.
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.

3 participants