Skip to content

wasi_nn_llamacpp.c: reject invalid graph and execution context #4422

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

Merged
merged 1 commit into from
Jul 1, 2025

Conversation

yamt
Copy link
Collaborator

@yamt yamt commented Jun 27, 2025

  • return valid graph and execution context instead of using stack garbage. (always 0 for now because we don't implement multiple graph/context for this backend.)

  • validate user-given graph and execution context values. reject invalid ones.

* return valid graph and execution context instead of using stack garbage.
  (always 0 for now because we don't implement multiple graph/context
  for this backend.)

* validate user-given graph and execution context values. reject
  invalid ones.
@lum1n0us lum1n0us merged commit da6019f into bytecodealliance:main Jul 1, 2025
426 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants