mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
bfc3a4192a
This patch fixes the bug that allowed cp to copy files outside of the containers rootfs, by passing a relative path (such as ../../../../../../../../etc/shadow). This is fixed by first converting the path to an absolute path (relative to /) and then appending it to the container's rootfs before continuing. Docker-DCO-1.1-Signed-off-by: Aleksa Sarai <cyphar@cyphar.com> (github: cyphar) |
||
---|---|---|
.. | ||
execdriver | ||
graphdriver | ||
networkdriver | ||
attach.go | ||
container.go | ||
container_unit_test.go | ||
daemon.go | ||
daemon_aufs.go | ||
daemon_btrfs.go | ||
daemon_devicemapper.go | ||
daemon_no_aufs.go | ||
history.go | ||
network_settings.go | ||
server.go | ||
state.go | ||
utils.go | ||
utils_test.go | ||
volumes.go |