Re: [PATCH v2] nfc: pn544: i2c: Replace strcpy() with strscpy()

From: Jakub Kicinski

Date: Thu Feb 26 2026 - 22:32:49 EST


On Wed, 25 Feb 2026 18:27:15 +0100 tomasz.unger@xxxxxxxx wrote:
> This is a bug fix, not a cleanup.

Could you include an example path thru which a firmware_name longer
than the array can reach the driver? On a quick look the input comes
via netlink which sets the max length appropriately.