On Thu, Jun 01, 2023 at 08:00:41AM -0700, Stephen Hemminger wrote:
> This patch series was generated by using the existing
> Coccinelle script to find where snprintf() is used but
> strlcpy() could be used instead.
i guess the motivation here is strlcpy is safer to use than the portable
snprintf?
This patch series was generated by using the existing
Coccinelle script to find where snprintf() is used but
strlcpy() could be used instead.
Manually replaced fixed some trigraphs and paren's where
needed. Also one instance the whole temporary string
copy was not needed at all.
Stephen Hemminger
2 matches
Mail list logo