Validate sharded directory structure in ipfs ls
#8196
Labels
kind/bug
A bug in existing code (including security flaws)
need/triage
Needs initial labeling and prioritization
Milestone
Currently, when
ipfs ls
lists a sharded directory, it naively walks the dag without actually validating the internal structure. This meansipfs ls /ipfs/QmFoo
might list some file named "bar", andipfs get /ipfs/QmFoo/bar
might then fail (because the directory was malformed).We should be validating this structure as we traverse it.
The text was updated successfully, but these errors were encountered: