mirror of
https://github.com/github/codeql.git
synced 2026-02-19 08:23:45 +01:00
v4.2 write exact version of yaml.load default loader change
This commit is contained in:
@@ -79,7 +79,7 @@ module UnsafeDeserialization {
|
||||
* for unsafe deserialization. The `YAML` module is an alias of `Psych` in
|
||||
* recent versions of Ruby.
|
||||
* the `this = yamlNode().getAMethodCall("load").getArgument(0)` is safe
|
||||
* in recent versions of YAML library, so it will be removed in future.
|
||||
* in psych/yaml library after [v4.0.0](https://github.com/ruby/psych/releases/tag/v4.0.0), so it will be removed in future.
|
||||
*/
|
||||
class YamlLoadArgument extends Sink {
|
||||
YamlLoadArgument() {
|
||||
|
||||
Reference in New Issue
Block a user