Page MenuHomeFreeBSD

tarfs: Support paths that spill into exthdrs.
ClosedPublic

Authored by des on Apr 2 2024, 8:15 PM.
Tags
None
Referenced Files
F131942821: D44599.id.diff
Sun, Oct 12, 9:30 AM
F131942815: D44599.id136449.diff
Sun, Oct 12, 9:30 AM
F131942805: D44599.id136470.diff
Sun, Oct 12, 9:30 AM
Unknown Object (File)
Sat, Oct 11, 10:39 PM
Unknown Object (File)
Sat, Oct 11, 8:07 PM
Unknown Object (File)
Sun, Sep 14, 3:09 PM
Unknown Object (File)
Sat, Sep 13, 2:16 PM
Unknown Object (File)
Aug 15 2025, 12:50 AM

Details

Summary

MFC after: 3 days
Sponsored by: Juniper Networks, Inc.
Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des requested review of this revision.Apr 2 2024, 8:15 PM
kevans added a subscriber: kevans.
kevans added inline comments.
sys/fs/tarfs/tarfs_vfsops.c
619

Is there any value in complaining if we somehow see both a path and GNU.sparse.name exthdr?

This revision is now accepted and ready to land.Apr 3 2024, 4:48 AM
des marked an inline comment as done.Apr 3 2024, 9:14 AM
des added inline comments.
sys/fs/tarfs/tarfs_vfsops.c
619

I don't think so. I don't see how it can be exploited. We'll just use whichever came last, we won't leak memory or take a wrong turn somewhere.

des marked an inline comment as done.Apr 3 2024, 9:14 AM
This revision was automatically updated to reflect the committed changes.