Stack corruption due to pointer type mismatch
- Dominant language
- C
- Stars
- 10
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Determine if this needs fixing. The comment was from 2017-09-10 and shows that it has not been resolved.
See: https://sourceforge.net/p/exip/bugs/19/
Passing SmallIndex pointer (&pfxEntryId) to Index pointer argument in createUriTableEntry() for the addPfxEntry() call causes stack corruption.
See the following discussion explaining the issue https://sourceforge.net/p/exip/discussion/1177916/thread/c32cced9/#7575
When fixing this, check in other places for the same problem.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the linked SourceForge bug and discussion, then inspect createUriTableEntry() and the addPfxEntry() call involving pfxEntryId. Check whether the pointer types match and look for other calls with the same mismatch. Done means the corruption risk is fixed throughout the affected uses or the issue is confirmed unnecessary with supporting evidence.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100