A4-7-1
: Identify guards for shift operations
#396
Labels
Difficulty-Medium
A false positive or false negative report which is expected to take 1-5 days effort to address
false positive/false negative
An issue related to observed false positives or false negatives.
Impact-Medium
user-report
Issue reported by an end user of CodeQL Coding Standards
Affected rules
A4-7-1
Description
The
IntegerExpressionLeadToDataLoss.ql
query does not detect/identify guards for shift operations.We already implement appropriate guards in the C rule
INT34-C
, and we should consider combining the implementations.Example
The text was updated successfully, but these errors were encountered: