Skip to content

Linter fixes

Compare
Choose a tag to compare
@filonenko-mikhail filonenko-mikhail released this 17 Feb 19:31
· 22 commits to master since this release
patch: fix potential use after free

rd_kafka_topic_partition_list_query_leaders_async_worker() can
free rko->rko_u.leaders.eonce by calling rd_kafka_enq_once_del_source().
After use this object again:

if (rko->rko_u.leaders.eonce) {
        rd_kafka_enq_once_disable(rko->rko_u.leaders.eonce);
        rko->rko_u.leaders.eonce = NULL;
}

This patch adds to rd_kafka_enq_once_del_source() a
return indication that the object has been freed.

Closes tarantool/security#94