mirror of
https://github.com/moby/buildkit.git
synced 2026-11-06 13:26:48 +00:00
The resize and signal goroutines in runProcess both assigned the err variable of the enclosing function, so concurrent Resize and Signal calls on a process raced, and either goroutine could log the other's error. Use a local error in each goroutine. Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>