<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-openembedded.git/meta-python/recipes-devtools/python/python3-cbor2_5.8.0.bb, branch wrynose</title>
<subtitle>Mirror of git.openembedded.org/meta-openembedded</subtitle>
<id>https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=wrynose</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=wrynose'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/'/>
<updated>2026-03-27T16:08:56+00:00</updated>
<entry>
<title>python3-cbor2: upgrade 5.8.0 -&gt; 5.9.0</title>
<updated>2026-03-27T16:08:56+00:00</updated>
<author>
<name>Wang Mingyu</name>
<email>wangmy@fujitsu.com</email>
</author>
<published>2026-03-26T11:56:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=f2cfe8d06923218f90b2e97376355a0d1aed16fe'/>
<id>urn:sha1:f2cfe8d06923218f90b2e97376355a0d1aed16fe</id>
<content type='text'>
Changelog:
=========
- Added the max_depth decoder parameter to limit the maximum allowed nesting
  level of containers, with a default value of 400 levels (CVE-2026-26209)
- Changed the default read_size from 4096 to 1 for backwards compatibility. The
  buffered reads introduced in 5.8.0 could cause issues when code needs to
  access the stream position after decoding. Users can opt-in to faster decoding
  by passing read_size=4096 when they don't need to access the stream directly
  after decoding. Added a direct read path for read_size=1 to avoid buffer
  management overhead.
- Fixed C encoder not respecting string referencing when encoding string-type
  datetimes (tag 0)
- Fixed a missed check for an exception in the C implementation of
  CBOREncoder.encode_shared()
- Fixed two reference/memory leaks in the C extension's long string decoder
- Fixed C decoder ignoring the str_errors setting when decoding strings, and
  improved string decoding performance by using stack allocation for small
  strings and eliminating unnecessary conditionals. Benchmarks show 9-17% faster
  deserialization.

Signed-off-by: Wang Mingyu &lt;wangmy@fujitsu.com&gt;
Signed-off-by: Khem Raj &lt;khem.raj@oss.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>python3-cbor2: upgrade 5.7.1 -&gt; 5.8.0</title>
<updated>2026-01-06T02:16:18+00:00</updated>
<author>
<name>Gyorgy Sarvari</name>
<email>skandigraun@gmail.com</email>
</author>
<published>2026-01-05T11:53:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=1d7c7549b397f072ec5dea3641172e1b7ce6407d'/>
<id>urn:sha1:1d7c7549b397f072ec5dea3641172e1b7ce6407d</id>
<content type='text'>
Contains fix for CVE-2025-68131

Changelog:
- Added readahead buffering to C decoder for improved performance.
  The decoder now uses a 4 KB buffer by default to reduce the number
  of read calls. Benchmarks show 20-140% performance improvements for
  decoding operations.
- Fixed Python decoder not preserving share index when decoding array
  items containing nested shareable tags, causing shared references to
  resolve to wrong objects
- Reset shared reference state at the start of each top-level encode/decode
  operation

Ptests passed:
...
PASS: tests/test_tool.py:test_dtypes_from_file
PASS: tests/test_tool.py:test_ignore_tag
PASS: tests/test_types.py:test_frozendict
============================================================================
Testsuite summary
DURATION: 4

Signed-off-by: Gyorgy Sarvari &lt;skandigraun@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
</feed>
