NetworkManager/src/tests
Jiří Klimeš 5252287209 tests: fix NEGATIVE_RETURNS (CWE-394) in tests
Error: NEGATIVE_RETURNS (CWE-394): [#def8]
NetworkManager-1.1.0/src/tests/test-general-with-expect.c:139: negative_return_fn: Function "fork()" returns a negative number.
NetworkManager-1.1.0/src/tests/test-general-with-expect.c:139: var_assign: Assigning: signed variable "pgid" = "fork".
NetworkManager-1.1.0/src/tests/test-general-with-expect.c:163: negative_returns: "pgid" is passed to a parameter that cannot be negative.

Error: NEGATIVE_RETURNS (CWE-394): [#def9]
NetworkManager-1.1.0/src/tests/test-general-with-expect.c:302: negative_returns: A negative constant "-1" is passed as an argument to a parameter that cannot be negative.
NetworkManager-1.1.0/src/tests/test-general-with-expect.c:81:2: neg_sink_parm_call: Passing "sig" to "nm_utils_kill_child_async", which cannot accept a negative number.
NetworkManager-1.1.0/src/NetworkManagerUtils.c:448:2: neg_sink_parm_call: Passing "sig" to "kill", which cannot accept a negative number.
2014-12-15 16:25:27 +01:00
..
config core: fix a spurious warning with non-kernel network devices 2014-11-14 15:36:31 -05:00
Makefile.am test: fix check-local in Makefile to print newline after message 2014-10-06 16:42:51 +02:00
test-dcb.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
test-general-with-expect.c tests: fix NEGATIVE_RETURNS (CWE-394) in tests 2014-12-15 16:25:27 +01:00
test-general.c tests: fix setting MAC address in tests 2014-12-11 11:33:32 +01:00
test-ip4-config.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
test-ip6-config.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
test-resolvconf-capture.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
test-secret-agent.py use /usr/bin/env instead of /bin/env 2011-03-29 01:00:47 +02:00
test-wired-defname.c all: consistently include config.h 2014-11-13 17:18:42 -05:00