mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-03-11 07:29:48 +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
|
||||
timeout_handler(void)
|
||||
{
|
||||
static int seq_id;
|
||||
char buf[MAX_PAYLOAD_LEN];
|
||||
|
||||
printf("Client sending to: ");
|
||||
PRINT6ADDR(&client_conn->ripaddr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user