Re: [PATCH][V2] scsi: qedf: remove memset/memcpy to nfunc and use func instead

Martin K. Petersen
2019-04-19T00:33:21Z

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