GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||
GeezerVison is showing github.com — Java: Add comments about use of sink kind `regex-use` by owen-mc · Pull Request #17053 · github/codeql Conversation
|
|
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
@owen-mc The regex-use sink kind intentionally does not match the regex-use parsing code in order to avoid excess FPs in the java/regex-injection query. Some prior discussion here. Changing this kind to regex-use[0] will break java/regex-injection test cases.
There is an existing issue about adjusting the regex-use% kind to resolve this situation, which I'll send you a link to. @atorralba and I had previously discussed that the appropriate adjustment would not be simple and that is why we left it as an issue.
Perhaps it would be best to simply add a comment in the org.apache.commons.lang3.model.yml file for now to avoid future confusion?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
01f78cd to
3edeb82
Compare
|
@jcogs33 Thanks for explaining that. I've updated this PR to add comments in the two places that I think would be most useful. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
regex-use
|
Is it accurate to say that the rexex-use kind is "used for regular expression injection sinks that should not be used |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
ah sorry, @owen-mc I misread the comments when I reviewed this. Joe is correct. I'll open a PR to fix. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.