commit | d4fc2f04e5fa3cbad31d04eefa39632a301a3d95 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Mon Sep 24 14:32:26 2012 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Sep 24 14:32:26 2012 +0200 |
tree | 7977072ac6947ef8bb8e290dd9029f08c105ce1b | |
parent | 59d8d0f5fb939ef23e4aa495dbe8fabd59d5bf25 [diff] |
parser: fix overflowing integer type options If we use bs=4g, the parser will happily take it since it shares the data type with unsigned long long options. Make sure that FIO_OPT_INT types have a cap of UINT_MAX, if they haven't set a lower limit. Signed-off-by: Jens Axboe <axboe@kernel.dk>