Oopeneuler-sync-botFix CVE-2024-50610
9faf6191创建于 2024年11月1日历史提交
From 82bc5c00cfe4d1e2f4386e0760dd9ad26cfa4831 Mon Sep 17 00:00:00 2001

From: Dirk Eddelbuettel <edd@debian.org>

Date: Mon, 28 Oct 2024 18:33:15 -0500

Subject: [PATCH] releasing package gsl version 2.8+dfsg-4



---

 siman/siman.c | 3 +++

 1 file changed, 3 insertions(+)



diff --git a/siman/siman.c b/siman/siman.c

index 65b9177..5e8d75d 100644

--- a/siman/siman.c

+++ b/siman/siman.c

@@ -197,6 +197,9 @@ gsl_siman_solve_many (const gsl_rng * r, void *x0_p, gsl_siman_Efunc_t Ef,

   double u;                     /* throw the die to choose a new "x" */

   int n_iter;

 

+  /* this function requires that n_tries be positive */

+  assert(params.n_tries > 0);

+

   if (print_position) {

     printf ("#-iter    temperature       position");

     printf ("         delta_pos        energy\n");

-- 

2.33.0