ekrich / ekrich/exip

Stack corruption due to pointer type mismatch

Open
#92 0 comments 0 reactions 0 assignees View on GitHub
question
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.