Skip to content
This repository has been archived by the owner on Jan 26, 2020. It is now read-only.

Closes #14 (again) #21

Merged
merged 5 commits into from
Nov 19, 2015
Merged

Closes #14 (again) #21

merged 5 commits into from
Nov 19, 2015

Conversation

fasterthanlime
Copy link
Contributor

Includes @kothar's fixes and my own fixes to the GC tests

@fasterthanlime fasterthanlime mentioned this pull request Nov 19, 2015
kothar added a commit that referenced this pull request Nov 19, 2015
Fix garbage collection panic in BrotliReader

BrotliReader was holding onto a pointer into Go-allocated memory
which had been modified by the C code. By re-calculating the nextIn
pointer on each invocation, the invalid pointer is not kept around to
trip up the GC.
@kothar kothar merged commit 316788a into kothar:master Nov 19, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants