Page MenuHomeFreeBSD

tarfs: Really prevent descending into a non-directory.
ClosedPublic

Authored by des on Feb 16 2023, 9:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 1, 4:02 AM
Unknown Object (File)
Tue, Mar 18, 7:20 AM
Unknown Object (File)
Tue, Mar 18, 6:31 AM
Unknown Object (File)
Mon, Mar 17, 8:21 PM
Unknown Object (File)
Feb 26 2025, 9:35 PM
Unknown Object (File)
Feb 18 2025, 1:54 AM
Unknown Object (File)
Feb 8 2025, 6:07 PM
Unknown Object (File)
Jan 31 2025, 12:35 AM
Subscribers

Details

Summary

The previous fix was incorrect: we need to verify that the current node, if it exists, is not a directory, but we were checking the parent node instead. Address this, add more tests, and fix the test cleanup routines.

PR: 269519, 269561
Fixes: ae6cff89738b
Sponsored by: Juniper Networks, Inc.
Sponsored by: Klara, Inc.

Diff Detail

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