[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1v922ql4g.fsf@ca-mkp.ca.oracle.com>
Date: Tue, 12 Oct 2021 12:11:04 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: "James E.J. Bottomley" <jejb@...ux.ibm.com>,
Naresh Kumar Inna <naresh@...lsio.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
James Bottomley <JBottomley@...allels.com>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] scsi: csiostor: Uninitialized data in
csio_ln_vnp_read_cbfn()
Dan,
> This variable is just a temporary variable, used to do an endian
> conversion. The problem is that the last byte is not initialized.
> After the conversion is completely done, the last byte is discarded so
> it doesn't cause a problem. But static checkers and the KMSan runtime
> checker can detect the uninitialized read and will complain about it.
Applied to 5.16/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists