Skip to content

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

Merged
adamhathcock merged 1 commit into
adamhathcock:masterfrom
avao:master
Oct 19, 2020
Merged

UT and Fix for: Index out of range exception from gzip #532#541
adamhathcock merged 1 commit into
adamhathcock:masterfrom
avao:master

Conversation

@avao

@avao avao commented Oct 13, 2020

Copy link
Copy Markdown
Contributor

No description provided.

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

Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants