8 Star 0 Fork 35

src-openEuler / e2fsprogs

 / 详情

回合上游社区补丁,补丁数量:3

已完成
缺陷
创建于  
2024-05-06 16:39

优先级:

次要

原因分析:

【是否新引入rpm包,是否进行了安全编译选项扫描】

【定位分析】

软件包 CommitId 描述 说明
e2fsprogs b31d5b582b4189a0ed27bced22276dd3f68c50a7 e2fsprogs: modify dumpe2fs to report free block ranges for bigalloc dumpe2fs has never been modified to correctly report block rangescorresponding to free clusters in block allocation bitmaps from bigallocfile systems. Rather than reporting block ranges covering all theblocks in free clusters found in a block bitmap, it either reports justthe first block number in a cluster for a single free cluster, or arange beginning with the first block number in the first cluster in aseries of free clusters, and ending with the first block number in thelast cluster in that series. This behavior causes xfstest shared/298 to fail when run on a bigallocfile system with a 1k block size. The test uses dumpe2fs to collecta list of the blocks freed when files are deleted from a file system.When the test deletes a file containing blocks located after the firstblock in the last cluster in a series of clusters, dumpe2fs does notreport those blocks as free per the test's expectations. Modify dumpe2fs to report full block ranges for free clusters. At thesame time, fix a small bug causing unnecessary !in_use retests whileiterating over a block bitmap.

Add a test for the commit e2fsck: fix handling of a invalid symlinkin an inline_data directory

If there is an inline directory that contains a directory entry to aninvalid symlink, and that invalid symlink is the portion of the inlinedirectory stored in an xattr portion of the inode, this can result ina buffer overrun.
When check_dir_block.
This commit fixes this by using the original cd->buf instead of buf,since it can get modified when handling inline directories.
Fixes: 0ac4b3973f31 Signed-off-by: Theodore Ts'o

修复e2fsck在处理inline目录包含无效链接的情况下可能存在的缓冲区溢出问题

【对外部是否有影响】

评论 (1)

peulerosci 创建了缺陷

Hi peulerosci, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Storage, and any of the maintainers: @linfeilong835 , @louhongxiang , @zero , @liuzhiqiang , @swf504 , @Xinliang Liu , @刘波

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/src-openeuler/e2fsprogs.git
git@gitee.com:src-openeuler/e2fsprogs.git
src-openeuler
e2fsprogs
e2fsprogs

搜索帮助

53164aa7 5694891 3bd8fe86 5694891