add loop-bound-injection to change-notes

This commit is contained in:
Erik Krogh Kristensen
2019-09-12 15:28:14 +01:00
parent 3d359bc8dc
commit 17a71a97c5

View File

@@ -14,7 +14,7 @@
| **Query** | **Tags** | **Purpose** |
|---------------------------------------------------------------------------|-------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Unused index variable (`js/unused-index-variable`) | correctness | Highlights loops that iterate over an array, but do not use the index variable to access array elements, indicating a possible typo or logic error. |
| Tainted .length in loop condition (`js/loop-bound-injection`) | security | Highlights loops where a user-controlled object with an arbitrary .length value can trick the server to loop infinitely. |
## Changes to existing queries