mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Fix misc. issues reported by Coverity.
Some uninitialized values, a possible null pointer dereference, and time-of-check-time-of-use on reading random seed file.
This commit is contained in:
parent
50784c64bc
commit
38ae7c98b4
10 changed files with 22 additions and 12 deletions
|
@ -3321,6 +3321,9 @@ SocketComm::SocketComm()
|
|||
id_counter = 10000;
|
||||
parent_peer = 0;
|
||||
parent_msgstate = TYPE;
|
||||
parent_id = RemoteSerializer::PEER_NONE;
|
||||
parent_msgtype = 0;
|
||||
parent_args = 0;
|
||||
shutting_conns_down = false;
|
||||
terminating = false;
|
||||
killing = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue