Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAPI: fix problems detected by scanner. #2906

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

JuergenReppSIT
Copy link
Member

@JuergenReppSIT JuergenReppSIT commented Oct 20, 2024

  • Fix missing check of scanf result.
  • Fix storing of local variable stored in non-local memory.
  • Update cirrus ci to FreeBSD 14.1
  • Use nodl mode because of failure with dl mode.

14.0 did produce the error:
FreeBSD contains packages for wrong OS version: FreeBSD:14:amd64

Signed-off-by: Juergen Repp <[email protected]>
In several cases the return value of scanf was not checked.
Thus afterwards acces to variables not initialized was possible.

Signed-off-by: Juergen Repp <[email protected]>
The corresponding local array is now created with malloc and
freed after the execution of Fapi_WriteAuthorizeNv_Finish.

Signed-off-by: Juergen Repp <[email protected]>
…IBADD

When the configure optipn --enable-nodl was used the linker failed.

Signed-off-by: Juergen Repp <[email protected]>
dlopen for swtpm failed after the upgrade from FreeBsd 14.0 to 14.1

Signed-off-by: Juergen Repp <[email protected]>
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