]> git.ipfire.org Git - thirdparty/snort3.git/commit
Merge pull request #2503 in SNORT/snort3 from ~OKHOMIAK/snort3:ipv4_codec_seed_fix...
authorBhagya Tholpady (bbantwal) <bbantwal@cisco.com>
Thu, 8 Oct 2020 18:54:13 +0000 (18:54 +0000)
committerBhagya Tholpady (bbantwal) <bbantwal@cisco.com>
Thu, 8 Oct 2020 18:54:13 +0000 (18:54 +0000)
commit636f5b61b3e56b601c5ced78bcc46357bd9dccf3
treefd7e6dbd85f207986f02627f78117b2ebb4591dd
parentd71e3e5c8155aba093704af5b916f6a79d9a2d4e
Merge pull request #2503 in SNORT/snort3 from ~OKHOMIAK/snort3:ipv4_codec_seed_fix to master

Squashed commit of the following:

commit e78a4bc6b5663229ec919a626ad8c942c0d3734e
Author: Oleksii Khomiakovskyi <okhomiak@cisco.com>
Date:   Mon Sep 28 11:54:51 2020 +0300

    utils: add a generic function to get random seeds

    If std::random_device fails with an exception,
    the system clock is used as an alternative source.
src/codecs/ip/cd_ipv4.cc
src/stream/flush_bucket.cc
src/utils/util.cc
src/utils/util.h