diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-06-01 15:43:45 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-06-01 15:52:37 +0300 |
commit | b428b49d8f2953ee0c26bd7a4770a4fe27b8e306 (patch) | |
tree | c982f140c7349fcba4f4f3baa0b95717b4a09af6 /gnu/packages/multiprecision.scm | |
parent | 7c52ae295b2c6ab06f7d07749bdba1a6ecdcbb1b (diff) | |
download | guix-b428b49d8f2953ee0c26bd7a4770a4fe27b8e306.tar.gz guix-b428b49d8f2953ee0c26bd7a4770a4fe27b8e306.zip |
gnu: libtommath: Prevent possible integer overflow.
* gnu/packages/multiprecision.scm (libtommath)[source]: Add patch.
* gnu/packages/patches/libtommath-integer-overflow.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
Diffstat (limited to 'gnu/packages/multiprecision.scm')
-rw-r--r-- | gnu/packages/multiprecision.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/multiprecision.scm b/gnu/packages/multiprecision.scm index 6ba08be3a3..bb68ea06bf 100644 --- a/gnu/packages/multiprecision.scm +++ b/gnu/packages/multiprecision.scm @@ -6,7 +6,7 @@ ;;; Copyright © 2016, 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018 Eric Bavier <bavier@member.fsf.org> -;;; Copyright © 2018, 2019, 2021 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2018, 2019, 2021, 2023 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2021 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; @@ -450,7 +450,8 @@ number generators, public key cryptography and a plethora of other routines.") "download/v" version "/ltm-" version ".tar.xz")) (sha256 (base32 - "1c8q1qy88cjhdjlk3g24mra94h34c1ldvkjz0n2988c0yvn5xixp")))) + "1c8q1qy88cjhdjlk3g24mra94h34c1ldvkjz0n2988c0yvn5xixp")) + (patches (search-patches "libtommath-integer-overflow.patch")))) (build-system gnu-build-system) (arguments '(#:phases |