mirror of
https://github.com/mudler/luet.git
synced 2025-06-26 07:22:59 +00:00
docker.Untar (https://github.com/mudler/luet/blob/master/vendor/github.com/docker/docker/pkg/archive/archive.go#L942) requires absolute paths. We didn't do any input validation before, assuming the path passed by were absolute since they were coming from YAML configuration files, now that this is not the truth anymore we need to sanitize the input. With this change we check if the given path is absolute or relative, if it's relative we calculate the absolute path and use it in place. |
||
---|---|---|
.. | ||
artifact | ||
compression | ||
options | ||
spec |