summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-11-23 00:05:51 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2016-11-23 00:07:27 -0800
commit38286df5370dce0351a9afac6e2fac39b47ab1a3 (patch)
tree60958d3a72da6d375d24ffb4dfb058bf366e2615 /scripts
parentb50a151346c42816034b5c26266eb753b7dbe737 (diff)
downloadcoreutils-38286df5370dce0351a9afac6e2fac39b47ab1a3.tar.xz
pr: fix integer overflow in buffer size calcs
Problem reported by Marcel Böhme (Bug#24996). * configure.ac (WERROR_CFLAGS): Avoid -Wtype-limits. * src/pr.c (col_sep_string): Now a const pointer. All uses changed. (integer_overflow): New function. (separator_string, main, init_parameters, init_store_cols): Check for integer overflow. (align_column, read_line, print_stored): Avoid integer overflow.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions