Skip to content

Commit

Permalink
Additional MySQL sinks, ref Issue vimeo#4155
Browse files Browse the repository at this point in the history
  • Loading branch information
craigfrancis committed Sep 8, 2020
1 parent 9936419 commit d43bfc1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Psalm/Internal/InternalTaintSinkMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@
'igbinary_unserialize' => [['text']],
'ldap_search' => [['text']],
'mysqli_query' => [[], ['sql']],
'mysqli::query' => [['sql']],
'mysqli_real_query' => [[], ['sql']],
'mysqli::real_query' => [['sql']],
'mysqli_multi_query' => [[], ['sql']],
'mysqli::multi_query' => [['sql']],
'mysqli_prepare' => [[], ['sql']],
'mysqli::prepare' => [['sql']],
'mysqli_stmt::__construct' => [[], ['sql']],
'mysqli_stmt_prepare' => [[], ['sql']],
'mysqli_stmt::prepare' => [['sql']],
'passthru' => [['shell']],
'pcntl_exec' => [['shell']],
'PDO::prepare' => [['sql']],
Expand Down

0 comments on commit d43bfc1

Please sign in to comment.