[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1r3e6pqic.fsf@sermon.lab.mkp.net>
Date: Fri, 15 Apr 2016 16:26:51 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: "James E.J. Bottomley" <jejb@...ux.vnet.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Hannes Reinecke <hare@...e.de>,
Bart Van Assche <bart.vanassche@...disk.com>,
Johannes Thumshirn <jthumshirn@...e.de>,
Ewan Milne <emilne@...hat.com>, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch v2] scsi_dh_alua: uninitialized variable in alua_rtpg()
>>>>> "Dan" == Dan Carpenter <dan.carpenter@...cle.com> writes:
Dan> It's possible to use "err" without initializing it. If it happens
Dan> to be a 2 which is SCSI_DH_RETRY then that could cause a bug. Bart
Dan> Van Assche pointed out that we should probably re-initialize it for
Dan> every iteration through the retry loop.
Applied to 4.6/scsi-fixes.
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists