Commit Graph

2 Commits

Author SHA1 Message Date
703dfb493b runtime: fix PipelineWorkers stack use-after-free on OOM in start() (RT-PIPELINE-WORKERS-OOM-UAF) 2026-11-25 13:32:40 +01:00
a3980cd437 runtime: a bounded worker pool for pipeline compiles (RT-PIPELINE-COMPILE-WORKERS)
PipelineWorkers::run is a blocking parallel loop: the calling thread works on its own batch beside the workers, so a batch completes with no worker left and nothing outlives the call. CPU test: every job once and before run returns, no workers, exceptions, several callers, stop with jobs queued, and the LEONIDA_PIPELINE_THREADS text.
2026-11-25 04:46:33 +01:00