mirror of
https://github.com/github/codeql.git
synced 2026-03-30 20:28:15 +02:00
QL code and tests for C#/C++/JavaScript.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
bool checkOverflow(unsigned short x, unsigned short y) {
|
||||
return ((unsigned short)(x + y) < x); // GOOD: explicit cast
|
||||
}
|
||||
Reference in New Issue
Block a user