diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-10-29 10:28:38 +0200 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2021-11-12 11:08:25 -0500 |
commit | c8b7ca2ba2ef9a57103b5c05e6e29b54b0c6fa48 (patch) | |
tree | 2fd5d0ee15434453863127715e4c9d26cbdba010 /contrib/cirrus | |
parent | 2dc8db77307a050cab9d030149be34e636f04657 (diff) | |
download | podman-c8b7ca2ba2ef9a57103b5c05e6e29b54b0c6fa48.tar.gz podman-c8b7ca2ba2ef9a57103b5c05e6e29b54b0c6fa48.tar.bz2 podman-c8b7ca2ba2ef9a57103b5c05e6e29b54b0c6fa48.zip |
pod/container create: resolve conflicts of generated names
Address the TOCTOU when generating random names by having at most 10
attempts to assign a random name when creating a pod or container.
[NO TESTS NEEDED] since I do not know a way to force a conflict with
randomly generated names in a reasonable time frame.
Fixes: #11735
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'contrib/cirrus')
0 files changed, 0 insertions, 0 deletions