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
F151166189: D38645.id117473.diff
Mon, Apr 6, 1:19 PM
Unknown Object (File)
Sat, Apr 4, 10:56 PM
Unknown Object (File)
Sun, Mar 8, 9:42 PM
Unknown Object (File)
Jan 31 2026, 1:17 AM
Unknown Object (File)
Jan 26 2026, 3:45 PM
Unknown Object (File)
Jan 26 2026, 6:35 AM
Unknown Object (File)
Jan 26 2026, 12:19 AM
Unknown Object (File)
Jan 24 2026, 11:06 PM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 49859
Build 46750: arc lint + arc unit