Justin,
> This series contains multiple replacements of strncpy throughout the
> scsi subsystem.
I've queued this up for 6.10.
--
Martin K. Petersen Oracle Linux Engineering
On Mon, 26 Feb 2024 23:53:44 +, Justin Stitt wrote:
> strncpy() is deprecated for use on NUL-terminated destination strings
> [1] and as such we should prefer more robust and less ambiguous string
> interfaces.
>
> We expect ae->value_string to be NUL-terminated because there's a
> comment th
On Wed, 21 Feb 2024 23:50:26 +, Justin Stitt wrote:
> strncpy() is deprecated [1] and as such we should use different apis to
> copy string data.
>
> We can see that ct is NUL-initialized with fc_ct_hdr_fill:
> | ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rspn) + len,
> ...
>
> [.