619e402989eafe0d9624556f2520ce248cdacf13
The previous implementation would error out with "Unexpected EOF" which was caused by an underlying "array index out-of-bounds" error. The root cause was deleting items from the same array that was being iterated over. The iteration was unaware that the array size had changed, resulting in an error. The new implementation builds a new array instead of mutating a copy of the old one. Fixes: #32744 Signed-off-by: Dave Tucker <dt@docker.com> Upstream-commit: 1076ab58ec92637a1a157d8dfbb7625d7bba6c40 Component: engine
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%