LU-14385 utils: add range check to strtoul() in lfs.c
Most of the strtoul() functions called in lfs.c
did not check the range of the return value.
This patch fixes those issues.
Lustre-change: https://review.whamcloud.com/41726
Lustre-commit:
c8b1f4d886b71e1439eb8d521f282dbdf366ec26
Test-Parameters: trivial
Change-Id: If1eb64750507b5fa4e22abe710e475e2f0032b4d
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/46264
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>