mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Fix complaint from valgrind about uninitialized memory usage.
This commit is contained in:
parent
2fafadd930
commit
4abcfa1f66
1 changed files with 1 additions and 0 deletions
|
@ -691,6 +691,7 @@ void init_random_seed(uint32 seed, const char* read_file, const char* write_file
|
|||
{
|
||||
static const int bufsiz = 16;
|
||||
uint32 buf[bufsiz];
|
||||
memset(buf, 0, sizeof(buf));
|
||||
int pos = 0; // accumulates entropy
|
||||
bool seeds_done = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue