Skip to content

Make sure to not invoke UB by accessing empty collections#129

Merged
tmadlener merged 1 commit intokey4hep:mainfrom
tmadlener:fix-ub-coll-access
Dec 18, 2025
Merged

Make sure to not invoke UB by accessing empty collections#129
tmadlener merged 1 commit intokey4hep:mainfrom
tmadlener:fix-ub-coll-access

Conversation

@tmadlener
Copy link
Member

@tmadlener tmadlener commented Dec 16, 2025

BEGINRELEASENOTES

  • Make sure to not invoke UB by accessing empty collections

ENDRELEASENOTES

Fixes #122

Using the minimal proposed fix from there. This just avoids a seg-fault, but will not solve any related issue that brought us here in the first place.

@tmadlener tmadlener merged commit 594adec into key4hep:main Dec 18, 2025
5 checks passed
@tmadlener tmadlener deleted the fix-ub-coll-access branch December 18, 2025 07:40
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.

Undefined behaviour when converting empty PID collection from EDM4hep to LCIO

1 participant