mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
BDAT: Harden parse_bdat_arg()
There implementation assumed that arg is null terminated. Due to the ContentLineAnalyzer wrongly being in plain delivery mode, this assumption was violated. It shouldn't happen anymore, but protect from this anyhow.
This commit is contained in:
parent
bc357c6ca1
commit
ce4647a507
3 changed files with 50 additions and 5 deletions
|
@ -7,5 +7,5 @@
|
|||
#open XXXX-XX-XX-XX-XX-XX
|
||||
#fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p name addl notice peer source
|
||||
#types time string addr port addr port string string bool string string
|
||||
XXXXXXXXXX.XXXXXX CHhAvVGS1DHFjwGM9 127.0.0.1 33762 127.0.0.1 25 smtp_invalid_bdat_command BDAT chunk-size too large F zeek SMTP
|
||||
XXXXXXXXXX.XXXXXX CHhAvVGS1DHFjwGM9 127.0.0.1 33762 127.0.0.1 25 smtp_invalid_bdat_command BDAT argument bad length F zeek SMTP
|
||||
#close XXXX-XX-XX-XX-XX-XX
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue