summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChengguang Xu <cgxu519@gmx.com>2018-05-30 11:47:06 +0300
committerIlya Dryomov <idryomov@gmail.com>2018-06-04 21:46:01 +0300
commit8db0c7596f1258b28f32a38f2d5bbc0d63c104c9 (patch)
tree5849eca70bc449a8514d5eb6ad6aecf8547373a9 /tools/perf/scripts/python/export-to-postgresql.py
parentc36ed50de2ad1649ce0369a4a6fc2cc11b20dfb7 (diff)
downloadlinux-8db0c7596f1258b28f32a38f2d5bbc0d63c104c9.tar.xz
ceph: strengthen rsize/wsize/readdir_max_bytes validation
The check (intval < PAGE_SIZE) will involve type cast, so even when specifying negative value to rsize/wsize/readdir_max_bytes, it will pass the validation check successfully. Signed-off-by: Chengguang Xu <cgxu519@gmx.com> Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions