Skip to content
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

Fix for net_data_writer::ensure #12

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

olevs
Copy link
Contributor

@olevs olevs commented Sep 30, 2024

net_data_writer::ensure() only checked size of current write operation.
This meant that only one write operation was possible.
This fix use m_position to make sure memory is allocated for multiple write operations.

@Revan600 Revan600 merged commit c6625b0 into Revan600:main Sep 30, 2024
1 check passed
@Revan600
Copy link
Owner

Thank you for the fix!

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.

2 participants