[hackers] [sbase] col: dont allow col -l 0 || Hiltjo Posthuma
commit bf90e85f185aec16b8373f9102c7bfcec68ffa02
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Mon Mar 30 21:49:33 2015 +0200
col: dont allow col -l 0
diff --git a/col.c b/col.c
index f81f07e..41a01d5 100644
--- a/col.c
+++ b/col.c
_AT_@ -198,7 +198,7 @@ main(int argc, char *argv[])
halfline = 1;
break;
case 'l':
- pagesize = estrtonum(EARGF(usage()), 0, MIN(SIZE_MAX, LLONG_MAX));
+ pagesize = estrtonum(EARGF(usage()), 1, MIN(SIZE_MAX, LLONG_MAX));
break;
case 'p':
escape = 1;
Received on Wed Apr 01 2015 - 12:11:10 CEST
This archive was generated by hypermail 2.3.0
: Wed Apr 01 2015 - 12:12:22 CEST