[tnozaki-flex] TNF's local patch - use strlcpy instead of strncpy

Issue #320 wontfix
Takehiko NOZAKI repo owner created an issue

No description provided.

Comments (2)

  1. Takehiko NOZAKI reporter
    • nmstr[]'s size is MAXLINE

    • yyleng(length of yytext) is always less than MAXLINE

    so that using strncpy() is safe, there’s no need to replace strlcpy()

  2. Log in to comment