mirror of
https://github.com/containers/podman.git
synced 2025-12-16 03:57:36 +08:00
In the case of an Decoder error which is not EOF we loop forever, as the Decoder stores some errors each next Decode() call will keep returning the same error. Thus we loop forever until we run out of memory as each error was stored in pullErrors array as described in [1]. Note this does not actually fix whatever causes the underlying connection error in the issue, it just fixes the loop/memory leak. [1] https://github.com/containers/podman/issues/25974 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
3.0 KiB
3.0 KiB