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

UT and Fix for: Index out of range exception from gzip #532 #541

Merged
merged 1 commit into from Oct 19, 2020

Conversation

avao
Copy link
Contributor

@avao avao commented Oct 13, 2020

No description provided.

char c = _fileName[num];
if (c == '\\')
{
_fileName = _fileName.Substring(num + 1, length - num - 1);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the main issue was here - missing break after this line. I decided to simplify code though.

@adamhathcock
Copy link
Owner

Thanks, this is way simplier!

@adamhathcock adamhathcock merged commit aa6575c into adamhathcock:master Oct 19, 2020
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

2 participants