aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2020-07-16 16:56:53 -0400
committerRuss Cox <rsc@golang.org>2020-07-16 23:38:32 +0000
commit4469f5446ad754d87afb340f59c213aec2dc4fb8 (patch)
treecf93d76caacc91b604fc9b3fcdc8a0a65ea7b3ed /api
parent8d4330742c1866faa8b1ef575877e5afb8a4355c (diff)
downloadgo-4469f5446ad754d87afb340f59c213aec2dc4fb8.tar.gz
go-4469f5446ad754d87afb340f59c213aec2dc4fb8.zip
compress/flate: fix another deflate Reset inconsistency
While investigating #34121, fixed by CL 193605, I discovered another case where Reset was not quite resetting enough. This specific case is not a problem in Reset itself but rather that the Huffman bit writer in one code path is using uninitialized memory left over from a previous block, making the compression not choose the optimal compression method. Fixes #34121. Change-Id: I29245b28214d924e382f91e2c56b4b8a9b7da13d Reviewed-on: https://go-review.googlesource.com/c/go/+/243140 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions