Skip to content

fix: Verify metadata is non-nil before accessing for timestamp#46

Open
ja-he wants to merge 1 commit intoeBay:mainfrom
ja-he:fix-segfault-when-metadata-missing
Open

fix: Verify metadata is non-nil before accessing for timestamp#46
ja-he wants to merge 1 commit intoeBay:mainfrom
ja-he:fix-segfault-when-metadata-missing

Conversation

@ja-he
Copy link

@ja-he ja-he commented Aug 13, 2024

This lead to a segfault when metadata was not present in the BOM.

I don't love the code structure, but I preferred making a small change for mergability, one which is also in line with how previous nil-checks are performed.

This lead to a segfault when metadata was not present in the BOM.

I don't love the code structure, but I preferred making a small
change for mergability, one which is also in line with how previous
nil-checks are performed.
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