diff options
-rw-r--r-- | src/pr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -892,7 +892,7 @@ main (int argc, char **argv) if (ISDIGIT (c)) { /* Accumulate column-count digits specified via old-style options. */ - if (n_digits == n_alloc) + if (n_digits + 1 >= n_alloc) column_count_string = x2nrealloc (column_count_string, &n_alloc, sizeof *column_count_string); |