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 loading of invalid cache file #103

Merged
merged 1 commit into from
Nov 28, 2020
Merged

Conversation

yuyichao
Copy link
Contributor

Avoid corrupting memory by clearing the cache before freeing it's content.
Also adds a bounds check on the sha array.

Fix #69
Fix #71

Avoid corrupting memory by clearing the cache before freeing it's content.
Also adds a bounds check on the sha array.

Fix tibirna#69
Fix tibirna#71
@yuyichao
Copy link
Contributor Author

Ping.

@tibirna tibirna merged commit 109d7bc into tibirna:master Nov 28, 2020
@tibirna
Copy link
Owner

tibirna commented Nov 28, 2020

I apologize for the delay. Merged. Thanks a lot for your contribution.

@yuyichao yuyichao deleted the invalid-cache branch November 28, 2020 20:21
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.

Recover gracefully from corrupted cache situations Qgit crashes on some malformed git repos
2 participants