diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tcpflood.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcpflood.c b/tests/tcpflood.c index db65b7de..b3cef2e0 100644 --- a/tests/tcpflood.c +++ b/tests/tcpflood.c @@ -347,7 +347,7 @@ genMsg(char *buf, size_t maxBuf, int *pLenBuf, struct instdata *inst) /* get message from file */ do { done = 1; - *pLenBuf = fread(buf, 1, 1024, dataFP); + *pLenBuf = fread(buf, 1, MAX_EXTRADATA_LEN + 1024, dataFP); if(*pLenBuf == 0) { if(--numFileIterations > 0) { rewind(dataFP); |