Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

EncodeBufferAppend: grow_if_needed should allocate sufficiently #6686

Merged
merged 7 commits into from
Nov 2, 2024

Conversation

vaivaswatha
Copy link
Contributor

No description provided.

@vaivaswatha vaivaswatha self-assigned this Nov 2, 2024
@vaivaswatha vaivaswatha changed the title EncodeBufferAppend: grow_if_needed should allocate sufficiently EncodeBufferAppend: grow_if_needed should allocate sufficiently Nov 2, 2024
Copy link

codspeed-hq bot commented Nov 2, 2024

CodSpeed Performance Report

Merging #6686 will not alter performance

Comparing vaivaswatha/swaylend_alloc_bug (8e87ce2) with master (b6bbbf8)

Summary

✅ 22 untouched benchmarks

@vaivaswatha vaivaswatha marked this pull request as ready for review November 2, 2024 10:28
@vaivaswatha vaivaswatha requested review from a team as code owners November 2, 2024 10:28
@IGI-111 IGI-111 merged commit 3ff63a5 into master Nov 2, 2024
40 checks passed
@IGI-111 IGI-111 deleted the vaivaswatha/swaylend_alloc_bug branch November 2, 2024 10:48
xunilrj added a commit that referenced this pull request Nov 13, 2024
## Description

Test for #6686 buffer overflow on
`Bytes` encoding. This test fails without the fix and pass with it.

## Checklist

- [x] I have linked to any relevant issues.
- [x] I have commented my code, particularly in hard-to-understand
areas.
- [ ] I have updated the documentation where relevant (API docs, the
reference, and the Sway book).
- [ ] If my change requires substantial documentation changes, I have
[requested support from the DevRel
team](https://github.com/FuelLabs/devrel-requests/issues/new/choose)
- [x] I have added tests that prove my fix is effective or that my
feature works.
- [ ] I have added (or requested a maintainer to add) the necessary
`Breaking*` or `New Feature` labels where relevant.
- [x] I have done my best to ensure that my PR adheres to [the Fuel Labs
Code Review
Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md).
- [x] I have requested a review from the relevant team or maintainers.

---------

Co-authored-by: Joshua Batty <joshpbatty@gmail.com>
Co-authored-by: Sophie Dankel <47993817+sdankel@users.noreply.github.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants