github / github/codeql

Issue in labeling the correct place of the alert in sql injection queries

Open
#3,623 1 comment 0 reactions 0 assignees View on GitHub
Java question
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

Hello,

I would like to report an issue in sql injection queries, where LGTM seems to fail to report the correct location of the error in the codeline.
The following project [jamalmfarhat/lgtm-sql-injection-issue](https://lgtm.com/projects/g/jamalmfarhat/lgtm-sql-injection-issue/?mode=list) was created to replicate the problem.
In the example shown there, our security expert thinks that LGTM should label "Step 4" as the correct location of the alert.
Can you please check?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.