Skip to content

Fix crash in get_member_id() if client group is not initialized#320

Open
azat wants to merge 1 commit intomfontanini:masterfrom
azat-archive:get_member_id-crash-upstream
Open

Fix crash in get_member_id() if client group is not initialized#320
azat wants to merge 1 commit intomfontanini:masterfrom
azat-archive:get_member_id-crash-upstream

Conversation

@azat
Copy link
Contributor

@azat azat commented May 25, 2025

Since in this case rd_kafka_memberid() return NULL, and std::string cannot be constructed from NULL 1.

Refs: ClickHouse/ClickHouse#80674 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant