Article View: comp.bugs.4bsd
Article #1210tbl bug + fix
From: Dave Davey
Date: Mon, 10 Oct 1988 22:49
Date: Mon, 10 Oct 1988 22:49
7 lines
656 bytes
656 bytes
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];
Technical Details
Message-ID:
<338@physiol.su.oz>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!apple!vsi1!altnet!uunet!munnari!otc!metro!physiol!davedShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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