Re: [PATCH] isofs: reject short directory records in isofs_read_level3_size()
From: Matthias Goergens
Date: Thu Sep 24 2026 - 11:18:07 EST
Hi Honza,
On Thu 24-09-26 17:03:50, Jan Kara wrote:
> Based on the standard empty directory blocks are not allowed (there must be
> at least one directory record in each directory block). So I'd perhaps just
> add checks to refuse them. Then the limit on the number of sections of inode
> description already present in isofs_read_level3_size() will naturally take
> care of the rest.
That's simpler, thanks.
Hui, would you like to do that? If not, I'll send it in a few days.
Either way, I'll first check a set of real images for empty directory
blocks, so we know the check doesn't reject discs that mount today.
Thanks,
Matthias