AliyunContainerService / pouch

An Efficient Enterprise-class Container Engine
https://pouchcontainer.io
Apache License 2.0
4.64k stars 949 forks source link

Fix pouch cp escape #3058

Open Wheat2018 opened 1 year ago

Wheat2018 commented 1 year ago

Ⅰ. Describe what this PR did

fixed calling Untar with non-root path, and use Untar with root.

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews