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

Some fixes #626

Merged
merged 11 commits into from
Aug 23, 2023
Merged

Some fixes #626

merged 11 commits into from
Aug 23, 2023

Conversation

sjaeckel
Copy link
Member

Check commit messages for details.

ycaibb and others added 7 commits August 7, 2023 11:37
Fixes a missing mutex unlock on an out of memory error
in ltc_ecc_fp_save_state().

Originates from: OP-TEE/optee_os@4af447d

Fixes #571

Comment by sj:
This patch version slightly deviates from the original patch to OP-TEE
since we don't call `XFREE(NULL)` as there exist implementations of
`free()` that don't support it.

Signed-off-by: Ryan Cai <[email protected]>
Reviewed-by: Jens Wiklander <[email protected]>
Modified-by: Steffen Jaeckel <[email protected]>
* use a separate `libtomcrypt` folder to install the headers to
* use `INCPATH` and `LIBPATH` when installing `libtomcrypt.pc`
* fix `libtomcrypt.pc` generation for `makefile.unix`

This fixes #625

Signed-off-by: Steffen Jaeckel <[email protected]>
Don't read more than the length indicated by the length field.

Signed-off-by: Steffen Jaeckel <[email protected]>
So we don't have to `#ifdef` whether it's available or not.

Signed-off-by: Steffen Jaeckel <[email protected]>
Signed-off-by: Steffen Jaeckel <[email protected]>
This fixes #577

Patch inspired by the same, but simplified after reading the docs.

Signed-off-by: Steffen Jaeckel <[email protected]>
This fixes #576

Patch inspired by the same, but modified.

Signed-off-by: Steffen Jaeckel <[email protected]>
Signed-off-by: Steffen Jaeckel <[email protected]>
Signed-off-by: Steffen Jaeckel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment