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 null characters in configuration values #691

Closed
wants to merge 1 commit into from

Conversation

manifest
Copy link
Contributor

@manifest manifest commented Jun 2, 2024

This PR for the issue.

Config values can contain null characters. They need to be trimmed.

This has already been addressed [here](fede1024@353812f),

but it wasn't completely resolved.
@chklauser
Copy link

Just as a heads up for the maintainers, there seem to be three PRs for this issue by now

  1. Use CStr::from_bytes_until_nul to read rdkafka config #671
  2. Remove nul chars from string before parsing to numerical values #688
  3. Fix null characters in configuration values #691 (this PR)

(I don't care which one gets merged, as long as master works again)

@fede1024
Copy link
Owner

fede1024 commented Aug 6, 2024

Fixed in #688

@fede1024 fede1024 closed this Aug 6, 2024
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