1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

Fix #3715 - unserialize is a taint sink

This commit is contained in:
Brown 2020-06-29 17:54:47 -04:00
parent 7253e01000
commit 7288dfc620

View File

@ -8,6 +8,7 @@ return [
'file_put_contents' => [['shell']],
'fopen' => [['shell']],
'header' => [['text']],
'igbinary_unserialize' => [['text']],
'ldap_search' => [['text']],
'mysqli_query' => [[], ['sql']],
'passthru' => [['shell']],
@ -19,4 +20,5 @@ return [
'setcookie' => [['text'], ['text']],
'shell_exec' => [['shell']],
'system' => [['shell']],
'unserialize' => [['text']],
];