Skip to content

Conversation

@elliottt
Copy link
Contributor

@elliottt elliottt commented Jun 21, 2024

Fix issues in some host calls where a buffer length error was being handled by reallocating to the new buffer size, but was discarding the new buffer's pointer. This should also fix flaky tests in CI.

It's unfortunate that cabi_realloc can't be marked [[nodiscard]], as it's defined within an extern "C" block.

@elliottt elliottt requested a review from guybedford June 21, 2024 01:21
@elliottt elliottt closed this Jun 21, 2024
@elliottt elliottt reopened this Jun 21, 2024
@elliottt elliottt force-pushed the trevor/flaky-tests branch from e1577c9 to 0b5d4c1 Compare June 21, 2024 01:24
@elliottt elliottt merged commit 4e16641 into main Jun 21, 2024
@elliottt elliottt deleted the trevor/flaky-tests branch June 21, 2024 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants