From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org, Jules Maselbas <jmaselbas@zdiv.net>
Subject: Re: [PATCH 1/2] eeprom: at25: replace strncpy with strlcpy
Date: Mon, 17 Mar 2025 09:31:08 +0100 [thread overview]
Message-ID: <174220026891.4058046.4189677646354482989.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20250314104502.14851-1-jmaselbas@zdiv.net>
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@pengutronix.de>
prev parent reply other threads:[~2025-03-17 8:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-14 10:45 Jules Maselbas
2025-03-14 10:45 ` [PATCH 2/2] eeprom: at25: add explicit fallthrough Jules Maselbas
2025-03-17 8:31 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=174220026891.4058046.4189677646354482989.b4-ty@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=jmaselbas@zdiv.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox