Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!apple!vsi1!altnet!uunet!munnari!otc!metro!physiol!daved From: daved@physiol.su.oz (Dave Davey) Newsgroups: comp.bugs.4bsd Subject: tbl bug + fix Keywords: long input lines Message-ID: <338@physiol.su.oz> Date: 10 Oct 88 22:49:07 GMT Organization: Physiology Dept., Univ. of Sydney, NSW, Australia Lines: 7 tbl will dump core if given a long (>256) input line for a text block. In tg.c, gettext() calls gets1(line) with line dimensioned to 256, but gets1 calls fgets with n=BUFSIZ. Fix: in tg.c gettext() change declaration of line to: char line[BUFSIZ];