Commit Diff
--- lib/diff_output.c +++ lib/diff_output.c @@ -289,7 +289,7 @@ diff_output_match_function_prototype(char **prototype, state = " (public)"; } else { if (state) /* don't care about truncation */ - strlcat(buf, state, sizeof(buf)); + strncat(buf, state, sizeof(buf)); *prototype = strdup(buf); if (*prototype == NULL) return ENOMEM;