Skip to content

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

Open
stefanberger wants to merge 1 commit into
linux-integrity:next-testingfrom
stefanberger:fix_label_jump
Open

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

Conversation

@stefanberger
Copy link
Copy Markdown
Contributor

@stefanberger stefanberger commented May 21, 2026

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

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

Fixes: d7dffec ("Fix memory leaks of tpm_bank_info allocations")
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
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