We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ProduceAsync with certain lengths of ProducerConfig.ClientId and TopicName strings leads to an invalid memory access and a segmentation fault.
ProduceAsync
ProducerConfig.ClientId
TopicName
var message = "1"; var bootstrapServers = "<your bootstrap servers>"; var topicName = new String('a', 69); var clientId = new String('a', 239); var config = new ProducerConfig { BootstrapServers = bootstrapServers, ClientId = clientId, }; var builder = new ProducerBuilder<string, string>(config); var producer = builder.Build(); await producer.ProduceAsync(topicName, new Message<string, string>() { Value = message });
You can reproduce it with confluent.kafka nuget versions 2.2.0 and 2.1.1. It can't be reproduced with confluent.kafka nuget version 1.9.3.
Apache Kafka 2.8.1
It can be reproduced on any OS afaik.
Please provide the following information:
The text was updated successfully, but these errors were encountered:
@emasab @edenhill @mhowlett Hello!
Could you help with prioritizing this issue? We are looking forward to a fix for this problem.
We have blocked any updates to confluent-kafka-dotnet library because of this issue.
Sorry, something went wrong.
Thanks for the bug report. This is due to an overflow issue in librdkafka. Fix is being tracked in confluentinc/librdkafka#4689
Closing, as the fix is released now. Please feel free to reopen if you still face this.
No branches or pull requests
Description
ProduceAsync
with certain lengths ofProducerConfig.ClientId
andTopicName
strings leads to an invalid memory access and a segmentation fault.How to reproduce
You can reproduce it with confluent.kafka nuget versions 2.2.0 and 2.1.1.
It can't be reproduced with confluent.kafka nuget version 1.9.3.
Apache Kafka 2.8.1
It can be reproduced on any OS afaik.
Checklist
Please provide the following information:
The text was updated successfully, but these errors were encountered: