Skip to content

Commit

Permalink
split: 32bit overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zhitkoff committed Nov 7, 2023
1 parent 30ceb48 commit 46c6de1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/uu/split/src/split.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ static OPT_SUFFIX_LENGTH: &str = "suffix-length";
static OPT_VERBOSE: &str = "verbose";
static OPT_SEPARATOR: &str = "separator";
static OPT_IO_BLKSIZE: &str = "-io-blksize";
// Cap ---io-blksize value as well as set max buffer size on reading "infinite" inputs, like /dev/zero
static OPT_IO_BLKSIZE_MAX: usize = 2_000_000_000;
// Cap ---io-blksize value
static OPT_IO_BLKSIZE_MAX: usize = 1_000_000_000;
static OPT_ELIDE_EMPTY_FILES: &str = "elide-empty-files";
//The ---io parameter is consumed and ignored.
//The parameter is included to make GNU coreutils tests pass.
Expand Down

0 comments on commit 46c6de1

Please sign in to comment.