diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2014-05-10 11:42:38 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2014-05-10 11:43:15 -0700 |
commit | a7603fa6527cf53a22d5072acb454f65303a3874 (patch) | |
tree | d02322b3f63955edab8ae3bb25375ebede1577b6 /tests/local.mk | |
parent | 03440189a01139418fd554f40ec6e86f3ca143dc (diff) | |
download | coreutils-a7603fa6527cf53a22d5072acb454f65303a3874.tar.xz |
shred: fix overflow checking of command-line options
* src/shred.c (main): Limit -n (number of passes) value to
ULONG_MAX, not to UINT32_MAX, since the vars are unsigned long.
Limit the -s (file size) value to OFF_T_MAX.
Diffstat (limited to 'tests/local.mk')
0 files changed, 0 insertions, 0 deletions