Skip to content

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

Merged
lum1n0us merged 1 commit intobytecodealliance:mainfrom
yamt:nn-37
Jul 1, 2025
Merged

wasi_nn_llamacpp.c: reject invalid graph and execution context#4422
lum1n0us merged 1 commit intobytecodealliance:mainfrom
yamt:nn-37

Conversation

@yamt
Copy link
Copy Markdown
Contributor

@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