Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/broker-1.2.8+ds1/tests/benchmark/broker-benchmark.cc
Examining data/broker-1.2.8+ds1/tests/benchmark/readerwriterqueue/readerwriterqueue.h
Examining data/broker-1.2.8+ds1/tests/benchmark/readerwriterqueue/tests/unittests/minitest.h
Examining data/broker-1.2.8+ds1/tests/benchmark/readerwriterqueue/tests/unittests/unittests.cpp
Examining data/broker-1.2.8+ds1/tests/benchmark/readerwriterqueue/tests/common/simplethread.cpp
Examining data/broker-1.2.8+ds1/tests/benchmark/readerwriterqueue/tests/common/simplethread.h
Examining data/broker-1.2.8+ds1/tests/benchmark/readerwriterqueue/tests/stabtest/stabtest.cpp
Examining data/broker-1.2.8+ds1/tests/benchmark/readerwriterqueue/atomicops.h
Examining data/broker-1.2.8+ds1/tests/benchmark/readerwriterqueue/benchmarks/ext/1024cores/spscqueue.h
Examining data/broker-1.2.8+ds1/tests/benchmark/readerwriterqueue/benchmarks/ext/folly/ProducerConsumerQueue.h
Examining data/broker-1.2.8+ds1/tests/benchmark/readerwriterqueue/benchmarks/systemtime.cpp
Examining data/broker-1.2.8+ds1/tests/benchmark/readerwriterqueue/benchmarks/bench.cpp
Examining data/broker-1.2.8+ds1/tests/benchmark/readerwriterqueue/benchmarks/systemtime.h
Examining data/broker-1.2.8+ds1/tests/benchmark/broker-stream-benchmark.cc
Examining data/broker-1.2.8+ds1/tests/test.cpp
Examining data/broker-1.2.8+ds1/tests/test.hpp
Examining data/broker-1.2.8+ds1/tests/cpp/ssl.cc
Examining data/broker-1.2.8+ds1/tests/cpp/radix_tree.cc
Examining data/broker-1.2.8+ds1/tests/cpp/publisher.cc
Examining data/broker-1.2.8+ds1/tests/cpp/data.cc
Examining data/broker-1.2.8+ds1/tests/cpp/master.cc
Examining data/broker-1.2.8+ds1/tests/cpp/integration.cc
Examining data/broker-1.2.8+ds1/tests/cpp/topic.cc
Examining data/broker-1.2.8+ds1/tests/cpp/subscriber.cc
Examining data/broker-1.2.8+ds1/tests/cpp/zeek.cc
Examining data/broker-1.2.8+ds1/tests/cpp/core.cc
Examining data/broker-1.2.8+ds1/tests/cpp/store.cc
Examining data/broker-1.2.8+ds1/tests/cpp/status_subscriber.cc
Examining data/broker-1.2.8+ds1/tests/cpp/backend.cc
Examining data/broker-1.2.8+ds1/doc/_examples/ping.cc
Examining data/broker-1.2.8+ds1/doc/_examples/synopsis.cc
Examining data/broker-1.2.8+ds1/doc/_examples/stores.cc
Examining data/broker-1.2.8+ds1/doc/_examples/comm.cc
Examining data/broker-1.2.8+ds1/bindings/python/zeek.cpp
Examining data/broker-1.2.8+ds1/bindings/python/data.cpp
Examining data/broker-1.2.8+ds1/bindings/python/enums.cpp
Examining data/broker-1.2.8+ds1/bindings/python/set_bind.h
Examining data/broker-1.2.8+ds1/bindings/python/_broker.cpp
Examining data/broker-1.2.8+ds1/bindings/python/store.cpp
Examining data/broker-1.2.8+ds1/src/network_info.cc
Examining data/broker-1.2.8+ds1/src/publisher.cc
Examining data/broker-1.2.8+ds1/src/status.cc
Examining data/broker-1.2.8+ds1/src/data.cc
Examining data/broker-1.2.8+ds1/src/endpoint.cc
Examining data/broker-1.2.8+ds1/src/mailbox.cc
Examining data/broker-1.2.8+ds1/src/topic.cc
Examining data/broker-1.2.8+ds1/src/peer_status.cc
Examining data/broker-1.2.8+ds1/src/subscriber.cc
Examining data/broker-1.2.8+ds1/src/internal_command.cc
Examining data/broker-1.2.8+ds1/src/detail/make_backend.cc
Examining data/broker-1.2.8+ds1/src/detail/clone_actor.cc
Examining data/broker-1.2.8+ds1/src/detail/memory_backend.cc
Examining data/broker-1.2.8+ds1/src/detail/filesystem.cc
Examining data/broker-1.2.8+ds1/src/detail/sqlite_backend.cc
Examining data/broker-1.2.8+ds1/src/detail/master_resolver.cc
Examining data/broker-1.2.8+ds1/src/detail/prefix_matcher.cc
Examining data/broker-1.2.8+ds1/src/detail/abstract_backend.cc
Examining data/broker-1.2.8+ds1/src/detail/master_actor.cc
Examining data/broker-1.2.8+ds1/src/detail/core_scatterer.cc
Examining data/broker-1.2.8+ds1/src/detail/flare_actor.cc
Examining data/broker-1.2.8+ds1/src/detail/rocksdb_backend.cc
Examining data/broker-1.2.8+ds1/src/detail/network_cache.cc
Examining data/broker-1.2.8+ds1/src/detail/core_policy.cc
Examining data/broker-1.2.8+ds1/src/detail/flare.cc
Examining data/broker-1.2.8+ds1/src/detail/scoped_flare_actor.cc
Examining data/broker-1.2.8+ds1/src/subnet.cc
Examining data/broker-1.2.8+ds1/src/broker-node.cc
Examining data/broker-1.2.8+ds1/src/port.cc
Examining data/broker-1.2.8+ds1/src/store.cc
Examining data/broker-1.2.8+ds1/src/time.cc
Examining data/broker-1.2.8+ds1/src/address.cc
Examining data/broker-1.2.8+ds1/src/configuration.cc
Examining data/broker-1.2.8+ds1/src/core_actor.cc
Examining data/broker-1.2.8+ds1/src/status_subscriber.cc
Examining data/broker-1.2.8+ds1/src/broker-pipe.cc
Examining data/broker-1.2.8+ds1/src/error.cc
Examining data/broker-1.2.8+ds1/src/version.cc

