From 6d9876229cf0e9e17a436f352345acb95ebff3ca Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sun, 23 May 2021 17:43:14 +0200 Subject: [PATCH] Fixes bug #331 Bug detected and analysed by Arsen Liash Patch provided by Yurii Demchyna --- src/xspice/evt/evtbackup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xspice/evt/evtbackup.c b/src/xspice/evt/evtbackup.c index dc4432a43..1055deced 100644 --- a/src/xspice/evt/evtbackup.c +++ b/src/xspice/evt/evtbackup.c @@ -577,7 +577,7 @@ static void EVTbackup_output_queue( output = *output_ptr; while(output) { - if(output->event_time > new_time) + if (output->posted_time < new_time) break; output_ptr = &((*output_ptr)->next); output = *output_ptr;