Skip to content

copy input msg into result of C API wasmtime_error_new#6369

Merged
alexcrichton merged 2 commits into
bytecodealliance:mainfrom
theothergraham:c_epoch_deadline_cb
May 11, 2023
Merged

copy input msg into result of C API wasmtime_error_new#6369
alexcrichton merged 2 commits into
bytecodealliance:mainfrom
theothergraham:c_epoch_deadline_cb

Conversation

@theothergraham
Copy link
Copy Markdown
Contributor

Fix for issue discovered in #6359 for issue #6277. Input string was not copied into new wasmtime_error_t result.

@theothergraham theothergraham requested a review from a team as a code owner May 10, 2023 20:04
@theothergraham theothergraham requested review from pchickey and removed request for a team May 10, 2023 20:04
@github-actions github-actions Bot added the wasmtime:c-api Issues pertaining to the C API. label May 10, 2023
@github-actions
Copy link
Copy Markdown

Subscribe to Label Action

cc @peterhuene

Details This issue or pull request has been labeled: "wasmtime:c-api"

Thus the following users have been cc'd because of the following labels:

  • peterhuene: wasmtime:c-api

To subscribe or unsubscribe from this label, edit the .github/subscribe-to-label.json configuration file.

Learn more.

Copy link
Copy Markdown
Member

@alexcrichton alexcrichton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@alexcrichton alexcrichton added this pull request to the merge queue May 10, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 10, 2023
@theothergraham
Copy link
Copy Markdown
Contributor Author

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks

I tried looking at the details of the failed checks but was unable to find anything much to explain what happened. Is there anything I need to do to rectify this, or was it some sort of transient error and just needs to be added to the queue again?

@alexcrichton
Copy link
Copy Markdown
Member

Ah that's ok github actions was having a bad time yesterday so it's hopefully feeling better today

@alexcrichton alexcrichton added this pull request to the merge queue May 11, 2023
Merged via the queue into bytecodealliance:main with commit 5e57c6a May 11, 2023
salewski pushed a commit to salewski/wasmtime that referenced this pull request Jun 30, 2023
…nce#6369)

* copy input msg into result of C API wasmtime_error_new

* make copy more clear with into_owned()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wasmtime:c-api Issues pertaining to the C API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants