di10 bug

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Mon Apr 29 20:23:45 AEST 1985


In di10.c, function put1(), there is a check for centering
that invokes isalnum() on the argument to put1().
Unfortunately, the argument to put1() may be as large as
281, which is not a valid argument to isalnum().
The test should be changed to isascii(c)&&isalnum(c).



More information about the Net.bugs.usg mailing list