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

Fix crash parsing Clang/GCC messages with no text #1811

Merged

Conversation

chwarr
Copy link
Contributor

@chwarr chwarr commented Mar 7, 2017

If a Clang/GCC-style error didn't have any text, an
IndexOutOfRangeException exception was thrown. This guards against that.
Unit tests for a normal Clang/GCC error and a degenerate one have been
added.

Fixes #1796

If a Clang/GCC-style error didn't have any text, an
IndexOutOfRangeException exception was thrown. This guards against that.
Unit tests for a normal Clang/GCC error and a degenerate one have been
added.

Fixes dotnet#1796
@dnfclas
Copy link

dnfclas commented Mar 7, 2017

@chwarr,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla2.dotnetfoundation.org.

It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
.NET Foundation Pull Request Bot

@AndyGerlicher AndyGerlicher changed the base branch from xplat to master March 13, 2017 18:02
@dnfclas
Copy link

dnfclas commented Mar 15, 2017

@chwarr, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.

Thanks, .NET Foundation Pull Request Bot

@rainersigwald
Copy link
Member

@dotnet-bot test this please

(against new base branch)

@AndyGerlicher
Copy link
Contributor

Thanks for getting the CLA signed!

@cdmihai
Copy link
Contributor

cdmihai commented Mar 15, 2017

@KirillOsenkov bin log failure with the extra artifact you added: https://ci2.dot.net/job/Microsoft_msbuild/job/master/job/_Windows_NT_Desktop_prtest/620/

@AndyGerlicher AndyGerlicher merged commit cbccf00 into dotnet:master Mar 15, 2017
@chwarr chwarr deleted the fix-canonicalerror-empty-text-crash branch March 15, 2017 22:04
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.

None yet

5 participants