Bundle a newer zstd (currently 1.5.2)

Open
#36 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

  • #37 by @Inhertz — closed without merging

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
64/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
c

Research direction

Start with include/linux/zstd_lib.h at U-Boot commit b02abe709e76 and compare the bundled zstd version metadata with the intended upstream release. Review related issue #35 for the decompression context. Done means the bundled zstd is newer than 1.5.2 and includes the cited decode robustness and correctness fixes.

Written by the indexing model from the issue text.

Description

enhancement help wanted

The bundled zstd is 1.5.2 (include/linux/zstd_lib.h), which dates to 2022 and is several releases behind upstream (1.5.6+). Worth bumping, since later releases carry decode robustness and correctness fixes.

  • U-Boot @ b02abe709e76
  • include/linux/zstd_lib.h: ZSTD_VERSION_MAJOR/MINOR/RELEASE = 1/5/2

Related: btrfs zstd decompression bug in #35.

Dominant language
C
Stars
24
Forks
11
PR merge metrics
No merged PRs in 30d

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from flipperdevices/u-boot

All issues in flipperdevices/u-boot

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.