Re: [PATCH] isofs: release buffer head before return

From: Jan Kara
Date: Mon Jan 25 2021 - 12:00:16 EST


On Mon 18-01-21 15:41:23, Jan Kara wrote:
> On Mon 18-01-21 04:04:55, Pan Bian wrote:
> > Release the buffer header before returning error code.
> >
> > Fixes: 2deb1acc653c ("isofs: fix access to unallocated memory when reading corrupted filesystem")
> > Signed-off-by: Pan Bian <bianpan2016@xxxxxxx>
>
> OK, good spotting. But the other hunk in commit 2deb1acc653c seems to have
> the same problem so we might fix it as well when we are at it?

OK, I did this myself and picked the patch to my tree.

Honza
--
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR