Matthew Heon
5bb8fa30b0
Do not return from c.stop() before re-locking
...
Unlocking an already unlocked lock is a panic. As such, we have
to make sure that the deferred c.lock.Unlock() in
c.StopWithTimeout() always runs on a locked container. There was
a case in c.stop() where we could return an error after we unlock
the container to stop it, but before we re-lock it - thus
allowing for a double-unlock to occur. Fix the error return to
not happen until after the lock has been re-acquired.
Fixes #9615
Signed-off-by: Matthew Heon <mheon@redhat.com >
2021-03-05 09:19:48 -05:00
..
2019-03-29 08:27:33 -04:00
2021-02-25 10:02:41 -06:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-03-01 09:52:03 +01:00
2017-11-01 11:24:59 -04:00
2020-05-11 13:11:07 +02:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 15:51:49 +01:00
2021-02-22 09:03:51 +01:00
2021-01-25 15:44:42 -05:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2019-01-18 15:43:11 -06:00
2021-03-02 13:30:28 -05:00
2021-02-22 09:03:51 +01:00
2021-02-25 10:02:41 -06:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-25 10:02:41 -06:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-23 14:05:18 -05:00
2020-09-10 13:02:31 -04:00
2021-03-02 17:00:06 +00:00
2020-07-23 10:18:14 -04:00
2021-02-22 09:03:51 +01:00
2021-03-05 09:19:48 -05:00
2018-07-31 14:19:50 +00:00
2021-03-02 14:28:16 -05:00
2021-02-22 09:03:51 +01:00
2021-03-02 14:28:16 -05:00
2021-02-11 23:01:56 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2018-07-31 14:19:50 +00:00
2021-02-22 09:03:51 +01:00
2021-02-22 22:55:19 -06:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-03-02 13:30:28 -05:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2018-11-26 13:55:02 +01:00
2021-02-23 22:30:04 +01:00
2021-02-22 09:03:51 +01:00
2021-02-25 10:02:41 -06:00
2021-02-25 10:02:41 -06:00
2021-02-25 10:02:41 -06:00
2021-03-02 17:00:06 +00:00
2021-02-22 09:03:51 +01:00
2020-06-25 17:16:12 +02:00
2021-02-25 10:02:41 -06:00
2021-02-22 09:03:51 +01:00
2021-02-25 10:02:41 -06:00
2021-02-22 22:55:19 -06:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-26 03:08:10 +01:00
2021-02-22 09:03:51 +01:00
2021-03-02 13:30:28 -05:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2020-12-02 14:18:37 -05:00
2021-02-22 09:03:51 +01:00
2021-02-26 03:08:10 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-03-02 13:30:28 -05:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2020-09-13 23:24:15 -04:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00