erofs: Validate directory '.'/'..' entries and nlink counts#272
erofs: Validate directory '.'/'..' entries and nlink counts#272cgwalters merged 1 commit intocomposefs:mainfrom
Conversation
|
Man, the flakes on c9s are annoying. That's tracked by bootc-dev/bcvk#153 ...will investigate |
|
Hm I consistently get these two failures when running the unit tests locally: Haven't looked further to see what that's about. |
|
I've removed the PR from the merge queue because of #272 (comment) |
|
@cgwalters if you think it is fine to merge, I am fine with it |
a050065 to
8e05e09
Compare
Thank you for looking at this! Indeed the devcontainer doesn't have erofs-utils installed and neither does the CI env...and my bad for not noticing this drift! And now that I do...it turns out that while |
8e05e09 to
2709af0
Compare
When going over dumpfile canonicalization related to hardlinks, it made me think about the potential for skew between EROFS nlink on inode vs what's actually present. This then led to: our reader should be enforcing this matches. And while there, my agent also pointed out we could be checking `.`/`..` among other things. The previously unused InvalidSelfReference and InvalidParentReference error variants are now wired up. Assisted-by: OpenCode (Claude Opus 4) Signed-off-by: Colin Walters <walters@verbum.org>
2709af0 to
c1a10b6
Compare
When going over dumpfile canonicalization related to hardlinks, it made me think about the potential for skew between EROFS nlink on inode vs what's actually present.
This then led to: our reader should be enforcing this matches. And while there, my agent also pointed out we could be checking
./..among other things.The previously unused InvalidSelfReference and InvalidParentReference error variants are now wired up.
Assisted-by: OpenCode (Claude Opus 4)