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/ignition-msgs-5.1.0+dfsg/src/Factory.cc
Examining data/ignition-msgs-5.1.0+dfsg/src/Factory_TEST.cc
Examining data/ignition-msgs-5.1.0+dfsg/src/Filesystem.cc
Examining data/ignition-msgs-5.1.0+dfsg/src/Generator.cc
Examining data/ignition-msgs-5.1.0+dfsg/src/Utility.cc
Examining data/ignition-msgs-5.1.0+dfsg/src/generator_main.cc
Examining data/ignition-msgs-5.1.0+dfsg/src/ign.cc
Examining data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc
Examining data/ignition-msgs-5.1.0+dfsg/test/integration/headers.cc
Examining data/ignition-msgs-5.1.0+dfsg/test/integration/image_msg.cc
Examining data/ignition-msgs-5.1.0+dfsg/tools/ign_TEST.cc

FINAL RESULTS:

data/ignition-msgs-5.1.0+dfsg/tools/ign_TEST.cc:24:13:  [4] (shell) popen:
  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.
#    define popen _popen
data/ignition-msgs-5.1.0+dfsg/tools/ign_TEST.cc:34:16:  [4] (shell) popen:
  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.
  FILE *pipe = popen(_cmd.c_str(), "r");
data/ignition-msgs-5.1.0+dfsg/src/Factory.cc:84:37:  [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.
    const char *ignDescPaths = std::getenv("IGN_DESCRIPTOR_PATH");
data/ignition-msgs-5.1.0+dfsg/tools/ign_TEST.cc:105:22:  [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 cvalue = std::getenv("LD_LIBRARY_PATH");
data/ignition-msgs-5.1.0+dfsg/tools/ign_TEST.cc:39: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 buffer[128];
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:68:21:  [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.
  EXPECT_TRUE(math::equal(msg.x(), -0.65328148243818818));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:69:21:  [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.
  EXPECT_TRUE(math::equal(msg.y(), 0.27059805007309856));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:70:21:  [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.
  EXPECT_TRUE(math::equal(msg.z(), 0.65328148243818829));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:71:21:  [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.
  EXPECT_TRUE(math::equal(msg.w(), 0.27059805007309851));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:82:21:  [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.
  EXPECT_TRUE(math::equal(v.X(), -0.65328148243818818));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:83:21:  [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.
  EXPECT_TRUE(math::equal(v.Y(), 0.27059805007309856));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:84:21:  [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.
  EXPECT_TRUE(math::equal(v.Z(), 0.65328148243818829));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:85:21:  [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.
  EXPECT_TRUE(math::equal(v.W(), 0.27059805007309851));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:99:21:  [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.
  EXPECT_TRUE(math::equal(msg.orientation().x(), -0.65328148243818818));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:100:21:  [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.
  EXPECT_TRUE(math::equal(msg.orientation().y(), 0.27059805007309856));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:101:21:  [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.
  EXPECT_TRUE(math::equal(msg.orientation().z(), 0.65328148243818829));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:102:21:  [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.
  EXPECT_TRUE(math::equal(msg.orientation().w(), 0.27059805007309851));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:116:21:  [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.
  EXPECT_TRUE(math::equal(v.Rot().X(), -0.65328148243818818));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:117:21:  [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.
  EXPECT_TRUE(math::equal(v.Rot().Y(), 0.27059805007309856));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:118:21:  [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.
  EXPECT_TRUE(math::equal(v.Rot().Z(), 0.65328148243818829));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:119:21:  [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.
  EXPECT_TRUE(math::equal(v.Rot().W(), 0.27059805007309851));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:175:21:  [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.
  EXPECT_TRUE(math::equal(1.0, v.Offset()));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:343:21:  [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.
  EXPECT_TRUE(math::equal(msg.x(), -0.65328148243818818));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:344:21:  [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.
  EXPECT_TRUE(math::equal(msg.y(), 0.27059805007309856));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:345:21:  [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.
  EXPECT_TRUE(math::equal(msg.z(), 0.65328148243818829));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:346:21:  [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.
  EXPECT_TRUE(math::equal(msg.w(), 0.27059805007309851));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:360:21:  [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.
  EXPECT_TRUE(math::equal(msg.orientation().x(), -0.65328148243818818));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:361:21:  [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.
  EXPECT_TRUE(math::equal(msg.orientation().y(), 0.27059805007309856));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:362:21:  [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.
  EXPECT_TRUE(math::equal(msg.orientation().z(), 0.65328148243818829));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:363:21:  [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.
  EXPECT_TRUE(math::equal(msg.orientation().w(), 0.27059805007309851));
data/ignition-msgs-5.1.0+dfsg/src/Utility_TEST.cc:392:21:  [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.
  EXPECT_TRUE(math::equal(1.0, msg.d()));

ANALYSIS SUMMARY:

Hits = 31
Lines analyzed = 3062 in approximately 0.19 seconds (16169 lines/second)
Physical Source Lines of Code (SLOC) = 2189
Hits@level = [0]   0 [1]  26 [2]   1 [3]   2 [4]   2 [5]   0
Hits@level+ = [0+]  31 [1+]  31 [2+]   5 [3+]   4 [4+]   2 [5+]   0
Hits/KSLOC@level+ = [0+] 14.1617 [1+] 14.1617 [2+] 2.28415 [3+] 1.82732 [4+] 0.913659 [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.