Re: [PATCH] scsi: lpfc: fix sprintf() overflow in lpfc_display_fpin_wwpn()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 16 Sep 2021 16:22:51 +0300, Dan Carpenter wrote:

> This scnprintf() uses the wrong limit.  It should be
> "LPFC_FPIN_WWPN_LINE_SZ - len" instead of LPFC_FPIN_WWPN_LINE_SZ.
> 
> 

Applied to 5.15/scsi-fixes, thanks!

[1/1] scsi: lpfc: fix sprintf() overflow in lpfc_display_fpin_wwpn()
      https://git.kernel.org/mkp/scsi/c/cdbc16c552f2

-- 
Martin K. Petersen	Oracle Linux Engineering



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux