Skip to content

Set up taint analysis for pgsql functions#4021

Merged
muglug merged 1 commit intovimeo:masterfrom
TysonAndre:taint-analysis-pgsql
Aug 19, 2020
Merged

Set up taint analysis for pgsql functions#4021
muglug merged 1 commit intovimeo:masterfrom
TysonAndre:taint-analysis-pgsql

Conversation

@TysonAndre
Copy link
Copy Markdown
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
Copy Markdown
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