Skip to content
  • Rob Swindell's avatar
    SAFECOPY (now using strlcpy) requires the source is terminated · c8634c7a
    Rob Swindell authored
    ... so use strncpy() and TERMINATE() here (instead of SAFECOPY) to resolve
    newly reported Coverity issues.
    There may be other places where we're using SAFECOPY() with an unterminated
    source string that would've been fine before we switched SAFECOPY from using
    strncpy to strlcpy. So we should reconsider that change.