From b428b49d8f2953ee0c26bd7a4770a4fe27b8e306 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 1 Jun 2023 15:43:45 +0300 Subject: 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. --- gnu/packages/multiprecision.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnu/packages/multiprecision.scm') 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 ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2018 Eric Bavier -;;; Copyright © 2018, 2019, 2021 Efraim Flashner +;;; Copyright © 2018, 2019, 2021, 2023 Efraim Flashner ;;; Copyright © 2021 Vinicius Monego ;;; Copyright © 2022 Maxim Cournoyer ;;; @@ -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 -- cgit v1.2.3