mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-25 11:05:15 +00:00
Successfully fails if data buffer is too small
This commit is contained in:
parent
91c095e063
commit
50c9cb28ec
@ -206,7 +206,7 @@ window_reassemble_data(struct frag_buffer *w, uint8_t *data, size_t maxlen, int
|
||||
}
|
||||
if (fraglen > maxlen) {
|
||||
WDEBUG("Data buffer too small! Reassembled %lu bytes.", datalen);
|
||||
return datalen;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Move window along to avoid weird issues */
|
||||
|
Loading…
Reference in New Issue
Block a user