rpc-sys packagelist missing installed packages
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 15
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
I am running Netgear R7800 (ipq806x-generic-netgear_r7800). In 24.10.x (all versions as far as I can tell), rpc-sys fails to detect that "wpad-mesh-mbedtls" is installed (see OWUT comment). This appears to be a caused by a buffer overrun in "sys.c".
Increasing the read buffer size in "sys.c" (see attached) would be a quick fix, but perhaps the parsing of the opkg status file needs to be re-worked.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by reading sys.c and reproducing rpc-sys package detection for wpad-mesh-mbedtls on the reported Netgear R7800 configuration. Compare the attached buffer-size patch with the existing opkg status parsing, and consider whether parsing needs broader changes. Done means rpc-sys detects the installed package reliably without a buffer overrun.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100