Skip to content
New issue

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

Set up taint analysis for pgsql functions #4021

Merged
merged 1 commit into from
Aug 19, 2020

Conversation

TysonAndre
Copy link
Contributor

I noticed that entries in InternalTaintSinkMap don't warn
unless the functions are added to CallMap.php
e.g. pg_exec($conn, $_GET['query']);
(pg_exec is an alias of pg_query)

I noticed that entries in InternalTaintSinkMap don't warn
unless the functions are added to CallMap.php
e.g. `pg_exec($conn, $_GET['query']);`
(pg_exec is an alias of pg_query)
@muglug muglug merged commit e62e964 into vimeo:master Aug 19, 2020
@muglug
Copy link
Collaborator

muglug commented Aug 19, 2020

Thanks!

danog pushed a commit to danog/psalm that referenced this pull request Jan 29, 2021
I noticed that entries in InternalTaintSinkMap don't warn
unless the functions are added to CallMap.php
e.g. `pg_exec($conn, $_GET['query']);`
(pg_exec is an alias of pg_query)
@TysonAndre TysonAndre deleted the taint-analysis-pgsql branch September 6, 2021 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants