File link-grammar-strncat-param.diff of Package link-grammar
--- link-grammar/error.c.orig 2008-03-31 23:06:28.000000000 -0400 +++ link-grammar/error.c 2008-03-31 23:06:58.000000000 -0400 @@ -57,7 +57,7 @@ va_end(args); strncpy(lperrmsg, msg_of_lperror(lperr), MSGSZ); - strncat(lperrmsg, temp, MSGSZ); + strncat(lperrmsg, temp, MSGSZ-strlen(lperrmsg)-1); lperrmsg[MSGSZ-1]=0; /* Null terminate at all costs */ lperrno = lperr; }