Re: [PATCH v3] Fix XFS directory extent parsing

2023-10-16 Thread Daniel Kiper
On Fri, Oct 06, 2023 at 05:58:21PM -0400, Jon DeVree wrote: > On Wed, Oct 04, 2023 at 00:43:18 +, Lidong Chen wrote: > > - if (filename + direntry->len - 1 > (char *) tail) > > + if (filename + direntry->len + 1 > (char *) end) > > return grub_error (GRUB_ERR_BAD_FS, "invalid XFS directory ent

Re: [PATCH 1/1] fs/xfs: Incorrect short form directory data boundary check

2023-10-16 Thread Daniel Kiper
Jon, may I ask you to take a look at this patch? Does not it conflict with your XFS patch [1]. Daniel [1] https://lists.gnu.org/archive/html/grub-devel/2023-09/msg00110.html On Thu, Sep 28, 2023 at 10:33:44PM +, Lidong Chen wrote: > After parsing of the current entry, the entry pointer is ad