MAJ terminée. Nous sommes passés en version 14.6.2 . Pour consulter les "releases notes" associées c'est ici :

https://about.gitlab.com/releases/2022/01/11/security-release-gitlab-14-6-2-released/
https://about.gitlab.com/releases/2022/01/04/gitlab-14-6-1-released/

Commit 34f472e9 authored by Johannes Kanig's avatar Johannes Kanig
Browse files

P509-017 fix incorrect time limits

The adaptation of time limits was incorrect, and could transform "0" (no
time limit) to "1" (second).

* call_provers.ml
(adapt_limit): do nothing when no time limit was present
parent e8665035
......@@ -259,14 +259,16 @@ let actualcommand ~cleanup ~inplace command limit file =
raise e
let adapt_limits limit on_timelimit =
{ limit with limit_time =
(* for steps limit use 2 * t + 1 time *)
if limit.limit_steps <> empty_limit.limit_steps
then (2 * limit.limit_time + 1)
(* if prover implements time limit, use t + 1 *)
else if on_timelimit then succ limit.limit_time
(* otherwise use t *)
else limit.limit_time }
if limit.limit_time = empty_limit.limit_time then limit
else
{ limit with limit_time =
(* for steps limit use 2 * t + 1 time *)
if limit.limit_steps <> empty_limit.limit_steps
then (2 * limit.limit_time + 1)
(* if prover implements time limit, use t + 1 *)
else if on_timelimit then succ limit.limit_time
(* otherwise use t *)
else limit.limit_time }
type server_id = int
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment