[PATCH 1/2] eeprom: at25: replace strncpy with strlcpy
Sascha Hauer
s.hauer at pengutronix.de
Mon Mar 17 01:31:08 PDT 2025
On Fri, 14 Mar 2025 11:45:01 +0100, Jules Maselbas wrote:
> strncpy will not nul terminate the dst string in case the src is longer
> than the the dst size, strlcpy will truncate and nul terminate the string.
>
>
Applied, thanks!
[1/2] eeprom: at25: replace strncpy with strlcpy
https://git.pengutronix.de/cgit/barebox/commit/?id=8265cfe43587 (link may not be stable)
[2/2] eeprom: at25: add explicit fallthrough
https://git.pengutronix.de/cgit/barebox/commit/?id=6a2c56c934d1 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list