Re: [PATCH] bfa: do not dereference port before it is null checked
From: Martin K. Petersen
Date: Fri Sep 02 2016 - 06:11:01 EST
>>>>> "Colin" == Colin King <colin.king@xxxxxxxxxxxxx> 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