mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Add test case
This commit is contained in:
@@ -264,6 +264,9 @@ func testBoundsChecking(input string) {
|
||||
_ = int16(parsed)
|
||||
}
|
||||
}
|
||||
if parsed <= math.MaxUint32 {
|
||||
_ = uint32(parsed)
|
||||
}
|
||||
}
|
||||
{
|
||||
parsed, err := strconv.ParseUint(input, 10, 32)
|
||||
|
||||
Reference in New Issue
Block a user