Add checks to avoid improper negative values use.
Fix nesting/indent level whitespace mismatch.

The EndData() doesn't make sense as part of the condition that implies
the state is such that it's not inside data.  It might make sense as
part of an else block, but it also seems fine to unconditionally
EndData() like it currently does.  That way unexpected states (mail !=
0) are dealt with sooner rather than later.
Merge branch 'master' into topic/jsiwek/coverity
Set safe umask when creating script profiler tmp files.
Merge branch 'master' into topic/jsiwek/coverity
Fix DNS_Mgr iterator mismatch.

But not really since the global dns_mgr should be equal to "this" while
in all the member funcs.  Still, better that they always refer to their
own instance instead of the global one.
Fix invalidated iterator usage.
Fix unintentional always-false condition.
Prevent division/modulo by zero in scripts.

Integral/floating-point division/modulo by zero in C++ is undefined
behavior, so to prevent such cases in a script from crashing Bro,
they're now reported as an error (with script location information) and
the event handler in which it occurred returns immediately.
Merge branch 'master' into topic/jsiwek/coverity
Remove unused variable assignments, dead code.
Merge branch 'master' into topic/jsiwek/coverity
Improve return value checking and error handling.
A couple null ptr checks.
Fix logic for failed DNS TXT lookups.

A failed request should not evict a previous result from the local
cache/mapping.
Remove dead/unfinished code in unary not expr.

The code that looks like it was intended to make it apply to a vector
operand couldn't be reached and making it reachable would still require
changes to other methods for it to work so just removing for now.
Remove logically dead code.
add new tls cipher suites
...and a few more ciphers.
Fix uninitialized (or unused) fields.