reiseburo / hermann

A gem providing cross-platform Kafka producer and consumer support
MIT License
71 stars 76 forks source link

Fix use-after-free bug #97

Closed osheroff closed 9 years ago

osheroff commented 9 years ago

it's not safe to simply pluck strings off the heap unless we were also going to maintain a reference to them. sidestep this problem by strdup'ing the topic and brokers strings.