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


Groups > linux.kernel > #1475006

Re: [PATCH] bfa: do not dereference port before it is null checked

From "Martin K. Petersen" <martin.petersen@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH] bfa: do not dereference port before it is null checked
Date 2016-09-02 12:20 +0200
Message-ID <scTJL-6BV-29@gated-at.bofh.it> (permalink)
References <sbUeR-7ka-3@gated-at.bofh.it>
Organization Oracle Corporation

Show all headers | View raw


>>>>> "Colin" == Colin King <colin.king@canonical.com> writes:

Colin> port is deferenced before it is null sanity checked, hence we
Colin> potentially have a null pointer dereference bug. Instead,
Colin> initialise trl_enabled from port->fcs->bfa after we are sure port
Colin> is not null.

Applied to 4.9/scsi-queue.

-- 
Martin K. Petersen	Oracle Linux Engineering

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


Thread

[PATCH] bfa: do not dereference port before it is null checked Colin King <colin.king@canonical.com> - 2016-08-30 18:40 +0200
  Re: [PATCH] bfa: do not dereference port before it is null checked Johannes Thumshirn <jthumshirn@suse.de> - 2016-08-31 14:10 +0200
  Re: [PATCH] bfa: do not dereference port before it is null checked "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-09-02 12:20 +0200

csiph-web