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:
Robin Sommer 2011-03-10 17:53:09 -08:00
parent 871561939b
commit 45ebfbb2b8
8 changed files with 29 additions and 17 deletions

View file

@ -15,6 +15,7 @@ class FuncType;
class Stmt;
class Frame;
class ID;
class CallExpr;
class Func : public BroObj {
public:
@ -36,7 +37,8 @@ public:
{ return priority > other.priority; } // reverse sort
};
virtual const vector<Body>& GetBodies() const { return bodies; }
const vector<Body>& GetBodies() const { return bodies; }
bool HasBodies() const { return bodies.size(); }
// virtual Val* Call(ListExpr* args) const = 0;
virtual Val* Call(val_list* args, Frame* parent = 0) const = 0;