Skip to content

Conversation

@kevin-montrose
Copy link
Contributor

Version of #134 against master.

For some reason tests really do not like running on my machine, but... should be fine?


When running taint analysis, calls to extension methods with ref-like (ie. ref or in) parameters can fail with an IndexOutOfRangeException. This is caused by not taking into account the extension methods implicit first parameter.

This PR adds a small test and fixes the issue.

I'm tempted to do a more substantial reworking, but this is feels worth fixing on its own.

@JarLob JarLob merged commit 1a54b31 into security-code-scan:master Aug 18, 2019
@JarLob
Copy link
Contributor

JarLob commented Aug 18, 2019

Thanks, I have fixed one more additional case.

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