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

variant_utils: Set the variant size on strings/bytes #54

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

tchrono
Copy link
Contributor

@tchrono tchrono commented Jul 9, 2024

Since fluent/fluent-bit@1ce8d04598, any code that needs to read a variant string/bytes size must use the cfl_variant_size_get function because variant strings might be references.

Ctraces must also set that field or else it is not possible to determine the length.

Since fluent/fluent-bit@1ce8d04598, any code that needs to read a variant string/bytes size must use the `cfl_variant_size_get` function because variant strings might be references.

Ctraces must also set that field or else it is not possible to determine the length.

Signed-off-by: Thiago <[email protected]>
@edsiper edsiper merged commit dd7c16b into fluent:master Jul 9, 2024
18 of 20 checks passed
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