Skip to content

Resubmit series "zlib: Address CVE-2016-9841"

Christophe Leroy u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6zlib: Rename this variable to here (current decoding table entry)lib/zlib/inffast.c+14 -140 replies
2/6zlib: Rename write variable to wnext (window write index)lib/zlib/inffast.c lib/zlib/inflate.c lib/zlib/inflate.h+22 -220 replies
3/6zlib: Fix inflate_fast() when POSTINC macro is setlib/zlib/inffast.c+4 -20 replies
4/6zlib: Port fix for CVE-2016-9841 to U-Bootlib/zlib/inffast.c lib/zlib/zlib.h+34 -560 replies
5/6zlib: Misc unrelated updateslib/zlib/inffast.c+8 -60 replies
6/6zlib: Remove incorrect ZLIB_VERSIONinclude/u-boot/zlib.h lib/gzip.c lib/zlib/deflate.c +2 more+13 -280 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] Resubmit series "zlib: Address CVE-2016-9841"

This series reapplies the series that was merged by commit 4914263c9a14 ("Merge patch series "zlib: Address CVE-2016-9841"") but then reverted by commit bbacdd3ef776 ("Revert "Merge patch series "zlib: Address CVE-2016-9841""") due to boot failure on powerpc/8xx platform induced by the removal of the necessary optimatisation brought by commit cd514aeb996e ("zlib: Optimize decompression").

In addition to the previous version, this series adds patch 3 to fix inflate_fast() with post incremendation and removes the deletion of commit cd514aeb996e ("zlib: Optimize decompression") by patch 4. It also adds patch 5 which contains changes split out of patch 4 because they are unrelated to the description of the patch.

CI passed on https://source.denx.de/u-boot/custodians/u-boot-mpc8xx/-/pipelines/21518

Christophe Leroy (1):
zlib: Fix inflate_fast() when POSTINC macro is set

Michal Simek (5):
zlib: Rename this variable to here (current decoding table entry)
zlib: Rename write variable to wnext (window write index)
zlib: Port fix for CVE-2016-9841 to U-Boot
zlib: Misc unrelated updates
zlib: Remove incorrect ZLIB_VERSION

 include/u-boot/zlib.h |  16 ++---
 lib/gzip.c            |   2 +-
 lib/zlib/deflate.c    |  13 +---
 lib/zlib/inffast.c    | 147 +++++++++++++++++++-----------------------
 lib/zlib/inflate.c    |  31 ++++-----
 lib/zlib/inflate.h    |   2 +-
 lib/zlib/zlib.h       |   1 -
 lib/zlib/zutil.c      |   1 -
 8 files changed, 90 insertions(+), 123 deletions(-)
Signature · 1 line
2.44.0