ltman ; alim.akh...@samsung.com;
> > asuto...@codeaurora.org; j...@linux.ibm.com;
> > martin.peter...@oracle.com; stanley@mediatek.com;
> > bean...@micron.com; bvanass...@acm.org; tomas.wink...@intel.com;
> > c...@codeaurora.org
> > Cc: linux-s...@vger.kernel.org; lin
y@mediatek.com;
> bean...@micron.com; bvanass...@acm.org; tomas.wink...@intel.com;
> c...@codeaurora.org
> Cc: linux-s...@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH v4 3/5] scsi: ufs: fix potential access NULL pointer while
> memcpy
>
> CAUTION: This e
hi Avri
thanks review.
On Mon, 2020-06-01 at 06:25 +, Avri Altman wrote:
> Hi,
>
> > If param_offset is not 0, the memcpy length shouldn't be the
> > true descriptor length.
> >
> > Fixes: a4b0e8a4e92b ("scsi: ufs: Factor out
> > ufshcd_read_desc_param")
> > Signed-off-by: Bean Huo
> > ---
Hi,
> If param_offset is not 0, the memcpy length shouldn't be the
> true descriptor length.
>
> Fixes: a4b0e8a4e92b ("scsi: ufs: Factor out ufshcd_read_desc_param")
> Signed-off-by: Bean Huo
> ---
> drivers/scsi/ufs/ufshcd.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --g
From: Bean Huo
If param_offset is not 0, the memcpy length shouldn't be the
true descriptor length.
Fixes: a4b0e8a4e92b ("scsi: ufs: Factor out ufshcd_read_desc_param")
Signed-off-by: Bean Huo
---
drivers/scsi/ufs/ufshcd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dri
5 matches
Mail list logo