Skip to content

Commit e71cf0f

Browse files
committed
Use value flow instead of taint flow
1 parent 5dbb91f commit e71cf0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/ql/lib/semmle/go/security/IncorrectIntegerConversionLib.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ private module ConversionWithoutBoundsCheckConfig implements DataFlow::StateConf
572572
* Tracks taint flow from an integer obtained from parsing a string that flows
573573
* to a type conversion to a smaller integer type, which could cause data loss.
574574
*/
575-
module Flow = TaintTracking::GlobalWithState<ConversionWithoutBoundsCheckConfig>;
575+
module Flow = DataFlow::GlobalWithState<ConversionWithoutBoundsCheckConfig>;
576576

577577
/** Gets a string describing the size of the integer parsed. */
578578
deprecated string describeBitSize(int bitSize, int intTypeBitSize) {

0 commit comments

Comments
 (0)