forked from pool/python-orjson
Fix write outsize of allocated memory on json dump
Add CVE-2025-67221.patch to fix write outsize of allocated memory on json dump (bsc#1257121, gh#ijl/orjson#637)
This commit is contained in:
@@ -29,6 +29,8 @@ Source1: vendor.tar.xz
|
||||
Source2: https://files.pythonhosted.org/packages/source/o/orjson/orjson-%{version}.tar.gz
|
||||
Source3: devendor-sdist.sh
|
||||
Source4: PACKAGING_README.md
|
||||
# PATCH-FIX-OPENSUSE CVE-2025-67221.patch gh#ijl/orjson#637
|
||||
Patch0: CVE-2025-67221.patch
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module maturin >= 1}
|
||||
BuildRequires: %{python_module pip}
|
||||
@@ -53,7 +55,7 @@ orjson is a fast JSON library for Python.
|
||||
It benchmarks as the fastest Python library for JSON.
|
||||
|
||||
%prep
|
||||
%autosetup -a1 -n orjson-%{version}
|
||||
%autosetup -p1 -a1 -n orjson-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
Reference in New Issue
Block a user