Skip to content

Fix #1589: Prevent crash when fetching registers beyond map end#55

Open
drurew wants to merge 3 commits intovictronenergy:masterfrom
drurew:fix/issue-1589
Open

Fix #1589: Prevent crash when fetching registers beyond map end#55
drurew wants to merge 3 commits intovictronenergy:masterfrom
drurew:fix/issue-1589

Conversation

@drurew
Copy link

@drurew drurew commented Feb 15, 2026

Fixes a crash in where was accessed safely immediately after verifying that was not in a combined boolean/logical check, but in some edge cases or compiler behaviors could still be problematic. This change explicitly handles the check first and returns.

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.

1 participant