mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Change bug number for duplicate bug.
PiperOrigin-RevId: 241567897 Change-Id: I580eac04f52bb15f4aab7df9822c4aa92e743021
This commit is contained in:
committed by
Shentubot
parent
52a51a8e20
commit
a40ee4f4b8
@@ -232,7 +232,7 @@ func (cm *containerManager) Start(args *StartArgs, _ *struct{}) error {
|
||||
}
|
||||
// Prevent CIDs containing ".." from confusing the sentry when creating
|
||||
// /containers/<cid> directory.
|
||||
// TODO: Once we have multiple independant roots, this
|
||||
// TODO: Once we have multiple independent roots, this
|
||||
// check won't be necessary.
|
||||
if path.Clean(args.CID) != args.CID {
|
||||
return fmt.Errorf("container ID shouldn't contain directory traversals such as \"..\": %q", args.CID)
|
||||
|
||||
Reference in New Issue
Block a user