Date: Tue, 14 Feb 2023 13:24:11 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 269519] corrupt tar file can cause tarfs file system to panic or crash Message-ID: <bug-269519-227-Hszgk8WD24@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-269519-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269519 Dag-Erling Smørgrav <des@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress --- Comment #1 from Dag-Erling Smørgrav <des@FreeBSD.org> --- This is easily fixed by removing the removing the assertion in `tarfs_alloc_node()` and instead checking, at the top, that if `parent` is not `NULL` then it is a directory, and returning an error if it isn't (which will then be propagated out). But part of me thinks this should have been caught by `tarfs_lookup_path()` before we even got to `tarfs_alloc_node()`. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269519-227-Hszgk8WD24>
