mirror of
https://github.com/github/codeql.git
synced 2026-04-23 15:55:18 +02:00
Ruby: doc fixes
This commit is contained in:
@@ -29,10 +29,12 @@ private module UnsafeYamlDeserializationConfig implements DataFlow::StateConfigS
|
||||
predicate isBarrier(DataFlow::Node node) { node instanceof Sanitizer }
|
||||
|
||||
/**
|
||||
* A taint step related to the result of `YAML.parse` calls, or similar.
|
||||
* Holds if taint with state `stateFrom` can flow from `pred` to `succ` with state `stateTo`.
|
||||
*
|
||||
* This is a taint step related to the result of `YAML.parse` calls, or similar.
|
||||
* In the following example, this step will propagate taint from
|
||||
* `source` to `sink`:
|
||||
* this contains two seperate steps:
|
||||
* this contains two separate steps:
|
||||
* ```rb
|
||||
* x = source
|
||||
* sink = YAML.parse(x)
|
||||
|
||||
Reference in New Issue
Block a user