Skip to content

Commit

Permalink
documented type in InternalTaintSinkMap (#4627)
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Nov 20, 2020
1 parent c562e1d commit acb4bb4
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 acb4bb4

Please sign in to comment.