[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <56E19658.7000403@kernel.dk>
Date: Thu, 10 Mar 2016 08:44:24 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Sudip Mukherjee <sudipm.mukherjee@...il.com>,
Jens Axboe <axboe@...com>
Cc: linux-kernel@...r.kernel.org, linux-block@...r.kernel.org
Subject: Re: [PATCH] block: fix possible NULL dereference
On 03/10/2016 04:39 AM, Sudip Mukherjee wrote:
> We were checking for iter to be NULL after dereferencing it. Lets first
> check it and then use it.
Nobody calls it with iter == NULL, I think we should just kill the !iter
check
--
Jens Axboe
Powered by blists - more mailing lists