diff options
author | Jim Meyering <jim@meyering.net> | 2001-09-12 09:07:35 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-09-12 09:07:35 +0000 |
commit | 63a52bbb4c435e66c34d254e591dfc9aae195a47 (patch) | |
tree | 19d3eeaaaf556973bb7b93e4f7e92a505695e59c /src/cp.c | |
parent | ea7b78f86878702ea9eee5ab5bbf2cc18a454098 (diff) | |
download | coreutils-63a52bbb4c435e66c34d254e591dfc9aae195a47.tar.xz |
The command `echo a|./fmt -2147483647' would cause fmt to segfault.
(fmt_paragraph): Test for sentinal directly, rather than
doing arithmetic with it's potentially large (INT_MAX) length.
Diffstat (limited to 'src/cp.c')
0 files changed, 0 insertions, 0 deletions