Skip to content

C++: Suppress IntMultToLong alert on char-typed numbers#221

Merged
geoffw0 merged 3 commits into
github:masterfrom
jbj:IntMultToLong-char
Sep 24, 2018
Merged

C++: Suppress IntMultToLong alert on char-typed numbers#221
geoffw0 merged 3 commits into
github:masterfrom
jbj:IntMultToLong-char

Conversation

@jbj

@jbj jbj commented Sep 24, 2018

Copy link
Copy Markdown
Contributor

jbj added 3 commits September 24, 2018 14:36
This reflects the existing QLDoc better and makes it more clear why it
includes char-typed expressions.
@jbj jbj added the C++ label Sep 24, 2018

@geoffw0 geoffw0 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Seems reasonable. There's a slight danger we'll miss genuine errors when many chars are multiplied, or the result is stored in a short or something. But 'likelySmall' is a heuristic anyway and I expect this change will improve results.

@geoffw0 geoffw0 merged commit 4732526 into github:master Sep 24, 2018
aibaars added a commit that referenced this pull request Oct 14, 2021
make the package job depend on compile-queries
smowton added a commit to smowton/codeql that referenced this pull request Feb 7, 2022
…in-extractor

Prefer the Kotlin extractor's version of trap files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants