Merge pull request #3444 from dbartol/codeql-c-analysis-team/68

Rename `sanity` -> `consistency`
This commit is contained in:
Jonas Jensen
2020-05-12 12:33:08 +02:00
committed by GitHub
127 changed files with 590 additions and 544 deletions

View File

@@ -42,7 +42,7 @@ Zoom in on the code...
The pseudocode in the slide illustrates this.
The function is declared to take an array of length 12 (presumably three data points for each thruster).
However, theres no sanity checking, and a developer might call it with an array thats too short, holding direction information for only one of the thrusters.
However, theres no bounds checking, and a developer might call it with an array thats too short, holding direction information for only one of the thrusters.
The function will then read past the end of the array, and unpredictable results occur.
Write a query...