mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
Fix more Coverity-reported issues (introduced by internal error audit).
Mem leaks and a null pointer deref (not actually expected to occur unless already in one of the the odd states that warrants an internal warning/error). Also dead code.
This commit is contained in:
parent
1d23f055ba
commit
cf6d7ba5ae
4 changed files with 10 additions and 15 deletions
|
@ -290,8 +290,11 @@ void FragReassembler::BlockInserted(DataBlock* /* start_block */)
|
|||
}
|
||||
|
||||
else
|
||||
{
|
||||
reporter->InternalWarning("bad IP version in fragment reassembly: %d",
|
||||
version);
|
||||
delete [] pkt_start;
|
||||
}
|
||||
}
|
||||
|
||||
void FragReassembler::Expire(double t)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue