登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
2025 Gitee 年度开源项目评选投票进行中,快为你的心仪项目助力!
代码拉取完成,页面将自动刷新
仓库状态说明
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
8
Star
0
Fork
36
src-openEuler
/
ghostscript
关闭
代码
Issues
14
Pull Requests
1
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
use-of-uninitialized-value in s_A85D_process()
已完成
#I22YRE
缺陷
ltx
创建于
2020-10-28 15:22
``` ==8==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x2da6f8c in s_A85D_process /src/ghostpdl/./base/sa85d.c:138:32 #1 0x2d3fc2e in gs_scan_token /src/ghostpdl/./psi/iscan.c:611:26 #2 0x2cecee4 in interp /src/ghostpdl/./psi/interp.c:1451:24 #3 0x2cceb58 in gs_call_interp /src/ghostpdl/./psi/interp.c:520:12 #4 0x2cccd98 in gs_interpret /src/ghostpdl/./psi/interp.c:477:12 #5 0x547022 in gs_main_interpret /src/ghostpdl/./psi/imain.c:253:12 #6 0x549792 in gs_main_run_string_end /src/ghostpdl/./psi/imain.c:791:12 #7 0x547d07 in gs_main_run_string_with_length /src/ghostpdl/./psi/imain.c:735:12 #8 0x538d8f in gs_main_run_string /src/ghostpdl/./psi/imain.c:716:12 #9 0x346f844 in run_string /src/ghostpdl/./psi/imainarg.c:1119:12 #10 0x3455be6 in swproc /src/ghostpdl/./psi/imainarg.c:366:20 #11 0x345131f in gs_main_init_with_args01 /src/ghostpdl/./psi/imainarg.c:224:24 #12 0x346e661 in gs_main_init_with_args /src/ghostpdl/./psi/imainarg.c:288:16 #13 0x2c68b4c in psapi_init_with_args /src/ghostpdl/./psi/psapi.c:272:12 #14 0x52b741 in gsapi_init_with_args /src/ghostpdl/./psi/iapi.c:148:12 #15 0x526cdb in gs_to_raster_fuzz(unsigned char const*, unsigned long) /src/ghostpdl/fuzz/gstoraster_fuzzer.cc:97:8 #16 0x525fb6 in LLVMFuzzerTestOneInput /src/ghostpdl/fuzz/gstoraster_fuzzer.cc:114:2 #17 0x45b211 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:556:15 #18 0x445e31 in fuzzer::RunOneTest(fuzzer::Fuzzer*, char const*, unsigned long) /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:292:6 #19 0x44baee in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:774:9 #20 0x475c62 in main /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerMain.cpp:19:10 #21 0x7ff58cf6282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f) #22 0x41f1e8 in _start (/out/gstoraster_fuzzer+0x41f1e8) Uninitialized value was created by a heap allocation #0 0x4d688d in malloc /src/llvm/projects/compiler-rt/lib/msan/msan_interceptors.cpp:925:3 #1 0x176e172 in gs_heap_alloc_bytes /src/ghostpdl/./base/gsmalloc.c:191:34 #2 0x40e1a89 in alloc_acquire_clump /src/ghostpdl/./base/gsalloc.c:2485:13 #3 0x40c77a6 in alloc_add_clump /src/ghostpdl/./base/gsalloc.c:2435:19 #4 0x40dc3dc in alloc_obj /src/ghostpdl/./base/gsalloc.c:2043:17 #5 0x40aede4 in i_alloc_struct /src/ghostpdl/./base/gsalloc.c:1231:15 #6 0x31921e5 in name_alloc_sub /src/ghostpdl/./psi/iname.c:496:11 #7 0x318feb6 in names_init /src/ghostpdl/./psi/iname.c:102:20 #8 0x5343d9 in gs_main_init1 /src/ghostpdl/./psi/imain.c:204:14 #9 0x3466695 in swproc /src/ghostpdl/./psi/imainarg.c:772:29 #10 0x345131f in gs_main_init_with_args01 /src/ghostpdl/./psi/imainarg.c:224:24 #11 0x346e661 in gs_main_init_with_args /src/ghostpdl/./psi/imainarg.c:288:16 #12 0x2c68b4c in psapi_init_with_args /src/ghostpdl/./psi/psapi.c:272:12 #13 0x52b741 in gsapi_init_with_args /src/ghostpdl/./psi/iapi.c:148:12 #14 0x526cdb in gs_to_raster_fuzz(unsigned char const*, unsigned long) /src/ghostpdl/fuzz/gstoraster_fuzzer.cc:97:8 #15 0x525fb6 in LLVMFuzzerTestOneInput /src/ghostpdl/fuzz/gstoraster_fuzzer.cc:114:2 #16 0x45b211 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:556:15 #17 0x445e31 in fuzzer::RunOneTest(fuzzer::Fuzzer*, char const*, unsigned long) /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:292:6 #18 0x44baee in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:774:9 #19 0x475c62 in main /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerMain.cpp:19:10 SUMMARY: MemorySanitizer: use-of-uninitialized-value /src/ghostpdl/./base/sa85d.c:138:32 in s_A85D_process ``` fix:https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=fd902c6702ef81008d7c91b09a0723661c0f9201
``` ==8==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x2da6f8c in s_A85D_process /src/ghostpdl/./base/sa85d.c:138:32 #1 0x2d3fc2e in gs_scan_token /src/ghostpdl/./psi/iscan.c:611:26 #2 0x2cecee4 in interp /src/ghostpdl/./psi/interp.c:1451:24 #3 0x2cceb58 in gs_call_interp /src/ghostpdl/./psi/interp.c:520:12 #4 0x2cccd98 in gs_interpret /src/ghostpdl/./psi/interp.c:477:12 #5 0x547022 in gs_main_interpret /src/ghostpdl/./psi/imain.c:253:12 #6 0x549792 in gs_main_run_string_end /src/ghostpdl/./psi/imain.c:791:12 #7 0x547d07 in gs_main_run_string_with_length /src/ghostpdl/./psi/imain.c:735:12 #8 0x538d8f in gs_main_run_string /src/ghostpdl/./psi/imain.c:716:12 #9 0x346f844 in run_string /src/ghostpdl/./psi/imainarg.c:1119:12 #10 0x3455be6 in swproc /src/ghostpdl/./psi/imainarg.c:366:20 #11 0x345131f in gs_main_init_with_args01 /src/ghostpdl/./psi/imainarg.c:224:24 #12 0x346e661 in gs_main_init_with_args /src/ghostpdl/./psi/imainarg.c:288:16 #13 0x2c68b4c in psapi_init_with_args /src/ghostpdl/./psi/psapi.c:272:12 #14 0x52b741 in gsapi_init_with_args /src/ghostpdl/./psi/iapi.c:148:12 #15 0x526cdb in gs_to_raster_fuzz(unsigned char const*, unsigned long) /src/ghostpdl/fuzz/gstoraster_fuzzer.cc:97:8 #16 0x525fb6 in LLVMFuzzerTestOneInput /src/ghostpdl/fuzz/gstoraster_fuzzer.cc:114:2 #17 0x45b211 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:556:15 #18 0x445e31 in fuzzer::RunOneTest(fuzzer::Fuzzer*, char const*, unsigned long) /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:292:6 #19 0x44baee in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:774:9 #20 0x475c62 in main /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerMain.cpp:19:10 #21 0x7ff58cf6282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f) #22 0x41f1e8 in _start (/out/gstoraster_fuzzer+0x41f1e8) Uninitialized value was created by a heap allocation #0 0x4d688d in malloc /src/llvm/projects/compiler-rt/lib/msan/msan_interceptors.cpp:925:3 #1 0x176e172 in gs_heap_alloc_bytes /src/ghostpdl/./base/gsmalloc.c:191:34 #2 0x40e1a89 in alloc_acquire_clump /src/ghostpdl/./base/gsalloc.c:2485:13 #3 0x40c77a6 in alloc_add_clump /src/ghostpdl/./base/gsalloc.c:2435:19 #4 0x40dc3dc in alloc_obj /src/ghostpdl/./base/gsalloc.c:2043:17 #5 0x40aede4 in i_alloc_struct /src/ghostpdl/./base/gsalloc.c:1231:15 #6 0x31921e5 in name_alloc_sub /src/ghostpdl/./psi/iname.c:496:11 #7 0x318feb6 in names_init /src/ghostpdl/./psi/iname.c:102:20 #8 0x5343d9 in gs_main_init1 /src/ghostpdl/./psi/imain.c:204:14 #9 0x3466695 in swproc /src/ghostpdl/./psi/imainarg.c:772:29 #10 0x345131f in gs_main_init_with_args01 /src/ghostpdl/./psi/imainarg.c:224:24 #11 0x346e661 in gs_main_init_with_args /src/ghostpdl/./psi/imainarg.c:288:16 #12 0x2c68b4c in psapi_init_with_args /src/ghostpdl/./psi/psapi.c:272:12 #13 0x52b741 in gsapi_init_with_args /src/ghostpdl/./psi/iapi.c:148:12 #14 0x526cdb in gs_to_raster_fuzz(unsigned char const*, unsigned long) /src/ghostpdl/fuzz/gstoraster_fuzzer.cc:97:8 #15 0x525fb6 in LLVMFuzzerTestOneInput /src/ghostpdl/fuzz/gstoraster_fuzzer.cc:114:2 #16 0x45b211 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:556:15 #17 0x445e31 in fuzzer::RunOneTest(fuzzer::Fuzzer*, char const*, unsigned long) /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:292:6 #18 0x44baee in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:774:9 #19 0x475c62 in main /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerMain.cpp:19:10 SUMMARY: MemorySanitizer: use-of-uninitialized-value /src/ghostpdl/./base/sa85d.c:138:32 in s_A85D_process ``` fix:https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=fd902c6702ef81008d7c91b09a0723661c0f9201
附件
gstoraster_fuzzer-use-of-uninitialized-value
(4 Bytes)
下载
ltx
2020-10-28 15:30
评论 (
2
)
登录
后才可以发表评论
状态
已完成
待办的
已挂起
修复中
已确认
已完成
已验收
已取消
负责人
未设置
标签
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (29)
标签 (53)
master
openEuler-22.03-LTS-SP3
openEuler-24.03-LTS-SP3
openEuler-24.03-LTS-SP2
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS
openEuler-20.03-LTS-SP4
openEuler-22.03-LTS-SP4
openEuler-24.03-LTS-Next
openEuler-25.09
openEuler-25.03
openEuler-22.03-LTS-SP1
openEuler-24.09
openEuler-22.03-LTS-Next
openEuler-22.03-LTS-SP2
openEuler-22.03-LTS
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP3
openEuler-23.09
openEuler-22.09
openEuler-23.03
openEuler-20.03-LTS-Next
openEuler-20.03-LTS-SP2
openEuler-20.03-LTS
openEuler-21.09
openEuler-20.09
openEuler-21.03
openEuler1.0
openEuler1.0-base
openEuler-25.09-release
openEuler-24.03-LTS-SP2-release
openEuler-20.03-LTS-SP4-update-20250530
openEuler-22.03-LTS-SP3-update-20250530
openEuler-22.03-LTS-SP4-update-20250530
openEuler-24.03-LTS-update-20250530
openEuler-24.03-LTS-SP1-update-20250530
openEuler-24.03-LTS-update-20250411
openEuler-22.03-LTS-SP3-update-20250411
openEuler-24.03-LTS-SP1-update-20250411
openEuler-22.03-LTS-SP4-update-20250411
openEuler-20.03-LTS-SP4-update-20250403
openEuler-22.03-LTS-SP4-update-20250403
openEuler-22.03-LTS-SP3-update-20250403
openEuler-24.03-LTS-SP1-update-20250403
openEuler-24.03-LTS-update-20250403
openEuler-25.03-release
openEuler-24.03-LTS-SP1-release
openEuler-22.03-LTS-SP3-update-20241122
openEuler-22.03-LTS-SP1-update-20241115
openEuler-24.03-LTS-update-20241115
openEuler-24.03-LTS-update-20241108
openEuler-22.03-LTS-SP4-update-20241108
openEuler-22.03-LTS-SP3-update-20241108
openEuler-22.03-LTS-SP1-update-20241108
openEuler-20.03-LTS-SP4-update-20241108
openEuler-22.03-LTS-SP4-update-before-20241025
openEuler-22.03-LTS-SP4-before-20241025
openEuler-20.03-LTS-SP4-update-20241101
openEuler-22.03-LTS-SP1-update-20241101
openEuler-22.03-LTS-SP3-update-20241101
openEuler-22.03-LTS-SP4-update-20241101
openEuler-24.03-LTS-update-20241101
openEuler-22.03-LTS-SP4-release
openEuler-24.09-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
openEuler-22.03-LTS-SP1-release
openEuler-22.09-release
openEuler-22.09-rc5
openEuler-22.09-20220829
openEuler-22.03-LTS-20220331
openEuler-22.03-LTS-round5
openEuler-22.03-LTS-round3
openEuler-22.03-LTS-round2
openEuler-22.03-LTS-round1
openEuler-20.03-LTS-SP3-release
openEuler-20.03-LTS-SP2-20210624
openEuler-21.03-20210330
openEuler-20.09-20200928
openEuler-20.03-LTS-20200606
openEuler-20.03-LTS-tag
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
1
https://gitee.com/src-openeuler/ghostscript.git
git@gitee.com:src-openeuler/ghostscript.git
src-openeuler
ghostscript
ghostscript
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册