Upgrade to relase 7.4.3:

- Fixed ValueError: embedded null character crash when input
  contained a <meta charset> declaration with a null byte in the
  encoding name (e.g. b'<meta charset="\x00utf-8">').
  codecs.lookup() raises ValueError on embedded nulls, and
  lookup_encoding() was only catching LookupError. Also added
  defensive ValueError catches in _validate_bytes() and _to_utf8()
  for completeness.

License-Update: Change 7.x license from MIT to 0BSD

Signed-off-by: Leon Anavi <[email protected]>
---
 ...n3-chardet_6.0.0.post1.bb => python3-chardet_7.4.3.bb} | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-devtools/python/{python3-chardet_6.0.0.post1.bb => 
python3-chardet_7.4.3.bb} (61%)

diff --git a/meta/recipes-devtools/python/python3-chardet_6.0.0.post1.bb 
b/meta/recipes-devtools/python/python3-chardet_7.4.3.bb
similarity index 61%
rename from meta/recipes-devtools/python/python3-chardet_6.0.0.post1.bb
rename to meta/recipes-devtools/python/python3-chardet_7.4.3.bb
index 0ca0aef3ac..30c44c6d7c 100644
--- a/meta/recipes-devtools/python/python3-chardet_6.0.0.post1.bb
+++ b/meta/recipes-devtools/python/python3-chardet_7.4.3.bb
@@ -1,9 +1,9 @@
-SUMMARY = "Universal encoding detector for Python 2 and 3"
+SUMMARY = "Universal character encoding detector"
 HOMEPAGE = "https://pypi.org/project/chardet/";
-LICENSE = "LGPL-2.1-only"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=4bf661c1e3793e55c8d1051bc5e0ae21"
+LICENSE = "0BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=bd0753b9dc12e5e3da3047778fcf1dca"
 
-SRC_URI[sha256sum] = 
"6b78048c3c97c7b2ed1fbad7a18f76f5a6547f7d34dbab536cc13887c9a92fa4"
+SRC_URI[sha256sum] = 
"cc1d4eb92a4ec1c2df3b490836ffa46922e599d34ce0bb75cf41fd2bf6303d56"
 UPSTREAM_CHECK_REGEX = "chardet-(?P<pver>6\..*)\.tar"
 
 inherit pypi python_hatchling
-- 
2.47.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#241656): 
https://lists.openembedded.org/g/openembedded-core/message/241656
Mute This Topic: https://lists.openembedded.org/mt/120391670/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to