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/dbus-test-runner-16.10.0~bzr100+repack1/libdbustest/dbus-test.h
Examining data/dbus-test-runner-16.10.0~bzr100+repack1/libdbustest/glib-compat.h
Examining data/dbus-test-runner-16.10.0~bzr100+repack1/libdbustest/leash.c
Examining data/dbus-test-runner-16.10.0~bzr100+repack1/libdbustest/watchdog.c
Examining data/dbus-test-runner-16.10.0~bzr100+repack1/libdbustest/watchdog.h
Examining data/dbus-test-runner-16.10.0~bzr100+repack1/libdbustest/bustle.c
Examining data/dbus-test-runner-16.10.0~bzr100+repack1/libdbustest/bustle.h
Examining data/dbus-test-runner-16.10.0~bzr100+repack1/libdbustest/dbus-mock.c
Examining data/dbus-test-runner-16.10.0~bzr100+repack1/libdbustest/dbus-mock.h
Examining data/dbus-test-runner-16.10.0~bzr100+repack1/libdbustest/process.c
Examining data/dbus-test-runner-16.10.0~bzr100+repack1/libdbustest/process.h
Examining data/dbus-test-runner-16.10.0~bzr100+repack1/libdbustest/service.c
Examining data/dbus-test-runner-16.10.0~bzr100+repack1/libdbustest/service.h
Examining data/dbus-test-runner-16.10.0~bzr100+repack1/libdbustest/task.c
Examining data/dbus-test-runner-16.10.0~bzr100+repack1/libdbustest/task.h
Examining data/dbus-test-runner-16.10.0~bzr100+repack1/src/dbus-test-runner.c
Examining data/dbus-test-runner-16.10.0~bzr100+repack1/tests/test-check-name.c
Examining data/dbus-test-runner-16.10.0~bzr100+repack1/tests/test-libdbustest.c
Examining data/dbus-test-runner-16.10.0~bzr100+repack1/tests/test-libdbustest-getname.c
Examining data/dbus-test-runner-16.10.0~bzr100+repack1/tests/test-own-name.c
Examining data/dbus-test-runner-16.10.0~bzr100+repack1/tests/test-libdbustest-mock.c

FINAL RESULTS:

data/dbus-test-runner-16.10.0~bzr100+repack1/libdbustest/leash.c:81:11:  [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).
	victim = atoi(argv[1]);
data/dbus-test-runner-16.10.0~bzr100+repack1/libdbustest/dbus-mock.c:265:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	guint len = strlen(peek);
data/dbus-test-runner-16.10.0~bzr100+repack1/libdbustest/service.c:519:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen (tokens[i]) && g_dbus_is_supported_address (tokens[i], NULL)) {

ANALYSIS SUMMARY:

Hits = 3
Lines analyzed = 5257 in approximately 0.20 seconds (25844 lines/second)
Physical Source Lines of Code (SLOC) = 3632
Hits@level = [0]   0 [1]   2 [2]   1 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   3 [1+]   3 [2+]   1 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 0.825991 [1+] 0.825991 [2+] 0.27533 [3+]   0 [4+]   0 [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.