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

ffiwrapper: Fix ReadPiece panic #3492

Merged
merged 2 commits into from
Sep 2, 2020
Merged

ffiwrapper: Fix ReadPiece panic #3492

merged 2 commits into from
Sep 2, 2020

Conversation

magik6k
Copy link
Contributor

@magik6k magik6k commented Sep 2, 2020

Closes #3447

StarLI-Trapdoor and others added 2 commits September 1, 2020 11:41
When openPartialFile is invoked, more errors than "existed error" are
returned. If only existing error is checked, the allocated field of
partialFile may be nil.

Signed-off-by: Star.LI <[email protected]>
@magik6k magik6k merged commit b774563 into master Sep 2, 2020
@magik6k magik6k deleted the fix/readpiece-panic branch September 2, 2020 16:59
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.

4 participants