Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert two Go PRs #18434

Merged
merged 2 commits into from
Jan 7, 2025
Merged

Revert two Go PRs #18434

merged 2 commits into from
Jan 7, 2025

Conversation

dbartol
Copy link
Contributor

@dbartol dbartol commented Jan 7, 2025

Reverts #18275 and #18235, which were causing regressions during 2.20.1 testing

…-sources"

This reverts commit 7ab06fc, reversing
changes made to 0c5e260.
@dbartol dbartol requested review from smowton, owen-mc and Copilot January 7, 2025 20:01
@dbartol dbartol requested a review from a team as a code owner January 7, 2025 20:01

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 16 out of 31 changed files in this pull request and generated no comments.

Files not reviewed (15)
  • go/ql/lib/semmle/go/dataflow/internal/ContainerFlow.qll: Language not supported
  • go/ql/lib/semmle/go/dataflow/internal/DataFlowNodes.qll: Language not supported
  • go/ql/lib/semmle/go/dataflow/internal/DataFlowPrivate.qll: Language not supported
  • go/ql/lib/semmle/go/dataflow/internal/TaintTrackingUtil.qll: Language not supported
  • go/ql/test/library-tests/semmle/go/dataflow/ExternalValueFlow/completetest.ql: Language not supported
  • go/ql/test/library-tests/semmle/go/dataflow/FlowSteps/LocalTaintStep.expected: Language not supported
  • go/ql/test/library-tests/semmle/go/dataflow/VarArgsWithExternalFlow/Flows.expected: Language not supported
  • go/ql/test/library-tests/semmle/go/dataflow/VarArgsWithExternalFlow/Flows.ext.yml: Language not supported
  • go/ql/test/library-tests/semmle/go/dataflow/VarArgsWithExternalFlow/Flows.ql: Language not supported
  • go/ql/test/library-tests/semmle/go/dataflow/VarArgsWithExternalFlow/go.mod: Language not supported
  • go/ql/test/library-tests/semmle/go/dataflow/VarArgsWithFunctionModels/Flows.ql: Language not supported
  • go/ql/test/library-tests/semmle/go/dataflow/VarArgsWithFunctionModels/go.mod: Language not supported
  • go/ql/test/library-tests/semmle/go/frameworks/BeegoOrm/StoredXss.expected: Language not supported
  • go/ql/test/library-tests/semmle/go/frameworks/TaintSteps/TaintStep.expected: Language not supported
  • go/ql/test/query-tests/Security/CWE-078/StoredCommand.expected: Language not supported
Comments suppressed due to low confidence (1)

go/ql/test/library-tests/semmle/go/dataflow/VarArgsWithFunctionModels/main.go:11

  • Changing the parameter type of the sink function from any to string could lead to runtime errors if non-string values are passed to it. Ensure that this change is covered by tests.
func sink(string) {

Tip: Copilot code review supports C#, Go, Java, JavaScript, Markdown, Python, Ruby and TypeScript, with more languages coming soon. Learn more

@dbartol dbartol merged commit 1fb5973 into codeql-cli-2.20.1 Jan 7, 2025
9 checks passed
@dbartol dbartol deleted the dbartol/revert-go branch January 7, 2025 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants