mirror of
https://github.com/containerd/containerd.git
synced 2026-11-06 05:17:02 +00:00
Restore support for -1 as an unknown-size sentinel for backward
compatibility. Normalize it to 0, the documented value for unknown
sizes in the Writer interface.
Other negative sizes remain invalid, and known-size copies retain
their existing bounds checks.
Updates 91f62bdd77
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>