mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 02:58:20 +00:00
Bug fixes.
- Fixing a crash with an invalid pointer. - Fixing a namespacing problem with is_ftp_data_conn() and check_relay_3(). - Fixing the do-we-have-an-event-handler-defined check. Standard test-suite passes. Seth, I think you can give it a try now ...
This commit is contained in:
parent
871561939b
commit
45ebfbb2b8
8 changed files with 29 additions and 17 deletions
|
@ -1463,9 +1463,9 @@ int same_type(const BroType* t1, const BroType* t2, int is_init)
|
|||
int same_attrs(const Attributes* a1, const Attributes* a2)
|
||||
{
|
||||
if ( ! a1 )
|
||||
return (a2 != 0);
|
||||
return (a2 == 0);
|
||||
|
||||
if ( ! a2 )
|
||||
if ( a2 )
|
||||
return 0;
|
||||
|
||||
return (*a1 == *a2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue