mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
220455caaf
Impose a limit on the maximum nesting of file formats that can open more files. For example, a qcow2 file can have a backing file, which could be another qcow2 file with a backing file (or even the same file as the original), potentially causing unbounded recursion. This commit is based on crosvm implementation: https://chromium.googlesource.com/crosvm/crosvm/+/eb1640e301d66c06e0e0a07886946830f3f2f4fe Fixes: #6472 Signed-off-by: Yu Li <liyu.yukiteru@bytedance.com>