FINAL RESULTS:

data/broker-1.2.8+ds1/src/broker-node.cc:194:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
-> decltype(caf::get_or(d.system().config(), key, default_value)) {
data/broker-1.2.8+ds1/src/broker-node.cc:195:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  return caf::get_or(d.system().config(), key, default_value);
data/broker-1.2.8+ds1/src/broker-node.cc:200:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
-> decltype(caf::get_if<T>(&(d->system().config()), key)) {
data/broker-1.2.8+ds1/src/broker-node.cc:201:30:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  return caf::get_if<T>(&(d->system().config()), key);
data/broker-1.2.8+ds1/src/broker-node.cc:365:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    auto& sys = ep.system();
data/broker-1.2.8+ds1/src/broker-pipe.cc:161:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  scoped_actor self{ep.system()};
data/broker-1.2.8+ds1/src/broker-pipe.cc:219:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  scoped_actor self{ep.system()};
data/broker-1.2.8+ds1/src/broker-pipe.cc:224:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  self->join(self->system().groups().get_local("broker/errors"));
data/broker-1.2.8+ds1/src/broker-pipe.cc:225:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  self->join(self->system().groups().get_local("broker/statuses"));
data/broker-1.2.8+ds1/src/broker-pipe.cc:234:19:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      print(self->system().render(x));
data/broker-1.2.8+ds1/src/broker-pipe.cc:249:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  auto el = ep.system().spawn(event_listener);
data/broker-1.2.8+ds1/src/core_actor.cc:108:19:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  errors_ = self->system().groups().get_local("broker/errors");
data/broker-1.2.8+ds1/src/core_actor.cc:109:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  statuses_ = self->system().groups().get_local("broker/statuses");
data/broker-1.2.8+ds1/src/publisher.cc:99:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    worker_(ep.system().spawn(publisher_worker, &ep, queue_)),
data/broker-1.2.8+ds1/src/status_subscriber.cc:20:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  self->join(self->system().groups().get_local("broker/errors"));
data/broker-1.2.8+ds1/src/status_subscriber.cc:22:22:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    self->join(self->system().groups().get_local("broker/statuses"));
data/broker-1.2.8+ds1/src/status_subscriber.cc:40:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  worker_ = ep.system().spawn(status_subscriber_worker, receive_statuses,
data/broker-1.2.8+ds1/src/subscriber.cc:157:23:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  worker_ = ep_.get().system().spawn(subscriber_worker, &ep_.get(), queue_, std::move(ts),
data/broker-1.2.8+ds1/src/subscriber.cc:176:40:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      caf::scoped_actor self{ep_.get().system()};
data/broker-1.2.8+ds1/src/subscriber.cc:192:40:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      caf::scoped_actor self{ep_.get().system()};
data/broker-1.2.8+ds1/tests/benchmark/broker-stream-benchmark.cc:62:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  scoped_actor self{ep.system()};
data/broker-1.2.8+ds1/tests/benchmark/broker-stream-benchmark.cc:82:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  scoped_actor self{ep.system()};
data/broker-1.2.8+ds1/tests/cpp/integration.cc:136:14:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      sys(ep.system()),
data/broker-1.2.8+ds1/tests/cpp/integration.cc:151:28:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    CAF_SET_LOGGER_SYS(&ep.system());
data/broker-1.2.8+ds1/tests/test.cpp:15:14:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      sys(ep.system()),
data/broker-1.2.8+ds1/src/configuration.cc:67:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (auto env = getenv("BROKER_DEBUG_VERBOSE")) {
data/broker-1.2.8+ds1/src/configuration.cc:74:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (auto env = getenv("BROKER_DEBUG_LEVEL")) {
data/broker-1.2.8+ds1/src/configuration.cc:81:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (auto env = getenv("BROKER_DEBUG_COMPONENT_FILTER")) {
data/broker-1.2.8+ds1/tests/benchmark/broker-benchmark.cc:456:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        auto c = getopt_long(argc, argv, "", long_options, &option_index);
data/broker-1.2.8+ds1/tests/cpp/ssl.cc:29:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    auto test_dir = getenv("BROKER_TEST_DIR");
data/broker-1.2.8+ds1/src/address.cc:85:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[INET6_ADDRSTRLEN];
data/broker-1.2.8+ds1/src/configuration.cc:75:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char level[10];
data/broker-1.2.8+ds1/src/detail/flare.cc:62:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmp[stack_buffer_size];
data/broker-1.2.8+ds1/src/detail/flare.cc:76:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmp[stack_buffer_size];
data/broker-1.2.8+ds1/src/detail/sqlite_backend.cc:43:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!open(*path))
data/broker-1.2.8+ds1/src/detail/sqlite_backend.cc:57:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  bool open(const std::string& path) {
data/broker-1.2.8+ds1/src/detail/sqlite_backend.cc:93:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[128];
data/broker-1.2.8+ds1/tests/benchmark/broker-benchmark.cc:103:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char buffer[11];
data/broker-1.2.8+ds1/tests/benchmark/broker-benchmark.cc:469:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            event_type = atoi(optarg);
data/broker-1.2.8+ds1/tests/benchmark/broker-benchmark.cc:477:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            batch_size = atoi(optarg);
data/broker-1.2.8+ds1/tests/benchmark/broker-benchmark.cc:489:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            max_received = atoi(optarg);
data/broker-1.2.8+ds1/tests/benchmark/broker-benchmark.cc:493:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            max_in_flight = atoi(optarg);
data/broker-1.2.8+ds1/tests/benchmark/broker-benchmark.cc:509:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        port = atoi(p + 1);
data/broker-1.2.8+ds1/tests/benchmark/readerwriterqueue/benchmarks/ext/1024cores/spscqueue.h:106:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cache_line_pad_ [cache_line_size]; 
data/broker-1.2.8+ds1/tests/benchmark/readerwriterqueue/readerwriterqueue.h:663:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char cachelineFiller0[MOODYCAMEL_CACHE_LINE_SIZE - sizeof(weak_atomic<size_t>) - sizeof(size_t)];
data/broker-1.2.8+ds1/tests/benchmark/readerwriterqueue/readerwriterqueue.h:667:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char cachelineFiller1[MOODYCAMEL_CACHE_LINE_SIZE - sizeof(weak_atomic<size_t>) - sizeof(size_t)];	// next isn't very contended, but we don't want it on the same cache line as tail (which is)
data/broker-1.2.8+ds1/tests/benchmark/readerwriterqueue/readerwriterqueue.h:708:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char cachelineFiller[MOODYCAMEL_CACHE_LINE_SIZE - sizeof(weak_atomic<Block*>)];
data/broker-1.2.8+ds1/tests/cpp/radix_tree.cc:41:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char key1[300] = {
data/broker-1.2.8+ds1/tests/cpp/radix_tree.cc:63:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char key2[303] = {
data/broker-1.2.8+ds1/src/configuration.cc:76:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(level, env, sizeof(level));
data/broker-1.2.8+ds1/src/detail/core_policy.cc:81:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  return std::equal(ending.rbegin(), ending.rend(), s.rbegin());
data/broker-1.2.8+ds1/src/detail/flare.cc:79:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    auto n = ::read(fds_[0], tmp, stack_buffer_size);
data/broker-1.2.8+ds1/src/detail/flare.cc:90:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    auto n = ::read(fds_[0], &tmp, 1);
data/broker-1.2.8+ds1/tests/benchmark/broker-benchmark.cc:348:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
        usleep(1e6 / batch_rate);
data/broker-1.2.8+ds1/tests/benchmark/readerwriterqueue/benchmarks/ext/folly/ProducerConsumerQueue.h:62:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while (read != end) {
data/broker-1.2.8+ds1/tests/benchmark/readerwriterqueue/benchmarks/ext/folly/ProducerConsumerQueue.h:63:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        records_[read].~T();
data/broker-1.2.8+ds1/tests/benchmark/readerwriterqueue/benchmarks/systemtime.cpp:71:4:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
	::usleep(milliseconds * 1000);
data/broker-1.2.8+ds1/tests/benchmark/readerwriterqueue/benchmarks/systemtime.cpp:107:4:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
	::usleep(milliseconds * 1000);
data/broker-1.2.8+ds1/tests/benchmark/readerwriterqueue/tests/unittests/unittests.cpp:721:3:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		getchar();

ANALYSIS SUMMARY:

Hits = 59
Lines analyzed = 15177 in approximately 0.48 seconds (31593 lines/second)
Physical Source Lines of Code (SLOC) = 12093
Hits@level = [0]  27 [1]  10 [2]  19 [3]   5 [4]  25 [5]   0
Hits@level+ = [0+]  86 [1+]  59 [2+]  49 [3+]  30 [4+]  25 [5+]   0
Hits/KSLOC@level+ = [0+] 7.11155 [1+] 4.87886 [2+] 4.05193 [3+] 2.48077 [4+] 2.06731 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.