Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,7 @@ coap_read_session(coap_context_t *ctx, coap_session_t *session, coap_tick_t now)
coap_packet_t s_packet;
#endif /* ! COAP_CONSTRAINED_STACK */
coap_packet_t *packet = &s_packet;

memset(&s_packet, 0, sizeof(coap_packet_t));
#if COAP_CONSTRAINED_STACK
coap_mutex_lock(&s_static_mutex);
#endif /* COAP_CONSTRAINED_STACK */
Expand Down