mirror of
https://github.com/containers/skopeo.git
synced 2025-05-04 22:16:43 +00:00
In PR review for a different issue, the question of what happens if we hit overflow for the imageid serial was hit. This feels pretty unlikely; if I did the math right, it'd require opening an average of 136 images per second to overflow it in a year. Nevertheless, in practice what we're sending on the wire is just a JSON number, and if we extend this to the "max safe JSON number" of 2^53, it'd take 285,616,414 images per second to overflow in a year, going from implausible to probably impossible. With a bit more work of course, we could make this a sparse mapping and reuse freed numbers, but eh. Signed-off-by: Colin Walters <walters@verbum.org> |
||
---|---|---|
.. | ||
fixtures | ||
blocked_test.go | ||
check_test.go | ||
copy_test.go | ||
decompress-dirs.sh | ||
fixtures_info_test.go | ||
openshift_shell_test.go | ||
openshift.go | ||
procutils_linux.go | ||
procutils.go | ||
proxy_test.go | ||
registry.go | ||
signing_test.go | ||
sync_test.go | ||
utils.go |