Closed boxofrad closed 8 years ago
You sir, are awesome! 👍
Aw @igrigorik you're making me blush 😊
Do you think you'll have time to release a new version of the gem with this change soon? (no rush, we can point our Gemfile
at the :octocat: repo)
@boxofrad done! pushed out 1.1.5. Thanks for your help!
Hi! 👋
This fixes an issue where a gzip stream chunked into strangely-sized pieces would result in a buffer overrun when decoding the headers (causing the problem described in #284).
Previously the position where the headers end in
compressed
was determined by the delta of@pos
before and after reading the headers. This didn't take into account the fact that@data
may already contain data, but not enough to have advanced@pos
on previous iterations.Thanks for your excellent work on maintaining this project ❤️