Skip to content

Add guards against accessing an empty vector with []#222

Merged
tmadlener merged 1 commit intomasterfrom
add-guards
Mar 2, 2026
Merged

Add guards against accessing an empty vector with []#222
tmadlener merged 1 commit intomasterfrom
add-guards

Conversation

@jmcarcell
Copy link
Contributor

BEGINRELEASENOTES

  • Add guards against accesing an empty vector with []. This seems to be harmless since it is reading 0 bytes, but in Debug builds the std::vector assertions (if enabled) make these fail.

ENDRELEASENOTES

@tmadlener tmadlener merged commit ca01f0e into master Mar 2, 2026
17 checks passed
@tmadlener tmadlener deleted the add-guards branch March 2, 2026 09:02
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