Skip to content

Commit

Permalink
documented type in InternalTaintSinkMap (vimeo#4627)
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm authored and danog committed Jan 29, 2021
1 parent 84348ec commit 2c998ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dictionaries/InternalTaintSinkMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

// This maps internal function names to sink types that we don’t want to end up there

/**
* @var array<string, list<list<Type\TaintKind::*>>>
*/
return [
'exec' => [['shell']],
'create_function' => [['text'], ['eval']],
Expand Down

0 comments on commit 2c998ae

Please sign in to comment.