Package: python-confluent-kafka / 2.12.2-1

Metadata

Package Version Patches format
python-confluent-kafka 2.12.2-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
newtopic segfault.patch | (download)

src/confluent_kafka/src/AdminTypes.c | 15 9 + 6 - 0 !
1 file changed, 9 insertions(+), 6 deletions(-)

 don't leave newtopic partially-initialized on error

If `NewTopic` was initialized with a non-dict `config`, then the
constructor raised an exception but left the object in a
partially-initialized state with `replica_assignment` and `config`
elements that hadn't had their reference counts increased, leading to
mysterious segfaults in the test suite.  Be more careful to only set
these elements once we're ready to do so.

Fixes: #2146