Skip to content

zchunk: add recipe#173

Closed
texierp wants to merge 1 commit intoopenembedded:masterfrom
texierp:add/zchunk
Closed

zchunk: add recipe#173
texierp wants to merge 1 commit intoopenembedded:masterfrom
texierp:add/zchunk

Conversation

@texierp
Copy link
Copy Markdown
Contributor

@texierp texierp commented Jan 23, 2020

zchunk is a compressed file format that splits the file into independent chunks.
This allows you to only download changed chunks when downloading a new version of
the file, and also makes zchunk files efficient over rsync.

Signed-off-by: Pierre-Jean Texier [email protected]

@kraj
Copy link
Copy Markdown
Contributor

kraj commented Jan 23, 2020

@texierp
Copy link
Copy Markdown
Contributor Author

texierp commented Jan 23, 2020

Thanks @kraj, I will fix that

zchunk is a compressed file format that splits the file into independent chunks.
This allows you to only download changed chunks when downloading a new version of
the file, and also makes zchunk files efficient over rsync.

Signed-off-by: Pierre-Jean Texier <[email protected]>
@texierp
Copy link
Copy Markdown
Contributor Author

texierp commented Jan 23, 2020

@kraj PR updated, tested with TCLIBC = "musl".

@kraj
Copy link
Copy Markdown
Contributor

kraj commented Jan 23, 2020

in master-next now

@texierp
Copy link
Copy Markdown
Contributor Author

texierp commented Jan 26, 2020

Merged in master 5c453ae

@texierp texierp closed this Jan 26, 2020
@texierp texierp deleted the add/zchunk branch January 28, 2020 09:53
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request May 12, 2022
2022-05-04   2.5.0:
-------------------
  * add calculating of canonical Huffman codes 'util.canonical_huffman()'
    and decoding thereof 'util.canonical_decode()', see openembedded#173
  * allow creating "Huffman codes" from frequency maps with a single symbol
    in 'util.huffman_code()' and 'util.canonical_huffman()', see openembedded#172
  * allow bytes-like argument in '.frombytes()' and '.pack()' - previously,
    the arguments were limited to the 'bytes' object, see openembedded#174
  * allow bytes-like arguments in 'util.deserialize()'
  * add official pyodide support
  * add [DEFLATE decompression](../examples/puff/) example
  * optimize '.bytereverse()'
  * optimize 'delslice()' for cases like 'del a[1:17:2]' when 'a' is large
  * fix 'examples/huffman/compress.py' to handle files with 0 or 1 characters,
    see also openembedded#172
  * add 'skipIF' decorator for skipping tests
  * add test

Signed-off-by: Zheng Ruoqin <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request May 14, 2022
2022-05-04   2.5.0:
-------------------
  * add calculating of canonical Huffman codes 'util.canonical_huffman()'
    and decoding thereof 'util.canonical_decode()', see openembedded#173
  * allow creating "Huffman codes" from frequency maps with a single symbol
    in 'util.huffman_code()' and 'util.canonical_huffman()', see openembedded#172
  * allow bytes-like argument in '.frombytes()' and '.pack()' - previously,
    the arguments were limited to the 'bytes' object, see openembedded#174
  * allow bytes-like arguments in 'util.deserialize()'
  * add official pyodide support
  * add [DEFLATE decompression](../examples/puff/) example
  * optimize '.bytereverse()'
  * optimize 'delslice()' for cases like 'del a[1:17:2]' when 'a' is large
  * fix 'examples/huffman/compress.py' to handle files with 0 or 1 characters,
    see also openembedded#172
  * add 'skipIF' decorator for skipping tests
  * add test

Signed-off-by: Zheng Ruoqin <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Apr 1, 2026
Drop patch that was merged upstream.

License update: a copyright line was removed. The license is still MIT.

Changes:
Version 6.1.2
=============

Code Fixes
----------
* Fix for low-severity CVE-2026-23868 affecting gifponge, giftool, and gifbuild,
  but not the core library - library clients need not be alarned.

Version 6.1.1
=============

This release bumps the major version, but only one entry point -
EGifSpew() - has changed signature and behavior (in order to be able
to pass out a detailed error code). The internal error
codes in the E_GIF_ERR series have changed value so none of them
collides with GIF_ERROR.

This code has been systematically audited and hardened wuth
ChatGPT-5.2. The only library fixes reported by users or found by
robot were for some memory leaks that could only triggered by severely
malformed GIFs. Other bugs are edge-case failures in the CLI tools.

The gif2rbg CLI tool has been moved to the "obsolete" bin, because its
only deployment case in 2026 is as a piñata at fuzzer parties.

Warning: the CLI tools in the obsolete category will soon be removed
from the distribution entirely. The maintainer is tired of fielding
junk bugs filed against them by would-be coup-counters who found yet
another edge case, and the rest of the world doesn't need noisy CVEs
that aren't actually DoS or security issues for giflib clients.

Code Fixes
----------

* Fix for CVE-2021-40633.
* Fix SF bug openembedded#165 EGifSpew leaks GifFileOut->SColorMap
* Fix SF bug openembedded#171 ImageMagick required to build giflib on non-Darwin Platforms
* Fix SF bug openembedded#172 Incorrect object files in shared libutil on darwin
* Fix SF bug openembedded#173 installation of manual pages and html documentation
* Fix SF bug openembedded#175 Memory leaks in gifecho.c's main() and in gifalloc.c's GifMakeMapObject
* Fix SF bug openembedded#177 wrong pointer used in giftool getbool
* Fix SF bug openembedded#179 Path Traversal vulnerability
* Fix SF bug openembedded#180: -Wformat-truncation likely pointing out an actual bug
* Fix SF bug openembedded#182 out‐of‐bounds writes in Icon2Gif
* Fix SF bug openembedded#184 uninitialized buffer in DumpScreen2RGB
* Fix SF bug openembedded#185 integer overflow in gifbg.c
* Fix SF bug openembedded#186 integer overflow in Icon2Gif
* Fix SF bug openembedded#187: CVE-2025-31344
* Fix SF bug openembedded#170 Tests failing on Ubuntu Noble, giftext buffer overflow
* Fix SF bug openembedded#165 EGifSpew leaks GifFileOut->SColorMap
* Fix SF bug openembedded#162 detected memory leaks in GifMakeSavedImage giflib/gifalloc.c
* Fix SF bug openembedded#161 detected memory leaks in EGifOpenFileHandle giflib/egif_lib.c
* Fix SF bug openembedded#142 ABI break public symbol GifQuantizeBuffer

Other bugs that duplicate these have breen addressesed by these fixes

* SF bug openembedded#156 EGifSpew leaks SavedImages (and more); won't fix, caller
  might want to write a GIF, modify the in-memory data, then write
  again.

Tests
-----

Test suite now emits TAP (Test Anything Protocol).

Signed-off-by: Gyorgy Sarvari <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants