mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
[PR #124] [MERGED] Fix encoder bug. #736
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/google/brotli/pull/124
Author: @szabadka
Created: 7/30/2015
Status: ✅ Merged
Merged: 7/30/2015
Merged by: @szabadka
Base:
master← Head:master📝 Commits (1)
29c2679Fix encoder bug.📊 Changes
3 files changed (+24 additions, -6 deletions)
View changed files
📝
enc/block_splitter.cc(+19 -5)📝
enc/block_splitter.h(+4 -0)📝
enc/metablock.cc(+1 -1)📄 Description
Under some circumstances CopyLiteralsToByteArray tried
to read begind ringbuffer.
In this patch we force it to read completely from range [0..mask]
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.