Skip to content
Snippets Groups Projects
Commit c351a047 authored by poulpe's avatar poulpe
Browse files

[Add+rename] Add patch for Crash 1 + rename packet for match id with aflnet-replay

parent 090cfdd6
No related branches found
No related tags found
No related merge requests found
File moved
diff --git a/core/packet.c b/core/packet.c
index c6f941b..58506d9 100644
--- a/core/packet.c
+++ b/core/packet.c
@@ -341,6 +341,8 @@ static lwm2m_transaction_t * prv_create_next_block_transaction(lwm2m_transaction
static int prv_send_new_block1(lwm2m_context_t * contextP, lwm2m_transaction_t * previous, uint32_t block_num, uint16_t block_size)
{
lwm2m_transaction_t * next;
+ if (previous == NULL)
+ return 0;
// Done sending block
if (block_num * (size_t)block_size >= previous->payload_len)
return 0;
File deleted
File added
No preview for this file type
File moved
File moved
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment