mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-08-18 05:29:29 +00:00
bugfix in fragmentation test mode: avoid reading from outside buffer placed on stack
This commit is contained in:
parent
8ebacd1a1a
commit
6ff349f3e6
@ -56,11 +56,11 @@ tcpip_handler(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
static char buf[MAX_PAYLOAD_LEN];
|
||||||
static void
|
static void
|
||||||
timeout_handler(void)
|
timeout_handler(void)
|
||||||
{
|
{
|
||||||
static int seq_id;
|
static int seq_id;
|
||||||
char buf[MAX_PAYLOAD_LEN];
|
|
||||||
|
|
||||||
printf("Client sending to: ");
|
printf("Client sending to: ");
|
||||||
PRINT6ADDR(&client_conn->ripaddr);
|
PRINT6ADDR(&client_conn->ripaddr);
|
||||||
|
Loading…
Reference in New Issue
Block a user