diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-10-29 10:28:38 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-11-08 13:33:30 +0100 |
commit | 6444f2402839330f977cfe1c701ca331a915047b (patch) | |
tree | 5ac9d000ab787608ddac3617977d3e84579a4dd3 /test/e2e/pod_initcontainers_test.go | |
parent | 865653b661dd9dbc5d31f08cbf3f14ed32c82850 (diff) | |
download | podman-6444f2402839330f977cfe1c701ca331a915047b.tar.gz podman-6444f2402839330f977cfe1c701ca331a915047b.tar.bz2 podman-6444f2402839330f977cfe1c701ca331a915047b.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 'test/e2e/pod_initcontainers_test.go')
0 files changed, 0 insertions, 0 deletions