Skip to content

Conversation

@kevin-montrose
Copy link
Contributor

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 changed the base branch from vs2017 to master August 16, 2019 05:49
@JarLob JarLob changed the base branch from master to vs2017 August 16, 2019 05:50
@JarLob
Copy link
Contributor

JarLob commented Aug 16, 2019

Hey, could you please re-make the pull request to Master branch? Basically everything that works in VS2015 (or passes tests in Master in case you don't have VS2015) should be in Master branch. Master is always merged into VS2017, not vice versa. This way VS2017 has it's only specific changes.

I tried cherry picking from VS2017 to Master for a while and then merging Master into VS2017, but then the commit is doubled in the VS2017 tree :(

I tried to change the branch by editing the Pull Request according to https://help.github.com/en/articles/changing-the-base-branch-of-a-pull-request, but then it picks up many more unrelated changes.

@kevin-montrose
Copy link
Contributor Author

Sure, I'll take a whack at it real quick.

@kevin-montrose
Copy link
Contributor Author

Superseded by #136

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