diff options
Diffstat (limited to 'usr.bin/ul/ul.c')
-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 cfdd552..597add1 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) |