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)
Mon, May 13, 6:11 PM
Unknown Object (File)
Feb 15 2024, 8:36 AM
Unknown Object (File)
Dec 31 2023, 4:19 AM
Unknown Object (File)
Dec 20 2023, 4:51 AM
Unknown Object (File)
Dec 12 2023, 6:56 AM
Unknown Object (File)
Nov 28 2023, 4:31 PM
Unknown Object (File)
Nov 24 2023, 9:14 PM
Unknown Object (File)
Nov 23 2023, 7:37 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