crawfordxx
7250b06e25
libpod: fix data race on deferredErr in attachExecHTTP
...
ExecContainerHTTP returns attachChan to its caller before attachExecHTTP
finishes. The caller's deferred close(holdConnOpen) can therefore fire
while attachExecHTTP is still running (including its own deferred
cleanups), which races with the goroutine inside attachExecHTTP that
reads deferredErr after <-holdConnOpen unblocks.
Fix this by introducing an errCh channel: deferred functions write
deferredErr into it, and the goroutine reads from it after
<-holdConnOpen unblocks, ensuring the read happens-after all writes to
the named return value.
Fixes : #28277
Signed-off-by: crawfordxx <crawfordxx@users.noreply.github.com >
(cherry picked from commit 497185c14b )
Signed-off-by: Paul Holzinger <pholzing@redhat.com >
2026-04-09 14:23:51 +02:00
..
2026-02-05 14:56:03 +01:00
2025-09-01 12:33:04 +02:00
2025-10-16 14:11:29 -04:00
2025-09-01 12:33:04 +02:00
2024-01-04 11:53:38 +02:00
2025-10-16 14:11:29 -04:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2024-11-27 08:09:50 -05:00
2025-10-16 14:11:29 -04:00
2026-02-05 20:09:37 -05:00
2025-09-01 12:33:04 +02:00
2026-03-19 19:40:30 -04:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2025-09-01 12:33:04 +02:00
2024-11-27 08:09:50 -05:00
2024-11-27 08:09:50 -05:00
2026-02-06 15:36:47 -05:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2026-02-05 20:09:37 -05:00
2026-02-06 15:36:47 -05:00
2024-09-02 11:21:35 +01:00
2025-09-01 12:33:04 +02:00
2026-02-06 15:36:47 -05:00
2025-12-04 16:09:56 +00:00
2025-10-01 10:42:08 -04:00
2025-04-07 18:11:06 +02:00
2025-11-07 10:58:16 -05:00
2025-09-01 12:33:04 +02:00
2026-03-19 19:40:30 -04:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2024-11-01 18:53:08 +01:00
2024-01-04 11:53:38 +02:00
2024-11-27 08:09:50 -05:00
2024-11-27 08:09:50 -05:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2025-09-02 16:17:18 +00:00
2024-06-27 10:50:17 +02:00
2025-09-10 16:17:04 +02:00
2024-01-04 11:53:38 +02:00
2025-09-01 12:33:04 +02:00
2026-04-09 13:41:53 +02:00
2025-09-01 12:33:04 +02:00
2022-03-23 19:05:29 +01:00
2025-03-12 21:27:00 +01:00
2025-09-01 12:33:04 +02:00
2026-02-06 13:46:36 -05:00
2025-10-01 10:42:08 -04:00
2025-10-01 10:42:08 -04:00
2026-02-06 13:46:36 -05:00
2025-10-01 10:42:08 -04:00
2025-09-01 12:33:04 +02:00
2024-02-08 09:35:39 -05:00
2026-02-05 20:09:37 -05:00
2025-10-01 10:42:08 -04:00
2024-01-04 11:53:38 +02:00
2025-10-01 10:42:08 -04:00
2025-10-01 10:42:08 -04:00
2025-09-10 16:17:04 +02:00
2025-09-01 12:33:04 +02:00
2025-09-10 16:17:04 +02:00
2025-09-01 12:33:04 +02:00
2025-09-01 12:33:04 +02:00
2025-09-01 12:33:04 +02:00
2024-01-04 11:53:38 +02:00
2024-01-04 11:53:38 +02:00
2025-10-20 10:57:46 +00:00
2026-04-09 14:23:51 +02:00
2025-10-01 10:42:08 -04:00
2025-09-01 12:33:04 +02:00
2025-10-01 10:42:08 -04:00
2025-09-10 16:17:05 +02:00
2024-01-04 11:53:38 +02:00
2025-10-01 10:42:08 -04:00
2025-09-10 16:17:04 +02:00
2025-09-01 12:33:04 +02:00
2025-10-16 14:11:29 -04:00
2026-02-06 15:36:47 -05:00
2024-01-04 11:53:38 +02:00
2025-09-01 12:33:04 +02:00
2025-09-01 12:33:04 +02:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2025-09-01 12:33:04 +02:00
2024-01-04 11:53:38 +02:00
2024-01-04 11:53:38 +02:00
2025-09-01 12:33:04 +02:00
2024-01-04 11:53:38 +02:00
2024-01-04 11:53:38 +02:00
2025-10-16 14:11:29 -04:00
2025-10-01 10:42:08 -04:00
2025-09-01 12:33:04 +02:00
2025-10-16 14:11:29 -04:00
2025-02-11 15:13:29 +00:00
2025-02-11 15:13:29 +00:00
2025-02-11 15:13:29 +00:00
2026-03-09 17:59:15 +01:00
2025-10-01 10:42:08 -04:00
2025-10-01 10:42:08 -04:00
2025-09-01 12:33:04 +02:00
2025-10-01 10:42:08 -04:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2024-01-04 11:53:38 +02:00
2025-10-16 14:11:29 -04:00
2024-08-15 11:07:27 +02:00
2024-07-09 11:15:29 +02:00
2026-03-10 13:54:57 +01:00
2024-02-08 09:35:39 -05:00
2026-03-09 17:59:15 +01:00
2026-03-09 17:59:15 +01:00
2025-10-01 10:42:08 -04:00
2026-02-05 20:09:37 -05:00
2024-02-08 09:35:39 -05:00
2025-09-18 14:24:35 +00:00
2025-09-01 12:33:04 +02:00
2025-09-01 12:33:04 +02:00
2025-10-01 10:42:08 -04:00
2025-10-01 10:42:08 -04:00
2025-09-01 12:33:04 +02:00
2025-05-20 15:52:27 +02:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2024-02-08 09:35:39 -05:00
2024-01-04 11:53:38 +02:00
2024-01-04 11:53:38 +02:00
2024-05-22 17:47:01 -04:00
2026-02-06 15:36:19 -05:00
2026-02-06 15:36:19 -05:00