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)
Sat, Apr 25, 7:06 PM
Unknown Object (File)
Mon, Apr 20, 3:37 AM
Unknown Object (File)
Sun, Apr 19, 8:10 PM
Unknown Object (File)
Sun, Apr 19, 4:01 AM
Unknown Object (File)
Sat, Apr 18, 11:05 AM
Unknown Object (File)
Fri, Apr 17, 8:07 PM
Unknown Object (File)
Fri, Apr 17, 5:56 PM
Unknown Object (File)
Thu, Apr 16, 1:04 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 Not Applicable
Unit
Tests Not Applicable