You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function _z_unicast_handle_transport_message() in transport/unicast/rx.c, while handling out-of-order _Z_MID_T_FRAME messages, leaks memory.
The following code should be added to cleanup dropped messages:
for (size_t i = 0; i < _z_svec_len(&t_msg->_body._frame._messages); i++) {
_z_msg_clear(_z_network_message_svec_get(&t_msg->_body._frame._messages, i));
}
To reproduce
.
System info
.
The text was updated successfully, but these errors were encountered:
Describe the bug
The function
_z_unicast_handle_transport_message()
in transport/unicast/rx.c, while handling out-of-order _Z_MID_T_FRAME messages, leaks memory.The following code should be added to cleanup dropped messages:
To reproduce
.
System info
.
The text was updated successfully, but these errors were encountered: