7 Star 0 Fork 7

src-openEuler / Lmod

 / 详情

【23.03_RC1】【x86/arm】Lmod存在不安全的编译选项STRIP

已验收
缺陷
创建于  
2023-03-01 11:50

软件信息:
1) OS版本及分支:openEuler 23.03 round1
2) 内核信息:Linux openEuler 6.1.8-3.0.0.10.oe23.03
3) 发现问题的组件版本信息:
repo:OS,everything,EPOL

【问题复现步骤】
1、PIE:查看编译日志中是否包含FPIE编译选项
2、STRIP:(1):rpm2cpio **.rpm|cpio -id (2)file $file
3、RPATH:(1):rpm2cpio **.rpm|cpio -id (2)readelf -d $file
【预期结果】
不存在不安全的编译选项:
1、包含FPIE安全编译选项
2、不包含not stripped
3、不包含rpath/runpath
【实际结果】
Lmod存在不安全的编译选项STRIP

评论 (2)

wangxiaoya 创建了缺陷

Hi ryuo, 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: Application, and any of the maintainers: @朱春意 , @small_leek , @jimmy_hero , @Alex_Chao , @caodongxia

openeuler-ci-bot 添加了
 
sig/Application
标签
wangxiaoya 计划开始日期设置为2023-03-01
wangxiaoya 计划截止日期设置为2023-03-08
wangxiaoya 优先级设置为主要

问题分析:Lmod安全编译选项存在not striped问题

修改方案:通过启用-g信息,来修复strip检查项失败的问题。启用后,文件在打包之前,会进行strip的操作,并将调试信息生成的文件打包到debuginfo包中。

已验证通过

xu_ping 通过src-openeuler/Lmod Pull Request !5任务状态待办的 修改为已完成
wangxiaoya 优先级主要 修改为次要
张以正 任务状态已完成 修改为已验收

登录 后才可以发表评论

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

搜索帮助