gnu: cjson: Update to 1.7.18. [security fixes]

This fixes CVE-2023-50471 and CVE-2023-50472.

* gnu/packages/javascript.scm (cjson): Update to 1.7.18.
This commit is contained in:
Nicolas Graves 2024-10-27 00:42:45 +02:00 committed by Zheng Junjie
parent a019e11ed2
commit 6333849010
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -49,7 +49,7 @@
(define-public cjson
(package
(name "cjson")
(version "1.7.16")
(version "1.7.18")
(source (origin
(method git-fetch)
(uri (git-reference
@ -57,7 +57,7 @@
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "00599lzzb0vszk317n0gln7wizdpchy4warxgpj3khrir73pphbb"))))
(base32 "08p37q4i3za3dgz7wynma1fh8y4rq7pyzyjzcda710nxrmsm1pyv"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags '("-DENABLE_CJSON_UTILS=On")))