Out-of-bound access on controller device type list
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 55/100
Research direction
The report gives a screenshot and an attached patch (0001-options-fix-out-of-bound-accesses-on-controller-devi.patch) rather than a file path, so start by reading that patch: it points at the loop that walks the controller device type option list. Reproduce the out-of-bound read in the core's input/options handling, apply the bounds fix, then confirm that enumerating controller device types no longer reads past the list. Done means the crash in the screenshot is gone and the option still lists the correct device types.
Written by the indexing model from the issue text.
Description
The title is pretty much self-explanatory. Evidence:
Tentative fix:
0001-options-fix-out-of-bound-accesses-on-controller-devi.patch
- Dominant language
- C
- Stars
- 414
- Forks
- 155
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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 libretro/parallel-n64
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
libretro/parallel-n64#858 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
libretro/parallel-n64#855 · 8 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 54/100
libretro/parallel-n64#856 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
libretro/parallel-n64#854 · 3 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
libretro/parallel-n64#853 ·
All issues in libretro/parallel-n64
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Mbed-TLS/TF-PSA-Crypto#984 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
tursodatabase/libsql#2320 ·
Maintainers usually reply within 11 days
-
type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day