Memory leak in host calls
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
Research direction
Start by tracing validate_ptr and its signal-handler siglongjmp path, then inspect aligned_array_wrapper lifetime handling; the issue names no file or test. Done means the out-of-bounds host-call path no longer bypasses cleanup, with a regression test covering it.
Written by the indexing model from the issue text.
Description
validate_ptr will siglongjmp from the signal handler if the pointer is out of bounds. This will bypass any destructors including those of aligned_array_wrapper. No intrinsics in nodeos can trigger this bug.
- Dominant language
- C++
- Stars
- 198
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EOSIO/eos-vm
-
NOpen
Difficulty 5/5 Over a week Newbie friendliness 1/100
-
NOpen
Difficulty 5/5 Over a week Newbie friendliness 1/100
-
NoneOpen
Difficulty 5/5 Over a week Newbie friendliness 1/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
HOpen
Difficulty 5/5 Over a week Newbie friendliness 1/100
Similar issues
-
bug difficulty: easy good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nagisa-kamishiro/rosehip#73 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
pocoproject/poco#5626 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
md ファイルの段落途中の改行をなくすOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day