Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1355224

Re: [PATCH] block: fix possible NULL dereference

From Jens Axboe <axboe@kernel.dk>
Newsgroups linux.kernel
Subject Re: [PATCH] block: fix possible NULL dereference
Date 2016-03-10 16:50 +0100
Message-ID <rbb0C-AW-9@gated-at.bofh.it> (permalink)
References <rb76G-6oK-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] block: fix possible NULL dereference Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2016-03-10 12:40 +0100
  Re: [PATCH] block: fix possible NULL dereference Johannes Thumshirn <jthumshirn@suse.de> - 2016-03-10 13:10 +0100
  Re: [PATCH] block: fix possible NULL dereference Jens Axboe <axboe@kernel.dk> - 2016-03-10 16:50 +0100

csiph-web