confluentinc / librdkafka

The Apache Kafka C/C++ library
Other
7.37k stars 3.11k forks source link

Fix double free as reported by address sanitize that can cause a crash #4612

Open arches-andy opened 4 months ago

arches-andy commented 4 months ago

Fix double free as reported by address sanitize that causes a crash when deleting the memory a second time if it is already being used between the deletes. Easily reproduced by causing an error like sending in a bad topic.

cla-assistant[bot] commented 4 months ago

CLA assistant check
All committers have signed the CLA.

arches-andy commented 2 months ago

Updated comments.