mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Add support for Commons-Lang's RandomUtils
This is realised by somewhat generalising our interfaces for modelling RNGs. We also add tests for randomness-related queries that didn't have any, and addtest cases checking the Apache random-number generators are interchangeable with the stdlib ones.
This commit is contained in:
2
java/change-notes/2021-03-05-commons-lang-randomutils.md
Normal file
2
java/change-notes/2021-03-05-commons-lang-randomutils.md
Normal file
@@ -0,0 +1,2 @@
|
||||
lgtm,codescanning
|
||||
* Added models for the Apache Commons-Lang `RandomUtils` class. This may lead to extra results from queries that check for proper use of random-number generators or those which check the range of possible random values that could be returned, including `java/improper-validation-of-array-index-code-specified` and `java/uncontrolled-arithmetic`.
|
||||
Reference in New Issue
Block a user