We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code should trigger two TaintedSql issues : https://psalm.dev/r/f98b88f1aa
I'll write a PR that fixes this bug
The text was updated successfully, but these errors were encountered:
I found these snippets:
<?php //--taint-analysis $userId = $_GET["user_id"]; $query = "delete from users where user_id = " . $userId; $link = mysqli_connect("localhost", "my_user", "my_password", "world"); $result = mysqli_execute_query($link, $query); // Should trigger a TaintedSql $mysqli = new mysqli("localhost", "my_user", "my_password", "world"); $result = $mysqli->execute_query($query); // Should trigger a TaintedSql
Psalm output (using commit 16b24bd): No issues!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The following code should trigger two TaintedSql issues : https://psalm.dev/r/f98b88f1aa
I'll write a PR that fixes this bug
The text was updated successfully, but these errors were encountered: