Skip to content

Conversation

@br-ww
Copy link

@br-ww br-ww commented Oct 30, 2025

This pull request contains 3 bug fixes for the following issues:

  • v2025.2 does not compile (at least on my Arch Linux) because of a missing include
  • a commit in openSSL changed a structure that is also used in bootgen, leading to misinterpreted data
  • the previous issue triggers a "double free" error in the current code

br-ww added 3 commits October 30, 2025 16:16
The function hss_get_parameter_set() in hss_param.c uses printf, but
does not include stdio.h. Fix this by adding the missing include.

Signed-off-by: Wolfgang Wallner <[email protected]>
If any code after the first fclose(f) in Key::Parse() throws
an exception, the exception handler will unconditionally
call fclose(f) again.

Fix this by setting f to NULL after the first fclose, and
checking the value of f against NULL in the excepton handler.

Signed-off-by: Wolfgang Wallner <[email protected]>
The layout of struct bn_mont_ctx_st was changed in openSSL commit 3f540b6d.

Signed-off-by: Wolfgang Wallner <[email protected]>
@br-ww br-ww force-pushed the us/bug-fixes-v2025.2 branch from f10568e to 03d0b6f Compare October 30, 2025 15:20
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