Update to 0.9.0; fix rhbz#2274045 and rhbz#2266791
* comments from upstream repo with CVE-2024-25713:
* If you have already called yyjson_doc_free() on a doc, the doc and its internal values are invalid.
* Any further operation on the doc or its values is undefined behavior.
*
* While this is not a bug in yyjson itself, a defensive patch has been provided:
* 0eca326fe5
* If you mistakenly call yyjson_doc_free() twice on the same doc against the documentation,
* this patch will cause your program to crash immediately, alerting you to the incorrect usage.
This commit is contained in:
parent
0f2cc7edea
commit
9af00d9b3d
2 changed files with 4 additions and 6 deletions
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (yyjson-e0bacd5bffb7142a1a29ac6becbca4b87e45b429.tar.gz) = 8a8bd0484b4f4afe8cf610b14fd62c6046107a211880d4bc2d40b429618faae5fbf18a7013a00969d0cf4a983dc89e38ecd32436d9ae082c353652247ce977be
|
||||
SHA512 (yyjson-0.9.0.tar.gz) = 4b9ca85096ccfe2f513a5869eb63b175f44c67785940e02414f6a586d7dd7b772fed77a1775d9416a5f1bf17f20e18a31f0dc4e65be263019d9b95bf95366219
|
||||
|
|
|
|||
|
|
@ -1,11 +1,9 @@
|
|||
%global forgeurl https://github.com/ibireme/yyjson
|
||||
%global date 20231205
|
||||
%global commit e0bacd5bffb7142a1a29ac6becbca4b87e45b429
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
Version: 0.9.0
|
||||
%global tag %{version}
|
||||
%forgemeta
|
||||
|
||||
Name: yyjson
|
||||
Version: 0.8.0
|
||||
Release: %autorelease
|
||||
Summary: A high performance JSON library written in ANSI C
|
||||
License: MIT
|
||||
|
|
@ -38,7 +36,7 @@ Summary: Development files for %{name}
|
|||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains development files for %{name}.
|
||||
This package contains development files for %{name}.
|
||||
|
||||
%prep
|
||||
%forgeautosetup -p1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue