diff options
| -rw-r--r-- | usr.bin/ul/ul.c | 2 |
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) |
