Messages in this thread | | | Date | Mon, 28 Nov 2022 15:44:19 -0500 | From | "Theodore Ts'o" <> | Subject | Re: [PATCH 2/2] ext4: add inode table check in __ext4_get_inode_loc to aovid possible infinite loop |
| |
On Thu, Aug 18, 2022 at 08:13:53PM +0530, Ritesh Harjani (IBM) wrote: > Folding a small patch to implement the simple bound check. Is this the right > approach? > > From: "Ritesh Harjani (IBM)" <ritesh.list@gmail.com> > Date: Thu, 18 Aug 2022 07:53:58 -0500 > Subject: [RFC] ext4: Add ext4_sb_getblk() wrapper for block bounds checking > > We might need more bounds checking on the block before calling sb_getblk(). > This helper does that and if it is not valid then returns ERR_PTR(-EFSCORRUPTED) > Later we will need to carefully convert the callers to use ext4_sb_getblk() > instead of sb_getblk().
Hey Ritesh,
I was going through some old patches and came across this RFC patch. Have you had a chance to polish this up? I don't think I've seen a newer version of this patch, but maybe I missed it.
Thanks,
- Ted
| |