Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
description of repo status
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
11
Star
3
Fork
78
src-openEuler
/
binutils
Closed
Code
Issues
5
Pull Requests
2
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
memleak in process_mips_specific
Done
#I4G4XF
Bug
fusiontest
Opened this issue
2021-10-30 15:37
``` ==1478732==ERROR: LeakSanitizer: detected memory leaks Direct leak of 480 byte(s) in 1 object(s) allocated from: #0 0x52287d in malloc /src/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:145:3 #1 0x66909c in xmalloc /src/binutils-gdb/libiberty/./xmalloc.c:147:12 #2 0x5bf169 in cmalloc /src/binutils-gdb/binutils/dwarf.c:10230:10 #3 0x5b16b5 in process_mips_specific /src/binutils-gdb/binutils/./readelf.h:16697:15 #4 0x57a391 in process_arch_specific /src/binutils-gdb/binutils/./readelf.h:19719:14 #5 0x56522e in process_object /src/binutils-gdb/binutils/./readelf.h:20042:9 #6 0x558bdd in process_file /src/binutils-gdb/binutils/./readelf.h:20480:13 #7 0x558fc2 in LLVMFuzzerTestOneInput /src/binutils-gdb/binutils/fuzz_readelf.c:53:2 #8 0x45bb53 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:599:15 #9 0x4472c2 in fuzzer::RunOneTest(fuzzer::Fuzzer*, char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:323:6 #10 0x44cf66 in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:856:9 #11 0x476472 in main /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerMain.cpp:20:10 #12 0x7fac181f8b26 in __libc_start_main (/lib64/libc.so.6+0x25b26) DEDUP_TOKEN: malloc--xmalloc--cmalloc Direct leak of 248 byte(s) in 1 object(s) allocated from: #0 0x52287d in malloc /src/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:145:3 #1 0x556106 in get_data /src/binutils-gdb/binutils/./readelf.h:439:14 #2 0x5b167e in process_mips_specific /src/binutils-gdb/binutils/./readelf.h:16688:39 #3 0x57a391 in process_arch_specific /src/binutils-gdb/binutils/./readelf.h:19719:14 #4 0x56522e in process_object /src/binutils-gdb/binutils/./readelf.h:20042:9 #5 0x558bdd in process_file /src/binutils-gdb/binutils/./readelf.h:20480:13 #6 0x558fc2 in LLVMFuzzerTestOneInput /src/binutils-gdb/binutils/fuzz_readelf.c:53:2 #7 0x45bb53 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:599:15 #8 0x4472c2 in fuzzer::RunOneTest(fuzzer::Fuzzer*, char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:323:6 #9 0x44cf66 in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:856:9 #10 0x476472 in main /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerMain.cpp:20:10 #11 0x7fac181f8b26 in __libc_start_main (/lib64/libc.so.6+0x25b26) DEDUP_TOKEN: malloc--get_data--process_mips_specific SUMMARY: AddressSanitizer: 728 byte(s) leaked in 2 allocation(s). ```
``` ==1478732==ERROR: LeakSanitizer: detected memory leaks Direct leak of 480 byte(s) in 1 object(s) allocated from: #0 0x52287d in malloc /src/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:145:3 #1 0x66909c in xmalloc /src/binutils-gdb/libiberty/./xmalloc.c:147:12 #2 0x5bf169 in cmalloc /src/binutils-gdb/binutils/dwarf.c:10230:10 #3 0x5b16b5 in process_mips_specific /src/binutils-gdb/binutils/./readelf.h:16697:15 #4 0x57a391 in process_arch_specific /src/binutils-gdb/binutils/./readelf.h:19719:14 #5 0x56522e in process_object /src/binutils-gdb/binutils/./readelf.h:20042:9 #6 0x558bdd in process_file /src/binutils-gdb/binutils/./readelf.h:20480:13 #7 0x558fc2 in LLVMFuzzerTestOneInput /src/binutils-gdb/binutils/fuzz_readelf.c:53:2 #8 0x45bb53 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:599:15 #9 0x4472c2 in fuzzer::RunOneTest(fuzzer::Fuzzer*, char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:323:6 #10 0x44cf66 in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:856:9 #11 0x476472 in main /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerMain.cpp:20:10 #12 0x7fac181f8b26 in __libc_start_main (/lib64/libc.so.6+0x25b26) DEDUP_TOKEN: malloc--xmalloc--cmalloc Direct leak of 248 byte(s) in 1 object(s) allocated from: #0 0x52287d in malloc /src/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:145:3 #1 0x556106 in get_data /src/binutils-gdb/binutils/./readelf.h:439:14 #2 0x5b167e in process_mips_specific /src/binutils-gdb/binutils/./readelf.h:16688:39 #3 0x57a391 in process_arch_specific /src/binutils-gdb/binutils/./readelf.h:19719:14 #4 0x56522e in process_object /src/binutils-gdb/binutils/./readelf.h:20042:9 #5 0x558bdd in process_file /src/binutils-gdb/binutils/./readelf.h:20480:13 #6 0x558fc2 in LLVMFuzzerTestOneInput /src/binutils-gdb/binutils/fuzz_readelf.c:53:2 #7 0x45bb53 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:599:15 #8 0x4472c2 in fuzzer::RunOneTest(fuzzer::Fuzzer*, char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:323:6 #9 0x44cf66 in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:856:9 #10 0x476472 in main /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerMain.cpp:20:10 #11 0x7fac181f8b26 in __libc_start_main (/lib64/libc.so.6+0x25b26) DEDUP_TOKEN: malloc--get_data--process_mips_specific SUMMARY: AddressSanitizer: 728 byte(s) leaked in 2 allocation(s). ```
Attachments
fusiontest-testcase-fuzz_readelf-202110300005
(833 Bytes)
Download
fusiontest
2021-10-30 15:37
Comments (
3
)
Sign in
to comment
Status
Done
Backlog
已挂起
Fixing
Confirmed
Done
Accepted
Canceled
Assignees
Not set
Labels
sig/Base-service
Not set
Projects
Unprojected
Unprojected
Milestones
openEuler 20.03-LTS-SP1
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (
-
)
Tags (
-
)
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(4)
1
https://gitee.com/src-openeuler/binutils.git
git@gitee.com:src-openeuler/binutils.git
src-openeuler
binutils
binutils
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register