Fix clang address sanitizer errors in unit tests (buffers too small)

This commit is contained in:
Dirk Ziegelmeier
2016-08-07 20:04:09 +02:00
parent 0a7db8a9a5
commit 6af213787a
2 changed files with 2 additions and 2 deletions

View File

@@ -454,7 +454,7 @@ START_TEST(test_tcp_recv_ooseq_FIN_INSEQ)
}
END_TEST
static char data_full_wnd[TCP_WND];
static char data_full_wnd[TCP_WND + TCP_MSS];
/** create multiple segments and pass them to tcp_input with the first segment missing
* to simulate overruning the rxwin with ooseq queueing enabled */