Re: [PATCH][V2] scsi: qedf: remove memset/memcpy to nfunc and use func instead
From: Martin K. Petersen
Date: Thu Apr 18 2019 - 20:33:33 EST
Colin,
> Currently the qedf_dbg_* family of functions can overrun the end of
> the source string if it is less than the destination buffer length
> because of the use of a fixed sized memcpy. Remove the memset/memcpy
> calls to nfunc and just use func instead as it is always a null
> terminated string.
Applied to 5.2/scsi-queue, thanks!
--
Martin K. Petersen Oracle Linux Engineering