diff options
author | Jan Kara <jack@suse.cz> | 2020-11-02 16:32:10 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2020-11-03 11:17:00 +0100 |
commit | 10f04d40a9fa29785206c619f80d8beedb778837 (patch) | |
tree | 9351d9208e5a95fef22ef849c4903d105fdd19e4 /fs/quota/Makefile | |
parent | a219ee41899bcfabd63cd6617256d5be13a7f4b6 (diff) | |
download | linux-10f04d40a9fa29785206c619f80d8beedb778837.tar.bz2 |
quota: Don't overflow quota file offsets
The on-disk quota format supports quota files with upto 2^32 blocks. Be
careful when computing quota file offsets in the quota files from block
numbers as they can overflow 32-bit types. Since quota files larger than
4GB would require ~26 millions of quota users, this is mostly a
theoretical concern now but better be careful, fuzzers would find the
problem sooner or later anyway...
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/quota/Makefile')
0 files changed, 0 insertions, 0 deletions