File dvdauthor-0.6.14-buffer.patch of Package dvdauthor
diff -ruN dvdauthor-0.6.14-orig/src/subreader.c dvdauthor-0.6.14/src/subreader.c --- dvdauthor-0.6.14-orig/src/subreader.c 2006-06-01 06:04:50.000000000 +0200 +++ dvdauthor-0.6.14/src/subreader.c 2009-11-23 14:23:10.000000000 +0100 @@ -901,7 +901,7 @@ return NULL; trail_space(directive); strncat(line2, directive, - (LINE_LEN > 511) ? LINE_LEN : 511); + (LINE_LEN > 511) ? LINE_LEN - 1 : 511); break; } default: