[PATCH v3] erofs: validate h_shared_count in erofs_init_inode_xattrs()

Gao Xiang xiang at kernel.org
Wed Mar 18 04:07:53 AEDT 2026


On Tue, Mar 17, 2026 at 10:29:00PM +0530, Utkal Singh wrote:
> >
> > Hi Gao,
> >
> > Sorry about this. The mismatch between the commit message and the code
> > slipped through when I revised the patch — I updated the implementation to
> > use sizeof(__le32) but forgot to update the commit message to match. The
> > changelog was also wrong (v2 mislabeled as "initial").

Sorry, honestly I'm skeptical about it, because your v2 already uses
__le32:
https://lore.kernel.org/r/20260317152439.5738-1-singhutkal015@gmail.com

And I think your v2 is almost fine, I will revise a bit manually.

> >
> > I wrote this myself, just didn't review carefully enough before resending.
> > I'll be more thorough going forward.
> >
> > Will send a clean v4 shortly.

Please don't resend anymore, it seems the mailing list is flooded
with your patches, and most versions are meaningless.

Thanks,
Gao Xiang

> >
> > Thanks, Utkal
> >


More information about the Linux-erofs mailing list