mirror of
https://github.com/google/brotli.git
synced 2026-09-22 06:35:52 +00:00
WriteMetadata may write outside the buffer provided to it #75
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?
Originally created by @nemequ on GitHub (Dec 2, 2015).
Picked this up running the Squash unit tests in AddressSanitizer. Basically, the plugin gives brotli 6 bytes to write to, but the write is 8 bytes at a time. See quixdb/squash#168 for background, info from ASan follows:
It would be easy enough to alter the plugin to give brotli 8 bytes to write to, but I'd rather see it fixed upstream than work around it in Squash.
@eustas commented on GitHub (Dec 2, 2015):
Hello.
I'm going to investigate it. Thank you for the report and sorry for the late response.
@eustas commented on GitHub (Dec 2, 2015):
We have a fix for this. I hope it will be published soon.