[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <eb0374b3-d040-4263-96c8-d0dce88432d6@web.de>
Date: Thu, 11 Jul 2024 08:00:15 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Василий Ковалев
<kovalevvv@...ealt.ru>, linux-fsdevel@...r.kernel.org,
lvc-patches@...uxtesting.org,
syzbot+d98fd19acd08b36ff422@...kaller.appspotmail.com
Cc: stable@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
"Tigran A. Aivazian" <aivazian.tigran@...il.com>, dutyrok@...linux.org
Subject: Re: [fs/bfs 1/2] bfs: fix null-ptr-deref in bfs_move_block
> Add a check to ensure that a sb_getblk() call did not return NULL before copying data.
How do you think about another refinement for such a change description?
Detect a failed sb_getblk() call (before copying data)
so that null pointer dereferences should not happen any more.
Regards,
Markus
Powered by blists - more mailing lists