Skip to content

fix: fix the out-of-bound access in from_simple_string - #897

Merged
jhenin merged 1 commit into
Colvars:masterfrom
HanatoK:fix_from_simple_string
Dec 4, 2025
Merged

fix: fix the out-of-bound access in from_simple_string#897
jhenin merged 1 commit into
Colvars:masterfrom
HanatoK:fix_from_simple_string

Conversation

@HanatoK

@HanatoK HanatoK commented Dec 4, 2025

Copy link
Copy Markdown
Member

This commit ensures that the boundary check happens first.

See #887 (comment).

This commit ensures that the boundary check happens first.
@HanatoK HanatoK added important quick bugfix To be used only in PRs labels Dec 4, 2025

@jhenin jhenin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yup - thanks @HanatoK !

@jhenin
jhenin merged commit a80c6c4 into Colvars:master Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix To be used only in PRs important quick

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants