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

rd_tmpabuf_new rounding #4400

Conversation

wolfchimneyrock
Copy link
Contributor

resolves #4398

this includes three places where rd_tmpabuf_new() is called where not all items are rounded to 8 byte boundaries.

additionally, I re-ordered the calculation of sizes to match the order they are added to the buffer later on.

@cla-assistant
Copy link

cla-assistant bot commented Aug 21, 2023

CLA assistant check
All committers have signed the CLA.

@emasab
Copy link
Collaborator

emasab commented Sep 27, 2023

Thanks @wolfchimneyrock . I've done a refactor to make it easier avoiding errors in future.
The new PR is #4449. Could you test it fixes your issue?

@emasab emasab closed this Sep 27, 2023
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.

rd_kafka_topic_info_new_with_rack insufficient buffer allocation
2 participants