Skip to content

Conversation

@trojanobelix
Copy link
Collaborator

Prevent crash if a mapped sub was deleted from OD.

To reproduce:

Create object with multiple subs.
Map subs.
Delete mapped subs in OD.
Save.

Old:
Crash dereferencing null pointer while creating mapping table.

New:
Mapping of the deleted sub is removed when creating the mapping table.

Prevent crash if a mapped sub was deleted from OD.
@trojanobelix trojanobelix requested a review from nimrof November 28, 2025 07:56
Copy link
Collaborator

@nimrof nimrof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@trojanobelix trojanobelix merged commit c75bbd5 into CANopenNode:main Dec 5, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants