Skip to content

Commit a1fc986

Browse files
dan-blanchardclaude
andcommitted
docs: changelog for 7.4.3
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
1 parent 0af01d6 commit a1fc986

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

‎docs/changelog.rst‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,20 @@ Changelog
88
Dan directed the design, reviewed all output, and takes responsibility for
99
the result. Unmarked entries by Dan were written without AI assistance.
1010

11+
7.4.3 (unreleased)
12+
-------------------
13+
14+
**Bug Fixes:**
15+
16+
- Fixed ``ValueError: embedded null character`` crash when input contained
17+
a ``<meta charset>`` declaration with a null byte in the encoding name
18+
(e.g. ``b'<meta charset="\x00utf-8">'``). ``codecs.lookup()`` raises
19+
``ValueError`` on embedded nulls, and ``lookup_encoding()`` was only
20+
catching ``LookupError``. Also added defensive ``ValueError`` catches
21+
in ``_validate_bytes()`` and ``_to_utf8()`` for completeness.
22+
(`David R. MacIver <https://github.com/DRMacIver>`_ via Claude,
23+
`#369 <https://github.com/chardet/chardet/issues/369>`_)
24+
1125
7.4.2 (2026-04-12)
1226
-------------------
1327

0 commit comments

Comments
 (0)