The command `echo foo| fmt -w 100000' would cause fmt to segfault.
authorJim Meyering <jim@meyering.net>
Wed, 12 Sep 2001 06:41:01 +0000 (06:41 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 12 Sep 2001 06:41:01 +0000 (06:41 +0000)
commit484ce2d8de1a493b10aa5c6c16d18a22f6747f0d
tree6062e6cdd9b5982828e38a8b6281c2658e32e4e5
parentcaa75371a8b623e987d68242be0bb08105b26577
The command `echo foo| fmt -w 100000' would cause fmt to segfault.

[struct Word]: Declare members length, space, and
line_length to be of type `int', not short.
(MAXCOST): Define using TYPE_MAXIMUM.
src/fmt.c