mirror of
https://github.com/containers/podman.git
synced 2025-12-04 20:28:40 +08:00
Fixes #24267 This commit replaces a potentially unsafe slice-assignment with a call to `slices.Clone`. This could prevent a bug where `saveCommand` and `loadCommand` could end up sharing an underlying array if `parentFlags` has a cap > it's len. Signed-off-by: Zachary Hanham <z.hanham00@gmail.com>