summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-08-23 08:49:49 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-08-23 08:49:49 +0000
commit623d133df4def85186410ec235e15028f5f41e54 (patch)
treedac25aae87a439d34094974e5157933440135f38
parentb3037496a028dec1396023d0e4fe34736e7b4453 (diff)
Notes
-rw-r--r--usr.bin/ul/ul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ul/ul.c b/usr.bin/ul/ul.c
index cfdd55245690..597add1add10 100644
--- a/usr.bin/ul/ul.c
+++ b/usr.bin/ul/ul.c
@@ -170,7 +170,7 @@ filter(f)
{
register c;
- while ((c = getc(f)) != EOF) switch(c) {
+ while ((c = getc(f)) != EOF && col < MAXBUF) switch(c) {
case '\b':
if (col > 0)