Change bug number for duplicate bug.

PiperOrigin-RevId: 241567897
Change-Id: I580eac04f52bb15f4aab7df9822c4aa92e743021
This commit is contained in:
Kevin Krakauer 2019-04-02 11:26:47 -07:00 committed by Shentubot
parent 52a51a8e20
commit a40ee4f4b8
1 changed files with 1 additions and 1 deletions

View File

@ -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)