News for hackers. Stuff that matters.
Re:Git's list of banned C functions by dgentile on Thursday March 04, 2021 @04:05PM (#26348299)
Edited: Looks like they have safe alternatives: "

  - strlcpy() if you really just need a truncated but
    NUL-terminated string (we provide a compat version, so
    it's always available)

  - xsnprintf() if you're sure that what you're copying
    should fit

  - strbuf or xstrfmt() if you need to handle
    arbitrary-length heap-allocated strings
"

There are no comments on this comment yet.