summaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorAnurag Chouhan <achouhan@codeaurora.org>2018-09-19 13:15:13 +0530
committerAnurag Chouhan <achouhan@codeaurora.org>2018-09-20 11:58:08 +0530
commit708d96ef1bc028e36cb6cfc51dad1b1384629637 (patch)
treeff76e486086f6295286598e5c25e7a8af6858aca /fs/btrfs/dev-replace.c
parent727593cbf7ebb6782b2b3b45a951cc8ccc03a788 (diff)
wcnss: Fix buffer overflow in wcnss_prealloc_get
There is potential integer truncation in the wcnss_prealloc_get api. size_t is 8 byte on x64 platform and "unsigned int" is 4 byte. To avoid this integer truncation, pass size as size_t instead of unsigned int. CRs-Fixed: 2269610 Change-Id: I14b274dd7cad98b55fdce1aaa27783272231afde Signed-off-by: Anurag Chouhan <achouhan@codeaurora.org>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions