Unverified Commit a551aedc authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!4003 ext4: fix some ext4_lblk_t overflow issues

Merge Pull Request from: @ci-robot 
 
PR sync from: Baokun Li <libaokun1@huawei.com>
https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/6CYXV3EUJY3JY5TEFWLOSP63WIUHKJM4/ 
Baokun Li (4):
  ext4: add two helper functions extent_logical_end() and
    pa_logical_end()
  ext4: fix BUG in ext4_mb_new_inode_pa() due to overflow
  ext4: avoid overlapping preallocations due to overflow
  ext4: prevent the normalized size from exceeding EXT_MAX_BLOCKS


-- 
2.31.1
 
https://gitee.com/openeuler/kernel/issues/I8PI1H 
 
Link:https://gitee.com/openeuler/kernel/pulls/4003

 

Reviewed-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents bb2503a5 f976c6ad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment