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
F137742453: D38645.id117475.diff
Tue, Nov 25, 9:29 AM
F137721148: D38645.diff
Tue, Nov 25, 5:48 AM
Unknown Object (File)
Mon, Nov 17, 3:04 AM
Unknown Object (File)
Wed, Nov 12, 10:36 PM
Unknown Object (File)
Tue, Nov 11, 8:58 PM
Unknown Object (File)
Mon, Nov 10, 1:45 AM
Unknown Object (File)
Oct 19 2025, 4:16 AM
Unknown Object (File)
Oct 18 2025, 7:47 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 49858
Build 46749: arc lint + arc unit