Skip to content

Infinite recursion in MkDirAll #359

@jim3ma

Description

@jim3ma

Bug report:

https://github.com/dragonflyoss/Dragonfly2/blob/main/client/config/dfget.go#L197

When dir == "/", MkDirAll does infinite recursion.

Expected behavior:

How to reproduce it:

Environment:

  • Dragonfly version:
  • OS:
  • Kernel (e.g. uname -a):
  • Others:

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions