HomeFreeBSD

MFC 279951:

Description

MFC 279951:
Simplify string mangling in ifmaybeload().

  • Use strlcpy() instead of strcpy().
  • Use strlcat() instead of a strlcpy() with a magic number subtracted from the length.
  • Replace strncmp(..., strlen(foo) + 1) with strcmp(...).

Details

Provenance
jhbAuthored on
Parents
rS281325: bsnmptools does not depends on libcrypto
Branches
Unknown
Tags
Unknown

Event Timeline