Use 2-argument strscpy(), which is not only shorter but also provides an additional check that destination buffer is an array. Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20240602090244.1666360-3-andy.shevchenko@gmail.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> |
||
|---|---|---|
| .. | ||
| biosattr-interface.c | ||
| bioscfg.c | ||
| bioscfg.h | ||
| enum-attributes.c | ||
| int-attributes.c | ||
| Makefile | ||
| order-list-attributes.c | ||
| passwdobj-attributes.c | ||
| spmobj-attributes.c | ||
| string-attributes.c | ||
| surestart-attributes.c | ||