mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

Changelog: ============ * This release contains security hardening measures based on recommendations by a security audit sponsored by OSTIF and conducted by X41 D-Sec GmbH. Several of these measures include changing defaults to be more strict, by default simplejson will now only consume and produce compliant JSON, but the flags still exist for any backwards compatibility needs. No high priority issues were discovered, the reference count leak is thought to be unreachable since the digits of the float are checked before PyOS_string_to_double is called. A link to the public version of this report will be included in a future release of simplejson. The following fixes were implemented in one PR: https://github.com/simplejson/simplejson/pull/313 * Fix invalid handling of unicode escape sequences in the pure Python implementation of the decoder (SJ-PT-23-01) * Fix missing reference count decrease if PyOS_string_to_double raises an exception in Python 2.x; was probably unreachable (SJ-PT-23-02) * Backport the integer string length limitation from Python 3.11 to limit quadratic number parsing (SJ-PT-23-03) * Fix inconsistencies with error messages between the C and Python implementations (SJ-PT-23-100) * Remove unused unichr import from encoder (SJ-PT-23-101) * Remove unused namedtuple_as_object and tuple_as_array arguments from simplejson.load (SJ-PT-23-102) * Remove vestigial _one_shot code from iterencode (SJ-PT-23-103) * Change default of allow_nan from True to False and add allow_nan to decoder (SJ-PT-23-107) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
25 lines
683 B
BlitzBasic
25 lines
683 B
BlitzBasic
SUMMARY = "Simple, fast, extensible JSON encoder/decoder for Python"
|
|
HOMEPAGE = "http://cheeseshop.python.org/pypi/simplejson"
|
|
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c6338d7abd321c0b50a2a547e441c52e"
|
|
|
|
SRC_URI[sha256sum] = "6277f60848a7d8319d27d2be767a7546bc965535b28070e310b3a9af90604a4c"
|
|
|
|
inherit pypi setuptools3
|
|
|
|
RDEPENDS:${PN} += "\
|
|
${PYTHON_PN}-io \
|
|
${PYTHON_PN}-netserver \
|
|
${PYTHON_PN}-numbers \
|
|
"
|
|
|
|
PACKAGES =+ "${PN}-tests"
|
|
RDEPENDS:${PN}-tests = "${PN} ${PYTHON_PN}-unittest"
|
|
FILES:${PN}-tests+= " \
|
|
${PYTHON_SITEPACKAGES_DIR}/simplejson/tests \
|
|
${PYTHON_SITEPACKAGES_DIR}/simplejson/tool.py* \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|