diff options
author | Slava Bacherikov <slava@bacher09.org> | 2021-05-06 00:43:02 +0300 |
---|---|---|
committer | Slava Bacherikov <slava@bacher09.org> | 2021-05-06 19:24:14 +0300 |
commit | d6fd5289008c595c0aa49e9f9d06632795adca82 (patch) | |
tree | 66f53767d47f15d4d6d9589140362263491c5dbb /libpod/common_test.go | |
parent | ed6f399770946bb2e88f8b94e1d2f279208648d4 (diff) | |
download | podman-d6fd5289008c595c0aa49e9f9d06632795adca82.tar.gz podman-d6fd5289008c595c0aa49e9f9d06632795adca82.tar.bz2 podman-d6fd5289008c595c0aa49e9f9d06632795adca82.zip |
Fix infinite loop in isPathOnVolume
filepath.Dir in some cases returns `.` symbol and calling this function
again returns same result. In such cases this function
never returns and causes some operations to stuck forever.
Closes #10216
Signed-off-by: Slava Bacherikov <slava@bacher09.org>
Diffstat (limited to 'libpod/common_test.go')
0 files changed, 0 insertions, 0 deletions