Skip to content

ERROR: heap-buffer-overflow in group.c found with AddressSanitizer #1598

Description

@peirick

In group.c in method handle_message_packet_group the variable index can change if message is GROUP_MESSAGE_KILL_PEER_ID see:

delpeer(g_c, groupnumber, index, userdata);

At the end of the method index is pointing to an eventually deleted entry:

bool relay_back = id_equal(g->group[index].real_pk, real_pk);

Metadata

Metadata

Assignees

Labels

P1High prioritybugBug fix for the user, not a fix to a build script

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions