File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
go/ql/lib/semmle/go/security Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -151,18 +151,18 @@ deprecated class ConversionWithoutBoundsCheckConfig extends TaintTracking::Confi
151151}
152152
153153/** Flow state for ConversionWithoutBoundsCheckConfig. */
154- newtype MyFlowState =
154+ newtype IntegerConversionFlowState =
155155 /** Keep track of info about the source and potential sinks. */
156156 TFlowstate ( boolean sinkIsSigned , int sourceBitSize , int sinkBitSize ) {
157157 sinkIsSigned in [ true , false ] and
158158 isIncorrectIntegerConversion ( sourceBitSize , sinkBitSize )
159159 }
160160
161161/** Gets the bit size of the source. */
162- int getSourceBitSize ( MyFlowState state ) { state = TFlowstate ( _, result , _) }
162+ int getSourceBitSize ( IntegerConversionFlowState state ) { state = TFlowstate ( _, result , _) }
163163
164164private module ConversionWithoutBoundsCheckConfig implements DataFlow:: StateConfigSig {
165- class FlowState = MyFlowState ;
165+ class FlowState = IntegerConversionFlowState ;
166166
167167 predicate isSource ( DataFlow:: Node source , FlowState state ) {
168168 exists (
You can’t perform that action at this time.
0 commit comments