mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge remote-tracking branch 'security/topic/awelzel/155-reassem-validate-seq-upper-overflow'
* security/topic/awelzel/155-reassem-validate-seq-upper-overflow: file_analysis/File: Report overflowing chunks as weird and discard/truncate Reassem: Reject blocks overflowing 64bit upper zeek-setup: Load scrips before running unit tests
This commit is contained in:
commit
d8c1a1babf
8 changed files with 122 additions and 19 deletions
|
@ -371,6 +371,7 @@ void TCP_Reassembler::BlockInserted(DataBlockMap::const_iterator it)
|
|||
{
|
||||
const auto& start_block = it->second;
|
||||
|
||||
assert(start_block.seq < start_block.upper);
|
||||
if ( start_block.seq > last_reassem_seq || start_block.upper <= last_reassem_seq )
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue