Re: [PATCH v2] scsi: zfcp: Replace strlcpy() with strscpy()

2023-12-04 Thread Benjamin Block
pe_max(typeof(rspn_req->rspn.fr_name_len)) + 1); > + len = strscpy(rspn_req->name, fc_host_symbolic_name(shost), > + sizeof(rspn_req->name)); > + /* > + * It should be impossible for this to truncate (see BUILD_BUG_ON() > + * above), but be robust anyway.

Re: [PATCH] scsi: zfcp: Replace strlcpy() with strscpy()

2023-11-20 Thread Benjamin Block
[1] > Link: https://github.com/KSPP/linux/issues/89 [2] > Cc: Steffen Maier > Cc: Benjamin Block > Cc: Heiko Carstens > Cc: Vasily Gorbik > Cc: Alexander Gordeev > Cc: Christian Borntraeger > Cc: Sven Schnelle > Cc: Azeem Shaikh > Cc: linux-s...@vger.kernel.or