Handle OP-TEE inter-TA invocation error path properly

Open
#1,024 2 comments 0 reactions 1 assignee View on GitHub

@sangho2 is already working on this.

Since Jul 13, 2026.

Assessment

This issue has not been assessed yet.

Description

If the size of a buffer that a TA provides (for syscalls and PTA methods) is smaller than the required size, OP-TEE OS returns a ShortBuffer error along with the required size. However, currently, the OP-TEE shim doesn't return the required size.

Dominant language
Rust
Stars
2.7k
Forks
144
Avg merge
12h 21m
Merged PRs (30d)
146

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/litebox

All issues in microsoft/litebox

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.