mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 02:58:20 +00:00
Merge remote-tracking branch 'origin/topic/jsiwek/ssl-empty-files'
* origin/topic/jsiwek/ssl-empty-files: Skip file analysis for zero-length SSL/TLS data
This commit is contained in:
commit
ad18014bed
4 changed files with 16 additions and 2 deletions
|
@ -16,6 +16,12 @@
|
|||
{
|
||||
const bytestring& cert = (*certificates)[i];
|
||||
|
||||
if ( cert.length() <= 0 )
|
||||
{
|
||||
reporter->Weird(bro_analyzer()->Conn(), "zero_length_certificate");
|
||||
continue;
|
||||
}
|
||||
|
||||
ODesc file_handle;
|
||||
file_handle.Add(common.Description());
|
||||
file_handle.Add(i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue