Skip to content

evmctl: Fix the label to jump to in case of fopen failing#43

Closed
stefanberger wants to merge 0 commit into
linux-integrity:next-testingfrom
stefanberger:fix_label_jump
Closed

evmctl: Fix the label to jump to in case of fopen failing#43
stefanberger wants to merge 0 commit into
linux-integrity:next-testingfrom
stefanberger:fix_label_jump

Conversation

@stefanberger

@stefanberger stefanberger commented May 21, 2026

Copy link
Copy Markdown
Contributor

In case of fopen failing, jump to out_free to skip the flose(fp) and avoid a segfault.

@stefanberger stefanberger force-pushed the fix_label_jump branch 2 times, most recently from a32e821 to 2e45cc1 Compare May 21, 2026 16:42
@mimizohar

Copy link
Copy Markdown
Collaborator

The Subject line should be more generic. Something like: evmctl: Fix fopen() failure cleanup

@stefanberger stefanberger deleted the fix_label_jump branch June 8, 2026 18:46
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