2025-07-14 22:29 ftp://ftp.de.debian.org/debian/pool/main/m/monitoring-plugins/monitoring-plugins_2.4.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-63-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: a2600d0 (2025-07-14 12:39:20 +0200) count: 1173 1144 elapsed-time: 12.0 11.9 head-timing-info: old-timing-info: head results: monitoring-plugins-2.4.0/config_test/child_test.c:17:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/af_alg.h:99:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAFNOSUPPORT [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/af_alg.h:106:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAFNOSUPPORT [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/config_test/child_test.c:22:3: warning: Return value of function pipe() is not used. [ignoredReturnValue] monitoring-plugins-2.4.0/config_test/child_test.c:35:13: warning: Return value of function dup() is not used. [ignoredReturnValue] monitoring-plugins-2.4.0/config_test/child_test.c:54:13: warning: Return value of function dup() is not used. [ignoredReturnValue] monitoring-plugins-2.4.0/gl/af_alg.h:97:21: style: Parameter 'resblock' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/gl/af_alg.h:103:21: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/gl/af_alg.h:104:21: style: Parameter 'resblock' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/gl/vasnprintf.h:61:15: error: There is an unknown macro here somewhere. Configuration is required. If asnprintf is a macro then please configure it. [unknownMacro] monitoring-plugins-2.4.0/gl/xalloc.h:29:0: error: #error "Please include config.h first." [preprocessorErrorDirective] monitoring-plugins-2.4.0/gl/xalloc.h:29:3: error: #error "Please include config.h first." [preprocessorErrorDirective] monitoring-plugins-2.4.0/gl/btowc.c:29:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/basename-lgpl.c:59:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] monitoring-plugins-2.4.0/gl/calloc.c:41:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/cloexec.c:62:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/cloexec.c:82:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_DUPFD_CLOEXEC [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/dirname-lgpl.c:38:35: style: Condition 'prefix_length!=0' is always false [knownConditionTrueFalse] monitoring-plugins-2.4.0/gl/dirname-lgpl.c:34:26: note: Assignment 'prefix_length=((void)(file),0)', assigned value is 0 monitoring-plugins-2.4.0/gl/dirname-lgpl.c:38:35: note: Condition 'prefix_length!=0' is always false monitoring-plugins-2.4.0/gl/dup2.c:182:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/error.c:142:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] monitoring-plugins-2.4.0/gl/error.c:142:5: error: #error Please port fcntl to your platform [preprocessorErrorDirective] monitoring-plugins-2.4.0/gl/fcntl.c:437:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/fcntl.c:492:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/fflush.c:189:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/fflush.c:97:53: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/gl/fopen.c:80:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/fpurge.c:146:0: error: #error "Please port gnulib fpurge.c to your platform! Look at the definitions of fflush, setvbuf and ungetc on your system, then report this to bug-gnulib." [preprocessorErrorDirective] monitoring-plugins-2.4.0/gl/fpurge.c:146:4: error: #error "Please port gnulib fpurge.c to your platform! Look at the definitions of fflush, setvbuf and ungetc on your system, then report this to bug-gnulib." [preprocessorErrorDirective] monitoring-plugins-2.4.0/gl/freading.c:72:0: error: #error "Please port gnulib freading.c to your platform!" [preprocessorErrorDirective] monitoring-plugins-2.4.0/gl/freading.c:72:4: error: #error "Please port gnulib freading.c to your platform!" [preprocessorErrorDirective] monitoring-plugins-2.4.0/gl/free.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/fseeko.c:111:0: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." [preprocessorErrorDirective] monitoring-plugins-2.4.0/gl/stat-time.h:30:0: error: #error "Please include config.h first." [preprocessorErrorDirective] monitoring-plugins-2.4.0/gl/fseeko.c:111:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." [preprocessorErrorDirective] monitoring-plugins-2.4.0/gl/stat-time.h:30:3: error: #error "Please include config.h first." [preprocessorErrorDirective] monitoring-plugins-2.4.0/gl/fsusage.c:112:68: style: Parameter 'fsp' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/gl/ftell.c:34:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/gettext.h:247:16: error: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. [returnDanglingLifetime] monitoring-plugins-2.4.0/gl/gettext.h:239:15: note: Array decayed to pointer here. monitoring-plugins-2.4.0/gl/gettext.h:226:8: note: Variable created here. monitoring-plugins-2.4.0/gl/gettext.h:247:16: note: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. monitoring-plugins-2.4.0/gl/getaddrinfo.c:216:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AI_CANONNAME [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/getaddrinfo.c:429:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_NUMERICHOST [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/getdelim.c:74:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/getaddrinfo.c:248:14: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] monitoring-plugins-2.4.0/gl/getaddrinfo.c:265:8: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] monitoring-plugins-2.4.0/gl/getdtablesize.c:114:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/getaddrinfo.c:195:19: style: Variable 'he' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/gl/getaddrinfo.c:242:23: style: Variable 'se' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/gl/getaddrinfo.c:417:29: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/gl/getaddrinfo.c:287:24: error: Uninitialized variable: size [uninitvar] monitoring-plugins-2.4.0/gl/getaddrinfo.c:354:7: error: Uninitialized variable: tmp [uninitvar] monitoring-plugins-2.4.0/gl/getloadavg.c:939:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/getloadavg.c:407:20: style: Parameter 'loadavg' can be declared as const array [constParameter] monitoring-plugins-2.4.0/gl/getopt1.c:36:21: style:inconclusive: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:107:32: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. monitoring-plugins-2.4.0/gl/getopt1.c:36:21: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. monitoring-plugins-2.4.0/gl/getopt1.c:36:34: style:inconclusive: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:107:48: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. monitoring-plugins-2.4.0/gl/getopt1.c:36:34: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. monitoring-plugins-2.4.0/gl/getopt1.c:36:52: style:inconclusive: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:108:19: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. monitoring-plugins-2.4.0/gl/getopt1.c:36:52: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. monitoring-plugins-2.4.0/gl/getopt1.c:37:24: style:inconclusive: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:109:28: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. monitoring-plugins-2.4.0/gl/getopt1.c:37:24: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. monitoring-plugins-2.4.0/gl/getopt1.c:37:43: style:inconclusive: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:109:45: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. monitoring-plugins-2.4.0/gl/getopt1.c:37:43: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. monitoring-plugins-2.4.0/gl/getopt1.c:38:24: style:inconclusive: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:110:28: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. monitoring-plugins-2.4.0/gl/getopt1.c:38:24: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. monitoring-plugins-2.4.0/gl/getopt1.c:59:26: style:inconclusive: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:112:37: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. monitoring-plugins-2.4.0/gl/getopt1.c:59:26: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. monitoring-plugins-2.4.0/gl/getopt1.c:59:39: style:inconclusive: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:112:53: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. monitoring-plugins-2.4.0/gl/getopt1.c:59:39: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. monitoring-plugins-2.4.0/gl/getopt1.c:59:57: style:inconclusive: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:113:17: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. monitoring-plugins-2.4.0/gl/getopt1.c:59:57: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. monitoring-plugins-2.4.0/gl/getopt1.c:60:29: style:inconclusive: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:114:26: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. monitoring-plugins-2.4.0/gl/getopt1.c:60:29: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. monitoring-plugins-2.4.0/gl/getopt1.c:60:48: style:inconclusive: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:115:10: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. monitoring-plugins-2.4.0/gl/getopt1.c:60:48: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. monitoring-plugins-2.4.0/gl/getopt1.c:61:29: style:inconclusive: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:116:26: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. monitoring-plugins-2.4.0/gl/getopt1.c:61:29: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. monitoring-plugins-2.4.0/gl/getprogname.c:291:0: error: #error "getprogname module not ported to this OS" [preprocessorErrorDirective] monitoring-plugins-2.4.0/gl/getprogname.c:291:4: error: #error "getprogname module not ported to this OS" [preprocessorErrorDirective] monitoring-plugins-2.4.0/gl/hard-locale.c:29:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETLOCALE_NULL_MAX [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/ialloc.h:28:0: error: #error "Please include config.h first." [preprocessorErrorDirective] monitoring-plugins-2.4.0/gl/ialloc.h:28:3: error: #error "Please include config.h first." [preprocessorErrorDirective] monitoring-plugins-2.4.0/gl/idpriv-droptemp.c:118:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/idpriv-droptemp.c:205:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/getopt.c:278:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/getopt.c:621:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/inet_ntop.c:107:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/inet_ntop.c:136:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/inet_ntop.c:92:27: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/gl/localcharset.c:1088:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] monitoring-plugins-2.4.0/gl/localcharset.c:1079:24: note: Assignment 'locale=NULL', assigned value is 0 monitoring-plugins-2.4.0/gl/localcharset.c:1088:14: note: Condition 'locale==NULL' is always true monitoring-plugins-2.4.0/gl/localcharset.c:579:14: style: struct member 'table_entry::locale' is never used. [unusedStructMember] monitoring-plugins-2.4.0/gl/localcharset.c:580:14: style: struct member 'table_entry::canonical' is never used. [unusedStructMember] monitoring-plugins-2.4.0/gl/localcharset.c:1097:22: style: Variable 'locale' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/gl/lseek.c:80:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/malloc.c:37:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/malloc/dynarray-skeleton.c:95:0: error: #error "DYNARRAY_STRUCT must be defined" [preprocessorErrorDirective] monitoring-plugins-2.4.0/gl/malloc/dynarray-skeleton.c:95:3: error: #error "DYNARRAY_STRUCT must be defined" [preprocessorErrorDirective] monitoring-plugins-2.4.0/gl/malloc/dynarray_emplace_enlarge.c:53:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/malloc/dynarray_emplace_enlarge.c:31:40: style: Parameter 'scratch' can be declared as pointer to const. However it seems that '__libc_dynarray_emplace_enlarge' is a callback function, if 'scratch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] monitoring-plugins-2.4.0/gl/malloc/dynarray_emplace_enlarge.c:77:18: note: You might need to cast the function pointer here monitoring-plugins-2.4.0/gl/malloc/dynarray_emplace_enlarge.c:31:40: note: Parameter 'scratch' can be declared as pointer to const monitoring-plugins-2.4.0/gl/malloc/dynarray_finalize.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable array [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/malloc/dynarray_finalize.c:29:33: style: Parameter 'scratch' can be declared as pointer to const. However it seems that '__libc_dynarray_finalize' is a callback function, if 'scratch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] monitoring-plugins-2.4.0/gl/malloc/dynarray_finalize.c:66:18: note: You might need to cast the function pointer here monitoring-plugins-2.4.0/gl/malloc/dynarray_finalize.c:29:33: note: Parameter 'scratch' can be declared as pointer to const monitoring-plugins-2.4.0/gl/malloc/dynarray_resize.c:48:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/malloc/dynarray_resize.c:31:31: style: Parameter 'scratch' can be declared as pointer to const. However it seems that '__libc_dynarray_resize' is a callback function, if 'scratch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] monitoring-plugins-2.4.0/gl/malloc/dynarray_resize.c:68:18: note: You might need to cast the function pointer here monitoring-plugins-2.4.0/gl/malloc/dynarray_resize.c:31:31: note: Parameter 'scratch' can be declared as pointer to const monitoring-plugins-2.4.0/gl/mbtowc-impl.h:37:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/getopt.c:471:25: style:inconclusive: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:101:36: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. monitoring-plugins-2.4.0/gl/getopt.c:471:25: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. monitoring-plugins-2.4.0/gl/getopt.c:471:38: style:inconclusive: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:101:52: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. monitoring-plugins-2.4.0/gl/getopt.c:471:38: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. monitoring-plugins-2.4.0/gl/getopt.c:471:56: style:inconclusive: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:102:23: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. monitoring-plugins-2.4.0/gl/getopt.c:471:56: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. monitoring-plugins-2.4.0/gl/getopt.c:472:28: style:inconclusive: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:103:32: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. monitoring-plugins-2.4.0/gl/getopt.c:472:28: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. monitoring-plugins-2.4.0/gl/getopt.c:472:43: style:inconclusive: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:103:49: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. monitoring-plugins-2.4.0/gl/getopt.c:472:43: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. monitoring-plugins-2.4.0/gl/getopt.c:473:11: style:inconclusive: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:104:15: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. monitoring-plugins-2.4.0/gl/getopt.c:473:11: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. monitoring-plugins-2.4.0/gl/getopt.c:473:43: style:inconclusive: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:104:49: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. monitoring-plugins-2.4.0/gl/getopt.c:473:43: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. monitoring-plugins-2.4.0/gl/getopt.c:473:50: style:inconclusive: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:105:15: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. monitoring-plugins-2.4.0/gl/getopt.c:473:50: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. monitoring-plugins-2.4.0/gl/getopt.c:703:23: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:25:34: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. monitoring-plugins-2.4.0/gl/getopt.c:703:23: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. monitoring-plugins-2.4.0/gl/getopt.c:703:36: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:25:50: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. monitoring-plugins-2.4.0/gl/getopt.c:703:36: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. monitoring-plugins-2.4.0/gl/getopt.c:703:54: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:26:21: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. monitoring-plugins-2.4.0/gl/getopt.c:703:54: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. monitoring-plugins-2.4.0/gl/getopt.c:704:26: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:27:30: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. monitoring-plugins-2.4.0/gl/getopt.c:704:26: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. monitoring-plugins-2.4.0/gl/getopt.c:704:41: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:27:47: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. monitoring-plugins-2.4.0/gl/getopt.c:704:41: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. monitoring-plugins-2.4.0/gl/getopt.c:704:54: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:28:13: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. monitoring-plugins-2.4.0/gl/getopt.c:704:54: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. monitoring-plugins-2.4.0/gl/getopt.c:705:9: style:inconclusive: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/getopt_int.h:28:30: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. monitoring-plugins-2.4.0/gl/getopt.c:705:9: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. monitoring-plugins-2.4.0/gl/mktime.c:576:1: error: There is an unknown macro here somewhere. Configuration is required. If weak_alias is a macro then please configure it. [unknownMacro] monitoring-plugins-2.4.0/gl/open.c:72:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/nl_langinfo.c:75:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETLOCALE_NULL_MAX [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/nl_langinfo.c:375:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable decimal_point [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/xsize.h:34:0: error: #error "Please include config.h first." [preprocessorErrorDirective] monitoring-plugins-2.4.0/gl/xsize.h:34:3: error: #error "Please include config.h first." [preprocessorErrorDirective] monitoring-plugins-2.4.0/gl/reallocarray.c:32:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/realloc.c:49:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/nl_langinfo.c:449:5: style: Statements following 'return' will never be executed. [unreachableCode] monitoring-plugins-2.4.0/gl/regcomp.c:125:5: error: There is an unknown macro here somewhere. Configuration is required. If gettext_noop is a macro then please configure it. [unknownMacro] monitoring-plugins-2.4.0/gl/regex_internal.c:60:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regex_internal.c:79:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_string_t [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regex_internal.c:141:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regex_internal.c:261:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regex_internal.c:337:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regex_internal.c:494:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regex_internal.c:586:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regex_internal.c:902:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTEOL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regex_internal.c:939:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regex_internal.c:952:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regex_internal.c:967:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regex_internal.c:1000:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regex_internal.c:1024:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regex_internal.c:1117:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regex_internal.c:1167:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regex_internal.c:1255:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regex_internal.c:1312:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regex_internal.c:1388:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_token_t [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regex_internal.c:1461:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regex_internal.c:1509:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regex_internal.c:1546:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regex_internal.c:1599:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regex_internal.c:1647:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:194:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:413:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regmatch_t [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:457:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:537:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:609:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOMATCH [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:909:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:1042:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:1164:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:1205:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:1315:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:1342:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:1381:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:1465:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eps_via_nodes [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:1477:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:1557:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:1605:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable non_eps_nodes [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:1668:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:1695:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodes [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:1714:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:1760:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:1798:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:1846:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:1880:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:1994:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:2076:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:2172:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodes [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:2203:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:2279:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:2371:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:2442:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable accept_mb [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:2511:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_BACK_REF [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:2620:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:2768:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_OPEN_SUBEXP [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:2815:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:2982:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:3059:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:3110:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:3156:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:3244:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SBC_MAX [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:3444:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARACTER [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:3619:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_UTF8_PERIOD [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:3918:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII_CHARS [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:3956:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:4018:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_backref_cache_entry [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:4094:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_backref_cache_entry [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:4143:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str_idx [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:4170:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:4201:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_sub_match_last_t [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regex_internal.c:1612:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/gl/regex_internal.c:1662:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/gl/regcomp.c:490:1: error: There is an unknown macro here somewhere. Configuration is required. If libc_hidden_def is a macro then please configure it. [unknownMacro] monitoring-plugins-2.4.0/gl/setenv.c:125:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/setenv.c:295:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/setenv.c:310:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/setlocale_null.c:150:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/setlocale_null.c:317:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/regexec.c:1950:27: style:inconclusive: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/regexec.c:94:15: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. monitoring-plugins-2.4.0/gl/regexec.c:1950:27: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. monitoring-plugins-2.4.0/gl/regexec.c:3425:21: style:inconclusive: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/regexec.c:163:25: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. monitoring-plugins-2.4.0/gl/regexec.c:3425:21: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. monitoring-plugins-2.4.0/gl/regexec.c:3425:43: style:inconclusive: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/regexec.c:164:22: note: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. monitoring-plugins-2.4.0/gl/regexec.c:3425:43: note: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. monitoring-plugins-2.4.0/gl/regexec.c:3613:35: style:inconclusive: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/regexec.c:156:39: note: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. monitoring-plugins-2.4.0/gl/regexec.c:3613:35: note: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. monitoring-plugins-2.4.0/gl/regexec.c:4010:37: style:inconclusive: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/regexec.c:20:58: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. monitoring-plugins-2.4.0/gl/regexec.c:4010:37: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. monitoring-plugins-2.4.0/gl/regexec.c:4073:37: style:inconclusive: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/regexec.c:23:49: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. monitoring-plugins-2.4.0/gl/regexec.c:4073:37: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. monitoring-plugins-2.4.0/gl/regexec.c:4088:42: style:inconclusive: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/gl/regexec.c:24:63: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. monitoring-plugins-2.4.0/gl/regexec.c:4088:42: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. monitoring-plugins-2.4.0/gl/regexec.c:798:20: style: Variable 'pstate' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/gl/regexec.c:1307:27: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/gl/regexec.c:1307:45: style: Parameter 'prevregs' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/gl/regexec.c:1844:38: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/gl/regexec.c:1953:34: style: Variable 'lim' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/gl/regexec.c:1988:38: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/gl/regexec.c:2084:38: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/gl/regexec.c:2536:35: style: Variable 'bkref_ent' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/gl/strerror.c:59:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/strerror.c:44:7: style: Condition 'msg' is always false [knownConditionTrueFalse] monitoring-plugins-2.4.0/gl/strerror.c:43:21: note: Assignment 'msg=NULL', assigned value is 0 monitoring-plugins-2.4.0/gl/strerror.c:44:7: note: Condition 'msg' is always false monitoring-plugins-2.4.0/gl/str-two-way.h:136:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/str-two-way.h:302:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/str-two-way.h:434:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/time_r.c:37:30: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] monitoring-plugins-2.4.0/gl/time_r.c:43:30: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] monitoring-plugins-2.4.0/gl/unsetenv.c:64:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/wcrtomb.c:35:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/wcrtomb.c:28:42: style: Parameter 'ps' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/gl/windows-mutex.c:70:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/windows-mutex.c:82:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/windows-mutex.c:91:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/windows-recmutex.c:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/windows-recmutex.c:84:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/windows-recmutex.c:108:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/windows-recmutex.c:123:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/windows-rwlock.c:56:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HANDLE [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/windows-rwlock.c:161:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/windows-rwlock.c:218:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/windows-rwlock.c:279:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/windows-rwlock.c:312:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/windows-rwlock.c:323:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/gl/windows-rwlock.c:367:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/lib/maxfd.c:25:2: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] monitoring-plugins-2.4.0/lib/extra_opts.c:29:24: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/lib/extra_opts.c:43:8: style: Variable 'argptr' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/lib/maxfd.c:5:13: style: Variable 'maxfd' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/lib/extra_opts.c:104:7: style: Variable 'ea1' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/lib/parse_ini.c:133:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/lib/parse_ini.c:178:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/lib/parse_ini.c:296:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_UNKNOWN [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/lib/parse_ini.c:397:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_UNKNOWN [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/lib/parse_ini.c:398:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/lib/parse_ini.c:398:53: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/lib/parse_ini.c:229:19: style: Condition 'add_option(f,opts)' is always false [knownConditionTrueFalse] monitoring-plugins-2.4.0/lib/parse_ini.c:229:19: note: Calling function 'add_option' returns 0 monitoring-plugins-2.4.0/lib/parse_ini.c:229:19: note: Condition 'add_option(f,opts)' is always false monitoring-plugins-2.4.0/lib/parse_ini.c:334:2: warning: If memory allocation fails, then there is a possible null pointer dereference: optnew [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/parse_ini.c:333:17: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/parse_ini.c:333:17: note: Assignment 'optnew=malloc(sizeof(struct np_arg_list))', assigned value is 0 monitoring-plugins-2.4.0/lib/parse_ini.c:334:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/parse_ini.c:337:2: warning: If memory allocation fails, then there is a possible null pointer dereference: optnew [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/parse_ini.c:333:17: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/parse_ini.c:333:17: note: Assignment 'optnew=malloc(sizeof(struct np_arg_list))', assigned value is 0 monitoring-plugins-2.4.0/lib/parse_ini.c:337:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/parse_ini.c:349:3: warning: If memory allocation fails, then there is a possible null pointer dereference: optnew [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/parse_ini.c:333:17: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/parse_ini.c:333:17: note: Assignment 'optnew=malloc(sizeof(struct np_arg_list))', assigned value is 0 monitoring-plugins-2.4.0/lib/parse_ini.c:349:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/parse_ini.c:353:2: warning: If memory allocation fails, then there is a possible null pointer dereference: optnew [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/parse_ini.c:333:17: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/parse_ini.c:333:17: note: Assignment 'optnew=malloc(sizeof(struct np_arg_list))', assigned value is 0 monitoring-plugins-2.4.0/lib/parse_ini.c:353:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/parse_ini.c:196:7: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] monitoring-plugins-2.4.0/lib/parse_ini.c:208:6: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] monitoring-plugins-2.4.0/lib/parse_ini.c:283:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] monitoring-plugins-2.4.0/lib/parse_ini.c:300:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] monitoring-plugins-2.4.0/lib/parse_ini.c:303:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] monitoring-plugins-2.4.0/lib/parse_ini.c:307:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] monitoring-plugins-2.4.0/lib/parse_ini.c:253:25: style: Variable 'lineend' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/lib/parse_ini.c:389:8: style: Variable 'config_path' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/lib/parse_ini.c:390:8: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:57:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable output [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:33:25: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assignment 'command_line=malloc(sizeof(char*)*1024)', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_cmd.c:69:25: note: Calling function 'get_command', 1st argument 'command_line' value is 0 monitoring-plugins-2.4.0/lib/tests/test_cmd.c:33:25: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_cmd.c:34:9: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assignment 'command_line=malloc(sizeof(char*)*1024)', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_cmd.c:69:25: note: Calling function 'get_command', 1st argument 'command_line' value is 0 monitoring-plugins-2.4.0/lib/tests/test_cmd.c:34:9: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_cmd.c:35:33: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assignment 'command_line=malloc(sizeof(char*)*1024)', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_cmd.c:69:25: note: Calling function 'get_command', 1st argument 'command_line' value is 0 monitoring-plugins-2.4.0/lib/tests/test_cmd.c:35:33: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_cmd.c:63:2: warning: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assignment 'command_line=malloc(sizeof(char*)*1024)', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_cmd.c:63:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_cmd.c:64:2: warning: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assignment 'command_line=malloc(sizeof(char*)*1024)', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_cmd.c:64:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_cmd.c:65:2: warning: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assignment 'command_line=malloc(sizeof(char*)*1024)', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_cmd.c:65:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_cmd.c:66:2: warning: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assignment 'command_line=malloc(sizeof(char*)*1024)', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_cmd.c:66:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_cmd.c:67:2: warning: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assignment 'command_line=malloc(sizeof(char*)*1024)', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_cmd.c:67:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_cmd.c:108:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assignment 'command_line=malloc(sizeof(char*)*1024)', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_cmd.c:108:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_cmd.c:109:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assignment 'command_line=malloc(sizeof(char*)*1024)', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_cmd.c:109:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_cmd.c:110:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assignment 'command_line=malloc(sizeof(char*)*1024)', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_cmd.c:110:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_cmd.c:111:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assignment 'command_line=malloc(sizeof(char*)*1024)', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_cmd.c:111:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_cmd.c:112:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assignment 'command_line=malloc(sizeof(char*)*1024)', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_cmd.c:112:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_cmd.c:151:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assignment 'command_line=malloc(sizeof(char*)*1024)', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_cmd.c:151:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_cmd.c:152:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assignment 'command_line=malloc(sizeof(char*)*1024)', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_cmd.c:152:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_cmd.c:153:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_cmd.c:45:31: note: Assignment 'command_line=malloc(sizeof(char*)*1024)', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_cmd.c:153:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_cmd.c:179:9: warning: If memory allocation fails, then there is a possible null pointer dereference: command [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:178:26: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_cmd.c:178:12: note: Assignment 'command=(char*)malloc(1024)', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_cmd.c:179:9: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_cmd.c:195:9: warning: If memory allocation fails, then there is a possible null pointer dereference: command [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:194:26: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_cmd.c:194:12: note: Assignment 'command=(char*)malloc(1024)', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_cmd.c:195:9: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_cmd.c:210:10: warning: If memory allocation fails, then there is a possible null pointer dereference: command [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:209:26: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_cmd.c:209:12: note: Assignment 'command=(char*)malloc(1024)', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_cmd.c:210:10: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_cmd.c:222:9: warning: If memory allocation fails, then there is a possible null pointer dereference: command [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:221:26: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_cmd.c:221:12: note: Assignment 'command=(char*)malloc(1024)', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_cmd.c:222:9: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_cmd.c:61:13: style: The comparison 'result == 65530' is always true. [knownConditionTrueFalse] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:50:15: note: 'result' is assigned value '65530' here. monitoring-plugins-2.4.0/lib/tests/test_cmd.c:61:13: note: The comparison 'result == 65530' is always true. monitoring-plugins-2.4.0/lib/tests/test_cmd.c:196:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:192:9: note: result is assigned monitoring-plugins-2.4.0/lib/tests/test_cmd.c:196:9: note: result is overwritten monitoring-plugins-2.4.0/lib/tests/test_cmd.c:211:10: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:207:9: note: result is assigned monitoring-plugins-2.4.0/lib/tests/test_cmd.c:211:10: note: result is overwritten monitoring-plugins-2.4.0/lib/tests/test_cmd.c:223:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:219:9: note: result is assigned monitoring-plugins-2.4.0/lib/tests/test_cmd.c:223:9: note: result is overwritten monitoring-plugins-2.4.0/lib/tests/test_cmd.c:47:8: style: Unused variable: perl [unusedVariable] monitoring-plugins-2.4.0/lib/tests/test_cmd.c:49:6: style: Unused variable: c [unusedVariable] monitoring-plugins-2.4.0/lib/tests/test_base64.c:250:8: style: Variable 'b64_known' can be declared as const array [constVariable] monitoring-plugins-2.4.0/lib/tests/test_disk.c:42:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/lib/tests/test_opts1.c:88:6: style: Unused variable: i [unusedVariable] monitoring-plugins-2.4.0/lib/tests/test_opts2.c:70:6: style: Unused variable: i [unusedVariable] monitoring-plugins-2.4.0/lib/tests/test_opts3.c:27:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] monitoring-plugins-2.4.0/lib/tests/test_opts3.c:27:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/lib/tests/test_disk.c:68:2: warning: If memory allocation fails, then there is a possible null pointer dereference: me [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_disk.c:67:36: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_disk.c:67:7: note: Assignment 'me=(struct mount_entry*)malloc(sizeof(*me))', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_disk.c:68:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_disk.c:69:2: warning: If memory allocation fails, then there is a possible null pointer dereference: me [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_disk.c:67:36: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_disk.c:67:7: note: Assignment 'me=(struct mount_entry*)malloc(sizeof(*me))', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_disk.c:69:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_disk.c:74:2: warning: If memory allocation fails, then there is a possible null pointer dereference: me [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_disk.c:73:36: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_disk.c:73:7: note: Assignment 'me=(struct mount_entry*)malloc(sizeof(*me))', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_disk.c:74:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_disk.c:75:2: warning: If memory allocation fails, then there is a possible null pointer dereference: me [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_disk.c:73:36: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_disk.c:73:7: note: Assignment 'me=(struct mount_entry*)malloc(sizeof(*me))', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_disk.c:75:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_disk.c:80:2: warning: If memory allocation fails, then there is a possible null pointer dereference: me [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_disk.c:79:36: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_disk.c:79:7: note: Assignment 'me=(struct mount_entry*)malloc(sizeof(*me))', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_disk.c:80:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_disk.c:81:2: warning: If memory allocation fails, then there is a possible null pointer dereference: me [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_disk.c:79:36: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_disk.c:79:7: note: Assignment 'me=(struct mount_entry*)malloc(sizeof(*me))', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_disk.c:81:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_tcp.c:37:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_MATCH_EXACT [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/lib/tests/test_disk.c:192:9: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] monitoring-plugins-2.4.0/lib/tests/test_disk.c:191:4: note: p is assigned monitoring-plugins-2.4.0/lib/tests/test_disk.c:192:9: note: p is overwritten monitoring-plugins-2.4.0/lib/tests/test_disk.c:34:20: style: Variable 'dummy_mountlist' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/lib/tests/test_disk.c:83:8: style: Variable 'mtail' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/lib/tests/test_disk.c:195:8: style: Variable 'last' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/lib/tests/test_disk.c:34:20: style: Variable 'dummy_mountlist' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/lib/tests/test_disk.c:35:20: style: Unused variable: temp_name [unusedVariable] monitoring-plugins-2.4.0/lib/tests/test_tcp.c:33:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server_expect [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_tcp.c:31:24: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_tcp.c:31:24: note: Assignment 'server_expect=malloc(sizeof(char*)*server_expect_count)', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_tcp.c:33:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_tcp.c:34:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server_expect [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_tcp.c:31:24: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_tcp.c:31:24: note: Assignment 'server_expect=malloc(sizeof(char*)*server_expect_count)', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_tcp.c:34:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_tcp.c:35:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server_expect [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_tcp.c:31:24: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_tcp.c:31:24: note: Assignment 'server_expect=malloc(sizeof(char*)*server_expect_count)', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_tcp.c:35:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_utils.c:45:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable this_monitoring_plugin [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/lib/utils_base.c:50:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/lib/utils_base.c:172:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/lib/utils_base.c:445:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/lib/utils_base.c:477:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_STATE_DIR_PREFIX [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/lib/utils_base.c:498:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/lib/utils_base.c:555:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/lib/utils_base.c:590:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/lib/utils_base.c:666:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/lib/tests/test_utils.c:479:32: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_ptr [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/tests/test_utils.c:475:28: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/tests/test_utils.c:475:28: note: Assignment 'statelower=strdup(states[i])', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_utils.c:479:19: note: Assignment 'temp_ptr=statelower', assigned value is 0 monitoring-plugins-2.4.0/lib/tests/test_utils.c:479:32: note: Null pointer dereference monitoring-plugins-2.4.0/lib/tests/test_utils.c:394:18: style: Variable 'temp_state_data' is reassigned a value before the old one has been used. [redundantAssignment] monitoring-plugins-2.4.0/lib/tests/test_utils.c:388:18: note: temp_state_data is assigned monitoring-plugins-2.4.0/lib/tests/test_utils.c:394:18: note: temp_state_data is overwritten monitoring-plugins-2.4.0/lib/tests/test_utils.c:38:8: style: Variable 'temp_string' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/lib/tests/test_utils.c:40:14: style: Variable 'temp_state_data' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/lib/tests/test_utils.c:445:18: style: Variable 'temp_state_data' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/lib/utils_base.c:138:12: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] monitoring-plugins-2.4.0/lib/utils_base.c:334:16: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] monitoring-plugins-2.4.0/lib/utils_base.c:350:14: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] monitoring-plugins-2.4.0/lib/utils_base.c:126:2: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_range [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_base.c:123:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_base.c:123:15: note: Assignment 'temp_range=(struct range*)calloc(1,sizeof(struct range))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_base.c:126:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_base.c:127:2: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_range [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_base.c:123:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_base.c:123:15: note: Assignment 'temp_range=(struct range*)calloc(1,sizeof(struct range))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_base.c:127:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:60:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/lib/utils_base.c:128:2: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_range [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_base.c:123:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_base.c:123:15: note: Assignment 'temp_range=(struct range*)calloc(1,sizeof(struct range))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_base.c:128:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_base.c:129:2: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_range [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_base.c:123:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_base.c:123:15: note: Assignment 'temp_range=(struct range*)calloc(1,sizeof(struct range))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_base.c:129:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_base.c:130:2: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_range [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_base.c:123:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_base.c:123:15: note: Assignment 'temp_range=(struct range*)calloc(1,sizeof(struct range))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_base.c:130:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_base.c:131:2: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_range [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_base.c:123:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_base.c:123:15: note: Assignment 'temp_range=(struct range*)calloc(1,sizeof(struct range))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_base.c:131:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_base.c:155:6: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_range [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_base.c:123:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_base.c:123:15: note: Assignment 'temp_range=(struct range*)calloc(1,sizeof(struct range))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_base.c:155:6: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_base.c:156:3: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_range [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_base.c:123:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_base.c:123:15: note: Assignment 'temp_range=(struct range*)calloc(1,sizeof(struct range))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_base.c:156:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_base.c:157:3: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_range [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_base.c:123:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_base.c:123:15: note: Assignment 'temp_range=(struct range*)calloc(1,sizeof(struct range))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_base.c:157:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_base.c:157:24: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_range [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_base.c:123:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_base.c:123:15: note: Assignment 'temp_range=(struct range*)calloc(1,sizeof(struct range))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_base.c:157:24: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_base.c:281:12: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_base.c:280:15: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_base.c:280:15: note: Assignment 'data=strdup(string)', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_base.c:281:12: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_base.c:282:7: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_base.c:280:15: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_base.c:280:15: note: Assignment 'data=strdup(string)', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_base.c:282:7: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_base.c:303:2: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_base.c:280:15: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_base.c:280:15: note: Assignment 'data=strdup(string)', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_base.c:303:2: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_base.c:338:14: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_base.c:337:28: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_base.c:337:14: note: Assignment 'value=(char*)calloc(1,tmp-varlist+1)', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_base.c:338:14: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_base.c:339:6: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_base.c:337:28: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_base.c:337:14: note: Assignment 'value=(char*)calloc(1,tmp-varlist+1)', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_base.c:339:6: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_base.c:344:14: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_base.c:343:28: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_base.c:343:14: note: Assignment 'value=(char*)calloc(1,strlen(varlist)+1)', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_base.c:344:14: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_base.c:345:6: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_base.c:343:28: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_base.c:343:14: note: Assignment 'value=(char*)calloc(1,strlen(varlist)+1)', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_base.c:345:6: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_base.c:45:21: style: Parameter 'plugin_name' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/lib/utils_base.c:121:8: style: Variable 'end_str' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/lib/utils_base.c:207:63: style: Parameter 'my_threshold' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/lib/utils_base.c:227:39: style: Parameter 'my_range' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/lib/utils_base.c:386:31: style: Parameter 'state_text' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/lib/utils_base.c:485:28: style: Parameter 'keyname' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/lib/utils_base.c:489:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/lib/utils_base.c:648:52: style: Parameter 'data_string' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/lib/utils_cmd.c:164:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_UNKNOWN [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/lib/utils_cmd.c:195:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/lib/utils_cmd.c:223:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/lib/utils_cmd.c:377:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/lib/utils_disk.c:39:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_entry [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:38:43: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:38:15: note: Assignment 'new_entry=(struct name_list*)malloc(sizeof(*new_entry))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:39:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:40:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_entry [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:38:43: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:38:15: note: Assignment 'new_entry=(struct name_list*)malloc(sizeof(*new_entry))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:40:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:87:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:87:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:88:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:88:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:89:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:89:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:90:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:90:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:91:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:91:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:92:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:92:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:93:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:93:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:94:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:94:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:95:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:95:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:96:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:96:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:97:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:97:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:98:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:98:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:99:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:99:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:100:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:100:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:101:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:101:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:102:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:102:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:103:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:103:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:104:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:104:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:105:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:105:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:106:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:106:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:107:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:107:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:108:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:108:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:109:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:109:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:110:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:110:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:111:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:111:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:112:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:112:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:113:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:113:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:114:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:114:3: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:116:10: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_disk.c:86:47: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_disk.c:86:14: note: Assignment 'new_path=(struct parameter_list*)malloc(sizeof(*new_path))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_disk.c:116:10: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_disk.c:264:54: style: Parameter 'me' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/lib/utils_disk.c:264:67: style: Parameter 're' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/lib/utils_tcp.c:39:57: style:inconclusive: Function 'np_expect_match' argument 3 names different: declaration 'server_expect_count' definition 'expect_count'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/lib/utils_tcp.h:21:42: note: Function 'np_expect_match' argument 3 names different: declaration 'server_expect_count' definition 'expect_count'. monitoring-plugins-2.4.0/lib/utils_tcp.c:39:57: note: Function 'np_expect_match' argument 3 names different: declaration 'server_expect_count' definition 'expect_count'. monitoring-plugins-2.4.0/lib/utils_cmd.c:259:13: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] monitoring-plugins-2.4.0/lib/utils_cmd.c:301:32: error: Memory leak: cmd [memleak] monitoring-plugins-2.4.0/lib/utils_cmd.c:305:3: error: Memory leak: cmd [memleak] monitoring-plugins-2.4.0/lib/utils_cmd.c:314:3: error: Memory leak: cmd [memleak] monitoring-plugins-2.4.0/lib/utils_cmd.c:235:11: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_cmd.c:234:16: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_cmd.c:234:16: note: Assignment 'buf=malloc(op->buflen)', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_cmd.c:235:11: note: Null pointer dereference monitoring-plugins-2.4.0/lib/utils_cmd.c:126:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/lib/utils_cmd.c:206:13: style: Variable 'len' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:256:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_UNKNOWN [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:406:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_UNKNOWN [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:433:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_UNKNOWN [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:510:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:696:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:724:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:1010:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_OK [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:1081:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:1174:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:1323:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_INET [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:1368:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/pst3.c:97:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:290:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:360:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMP_ECHO [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:427:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable address_family [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:454:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:946:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable address_family [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1111:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1235:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1473:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1659:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable address_family [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1750:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable address_family [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1824:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable address_family [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1851:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:2038:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COPYRIGHT [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/pst3.c:226:9: error: Common realloc mistake: 'args' nulled but not freed upon failure [memleakOnRealloc] monitoring-plugins-2.4.0/plugins-root/pst3.c:169:22: warning: If memory allocation fails, then there is a possible null pointer dereference: procname [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins-root/pst3.c:168:22: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins-root/pst3.c:168:22: note: Assignment 'procname=strdup(psinfo.pr_psargs)', assigned value is 0 monitoring-plugins-2.4.0/plugins-root/pst3.c:169:22: note: Null pointer dereference monitoring-plugins-2.4.0/plugins-root/pst3.c:171:23: warning: If memory allocation fails, then there is a possible null pointer dereference: procname [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins-root/pst3.c:168:22: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins-root/pst3.c:168:22: note: Assignment 'procname=strdup(psinfo.pr_psargs)', assigned value is 0 monitoring-plugins-2.4.0/plugins-root/pst3.c:171:23: note: Null pointer dereference monitoring-plugins-2.4.0/plugins-root/pst3.c:219:14: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins-root/pst3.c:217:16: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins-root/pst3.c:217:16: note: Assignment 'args=malloc(argslen+1)', assigned value is 0 monitoring-plugins-2.4.0/plugins-root/pst3.c:219:14: note: Null pointer dereference monitoring-plugins-2.4.0/plugins-root/pst3.c:220:38: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: args_vecs [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins-root/pst3.c:197:23: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins-root/pst3.c:197:23: note: Assignment 'args_vecs=malloc(args_count*sizeof(unsigned long))', assigned value is 0 monitoring-plugins-2.4.0/plugins-root/pst3.c:220:38: note: Null pointer dereference monitoring-plugins-2.4.0/plugins-root/pst3.c:77:18: style: Variable 'proc' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins-root/pst3.c:123:11: style: Unused variable: argoff [unusedVariable] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:450:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:513:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:560:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:561:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:562:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:687:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:723:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:728:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:835:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:409:2: style:inconclusive: Statements following noreturn function 'exit()' will never be executed. [unreachableCode] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:436:2: style:inconclusive: Statements following noreturn function 'exit()' will never be executed. [unreachableCode] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:416:35: style: Parameter 'interface_name' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:643:28: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:643:83: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:945:27: style: Variable 'undesired_offer' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:1079:23: style: Variable 'long_options' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:141:7: style: struct member 'dhcp_packet_struct::sname' is never used. [unusedStructMember] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:142:7: style: struct member 'dhcp_packet_struct::file' is never used. [unusedStructMember] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:542:12: style: Variable 'result' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins-root/check_dhcp.c:1094:7: style: Variable 'c' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_apt.c:107:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeout_alarm_handler [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_apt.c:162:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_apt.c:267:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_apt.c:400:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_apt.c:488:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_by_ssh.c:76:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSH_COMMAND [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_by_ssh.c:185:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_by_ssh.c:408:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_by_ssh.c:264:17: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] monitoring-plugins-2.4.0/plugins/check_by_ssh.c:263:4: error: Common realloc mistake: 'service' nulled but not freed upon failure [memleakOnRealloc] monitoring-plugins-2.4.0/plugins/check_by_ssh.c:267:5: error: Common realloc mistake: 'service' nulled but not freed upon failure [memleakOnRealloc] monitoring-plugins-2.4.0/plugins/check_by_ssh.c:381:7: error: Common realloc mistake: 'commargv' nulled but not freed upon failure [memleakOnRealloc] monitoring-plugins-2.4.0/plugins/check_by_ssh.c:83:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_by_ssh.c:68:8: style: Variable 'status_text' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_by_ssh.c:184:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_apt.c:415:10: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] monitoring-plugins-2.4.0/plugins/check_apt.c:103:36: style: Condition 'process_arguments(argc,argv)==ERROR' is always false [knownConditionTrueFalse] monitoring-plugins-2.4.0/plugins/check_apt.c:103:23: note: Calling function 'process_arguments' returns 0 monitoring-plugins-2.4.0/plugins/check_apt.c:103:36: note: Condition 'process_arguments(argc,argv)==ERROR' is always false monitoring-plugins-2.4.0/plugins/check_apt.c:310:3: warning: Either the condition '!pkglist' is redundant or there is possible null pointer dereference: pkglist. [nullPointerRedundantCheck] monitoring-plugins-2.4.0/plugins/check_apt.c:311:5: note: Assuming that condition '!pkglist' is not redundant monitoring-plugins-2.4.0/plugins/check_apt.c:310:3: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_apt.c:312:3: warning: Either the condition '!secpkglist' is redundant or there is possible null pointer dereference: secpkglist. [nullPointerRedundantCheck] monitoring-plugins-2.4.0/plugins/check_apt.c:313:5: note: Assuming that condition '!secpkglist' is not redundant monitoring-plugins-2.4.0/plugins/check_apt.c:312:3: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_apt.c:423:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pkg [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_apt.c:420:12: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_apt.c:420:12: note: Assignment 'pkg=malloc(sizeof(char)*(len+1))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_apt.c:423:10: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_apt.c:424:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pkg [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_apt.c:420:12: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_apt.c:420:12: note: Assignment 'pkg=malloc(sizeof(char)*(len+1))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_apt.c:424:2: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_apt.c:101:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_apt.c:161:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_apt.c:409:8: style: Variable 'start' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_apt.c:409:21: style: Variable 'space' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_cluster.c:68:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_cluster.c:149:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_cluster.c:236:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_curl.c:47:0: error: #error libcurl compiled without HTTP support, compiling check_curl plugin does not makes a lot of sense [preprocessorErrorDirective] monitoring-plugins-2.4.0/plugins/check_curl.c:47:2: error: #error libcurl compiled without HTTP support, compiling check_curl plugin does not makes a lot of sense [preprocessorErrorDirective] monitoring-plugins-2.4.0/plugins/check_cluster.c:84:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_cluster.c:84:46: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_cluster.c:73:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_cluster.c:63:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_cluster.c:148:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_dig.c:79:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_dig.c:197:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_dig.c:329:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_dbi.c:125:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_dbi.c:354:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_dbi.c:528:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_dbi.c:641:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBI_TYPE_STRING [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_dbi.c:661:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_dbi.c:711:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_dig.c:88:7: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_dig.c:196:24: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_disk.c:192:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_dbi.c:130:7: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_dbi.c:211:24: style: Local variable 'host' shadows outer variable [shadowVariable] monitoring-plugins-2.4.0/plugins/check_dbi.c:73:7: note: Shadowed declaration monitoring-plugins-2.4.0/plugins/check_dbi.c:211:24: note: Shadow variable monitoring-plugins-2.4.0/plugins/check_dbi.c:353:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_disk.c:479:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_disk.c:934:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_disk.c:1055:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_dns.c:92:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_dns.c:425:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_dns.c:569:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1116:5: style: Condition '!buf' is always true [knownConditionTrueFalse] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1108:14: note: Assignment 'buf=NULL', assigned value is 0 monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1110:10: note: Assuming condition is false monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1116:5: note: Condition '!buf' is always true monitoring-plugins-2.4.0/plugins-root/check_icmp.c:758:12: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:780:4: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:792:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1301:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1524:6: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1526:6: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1526:6: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1528:6: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1528:6: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1602:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1602:5: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1602:5: warning: %u in format string (no. 4) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1622:12: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1622:12: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1622:12: warning: %u in format string (no. 4) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:2094:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:354:35: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:425:45: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:453:9: style: Variable 'opts_str' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1629:33: style: Parameter 'early' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1629:56: style: Parameter 'later' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1657:23: style: Variable 'sin6' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1746:32: style: Variable 'p' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1866:14: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1890:6: error: Uninitialized variable: ptr [uninitvar] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:158:11: style: union member 'icmp_packet::cksum_in' is never used. [unusedStructMember] monitoring-plugins-2.4.0/plugins-root/check_icmp.c:1545:4: style: Variable 'i' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_dns.c:169:21: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] monitoring-plugins-2.4.0/plugins/check_dns.c:332:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_dns.c:333:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_dns.c:149:35: style: Redundant condition: The condition '*temp_buffer != '\0'' is redundant since '*temp_buffer == '\t'' is sufficient. [redundantCondition] monitoring-plugins-2.4.0/plugins/check_dummy.c:47:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_dummy.c:99:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_dns.c:335:5: error: Memory leak: cidr [memleak] monitoring-plugins-2.4.0/plugins/check_dns.c:340:3: error: Memory leak: cidr [memleak] monitoring-plugins-2.4.0/plugins/check_dns.c:128:7: error: Common realloc mistake: 'addresses' nulled but not freed upon failure [memleakOnRealloc] monitoring-plugins-2.4.0/plugins/check_dns.c:493:4: error: Common realloc mistake: 'expected_address' nulled but not freed upon failure [memleakOnRealloc] monitoring-plugins-2.4.0/plugins/check_dns.c:499:2: error: Common realloc mistake: 'expected_address' nulled but not freed upon failure [memleakOnRealloc] monitoring-plugins-2.4.0/plugins/check_dns.c:503:2: error: Common realloc mistake: 'expected_address' nulled but not freed upon failure [memleakOnRealloc] monitoring-plugins-2.4.0/plugins/check_dns.c:149:15: warning: Either the condition 'temp_buffer==NULL' is redundant or there is possible null pointer dereference: temp_buffer. [nullPointerRedundantCheck] monitoring-plugins-2.4.0/plugins/check_dns.c:153:22: note: Assuming that condition 'temp_buffer==NULL' is not redundant monitoring-plugins-2.4.0/plugins/check_dns.c:149:15: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_dns.c:173:15: warning: Either the condition 'temp_buffer==NULL' is redundant or there is possible null pointer dereference: temp_buffer. [nullPointerRedundantCheck] monitoring-plugins-2.4.0/plugins/check_dns.c:177:22: note: Assuming that condition 'temp_buffer==NULL' is not redundant monitoring-plugins-2.4.0/plugins/check_dns.c:173:15: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_dns.c:102:7: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_dns.c:190:12: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] monitoring-plugins-2.4.0/plugins/check_dns.c:138:16: note: result is assigned monitoring-plugins-2.4.0/plugins/check_dns.c:190:12: note: result is overwritten monitoring-plugins-2.4.0/plugins/check_dns.c:330:9: style: Variable 'subnet' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_dns.c:330:18: style: Variable 'mask_c' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_dns.c:424:24: style: Variable 'long_opts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_dns.c:205:20: error: Uninitialized variable: input_buffer [uninitvar] monitoring-plugins-2.4.0/plugins/check_game.c:74:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_game.c:163:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_game.c:292:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_game.c:116:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_game.c:119:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_game.c:79:7: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_game.c:162:24: style: Variable 'long_opts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_game.c:125:15: warning: Uninitialized variable: ret [uninitvar] monitoring-plugins-2.4.0/plugins/check_game.c:117:12: note: Assuming condition is false monitoring-plugins-2.4.0/plugins/check_game.c:125:15: note: Uninitialized variable: ret monitoring-plugins-2.4.0/plugins/check_fping.c:87:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_fping.c:291:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_fping.c:471:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_hpjd.c:97:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_hpjd.c:319:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_hpjd.c:406:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_hpjd.c:154:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_hpjd.c:155:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_hpjd.c:135:3: error: Memory leak: errmsg [memleak] monitoring-plugins-2.4.0/plugins/check_hpjd.c:102:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_hpjd.c:155:15: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] monitoring-plugins-2.4.0/plugins/check_hpjd.c:154:15: note: temp_buffer is assigned monitoring-plugins-2.4.0/plugins/check_hpjd.c:155:15: note: temp_buffer is overwritten monitoring-plugins-2.4.0/plugins/check_hpjd.c:81:8: style: Variable 'temp_buffer' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_hpjd.c:318:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_disk.c:299:34: style: Condition '!show_all_fs' is always false [knownConditionTrueFalse] monitoring-plugins-2.4.0/plugins/check_disk.c:328:9: portability: %lu in format string (no. 10) requires 'unsigned long' but the argument type is 'uintmax_t {aka unsigned long}'. [invalidPrintfArgType_uint] monitoring-plugins-2.4.0/plugins/check_disk.c:1083:11: portability: %lu in format string (no. 8) requires 'unsigned long' but the argument type is 'uintmax_t {aka unsigned long}'. [invalidPrintfArgType_uint] monitoring-plugins-2.4.0/plugins/check_disk.c:1112:9: portability: %lu in format string (no. 6) requires 'unsigned long' but the argument type is 'uintmax_t {aka unsigned long}'. [invalidPrintfArgType_uint] monitoring-plugins-2.4.0/plugins/check_disk.c:199:8: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_disk.c:485:24: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_disk.c:1132:60: style: Parameter 'fsp' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins/check_disk.c:166:19: style: Variable 'disk_result' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_fping.c:190:18: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] monitoring-plugins-2.4.0/plugins/check_fping.c:228:18: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] monitoring-plugins-2.4.0/plugins/check_fping.c:128:5: error: Memory leak: input_buffer [memleak] monitoring-plugins-2.4.0/plugins/check_fping.c:143:53: warning: If resource allocation fails, then there is a possible null pointer dereference: child_stderr [nullPointerOutOfResources] monitoring-plugins-2.4.0/plugins/check_fping.c:131:25: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_fping.c:131:25: note: Assignment 'child_stderr=fdopen(child_stderr_array[fileno(child_process)],"r")', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_fping.c:136:16: note: Assuming condition is false monitoring-plugins-2.4.0/plugins/check_fping.c:143:53: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_fping.c:92:7: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_fping.c:181:9: style: Variable 'xmtstr' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_fping.c:290:24: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_fping.c:192:9: style: Variable 'loss' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ide_smart.c:184:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ide_smart.c:551:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ldap.c:103:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ldap.c:283:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ldap.c:445:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ide_smart.c:257:23: style: Condition 'smart_cmd_simple(fd,SMART_CMD_ENABLE,0,false)' is always true [knownConditionTrueFalse] monitoring-plugins-2.4.0/plugins/check_ide_smart.c:447:10: note: Assignment 'e=STATE_UNKNOWN', assigned value is 3 monitoring-plugins-2.4.0/plugins/check_ide_smart.c:257:23: note: Calling function 'smart_cmd_simple' returns 3 monitoring-plugins-2.4.0/plugins/check_ide_smart.c:257:23: note: Condition 'smart_cmd_simple(fd,SMART_CMD_ENABLE,0,false)' is always true monitoring-plugins-2.4.0/plugins/check_ide_smart.c:196:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_http.c:161:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_http.c:220:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_http.c:724:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_http.c:952:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_http.c:1717:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ide_smart.c:175:8: style: Variable 'device' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_ide_smart.c:183:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_ide_smart.c:288:39: style: Parameter 'values' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins/check_ide_smart.c:340:12: style: Variable 'value' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_ide_smart.c:341:16: style: Variable 'threshold' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_ide_smart.c:403:24: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins/check_ide_smart.c:403:41: style: Parameter 't' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins/check_ide_smart.c:500:47: style: Parameter 'thresholds' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins/check_ldap.c:112:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_ldap.c:282:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_ldap.c:98:13: style: Variable 'version' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ldap.c:100:21: style: Variable 'status_entries' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ldap.c:97:6: style: Unused variable: tls [unusedVariable] monitoring-plugins-2.4.0/plugins/check_ldap.c:98:6: style: Variable 'version' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_load.c:115:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_load.c:232:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_load.c:315:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_load.c:374:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_COMMAND [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_mrtg.c:67:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_mrtg.c:172:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_mrtg.c:316:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_load.c:191:7: style: Condition 'is_using_scaled_load_values' is always false [knownConditionTrueFalse] monitoring-plugins-2.4.0/plugins/check_load.c:176:37: note: Assignment 'is_using_scaled_load_values=false', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_load.c:191:7: note: Condition 'is_using_scaled_load_values' is always false monitoring-plugins-2.4.0/plugins/check_load.c:121:7: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_load.c:80:8: style: Variable 'str' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_load.c:231:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_mrtg.c:98:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_mrtg.c:102:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_mrtg.c:107:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_mrtg.c:112:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_mrtg.c:117:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_mrtg.c:72:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_mrtg.c:60:8: style: Variable 'temp_buffer' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_mrtg.c:171:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_mrtgtraf.c:75:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_mrtgtraf.c:222:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_mrtgtraf.c:330:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_mysql.c:118:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_mysql.c:368:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_mysql.c:537:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_mrtgtraf.c:105:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_mrtgtraf.c:109:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_mrtgtraf.c:113:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_mrtgtraf.c:117:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_mrtgtraf.c:121:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_mrtgtraf.c:80:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_mrtgtraf.c:221:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_mysql_query.c:75:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_mysql_query.c:186:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_mysql_query.c:304:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_mysql_query.c:80:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_mysql.c:123:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_mysql_query.c:185:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_mysql.c:111:8: style: Variable 'result' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_mysql.c:254:17: style: Variable 'fields' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_mysql.c:367:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_nagios.c:77:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_COLS [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_nagios.c:205:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_nagios.c:285:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_nt.c:119:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_nt.c:510:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_nt.c:640:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_nt.c:682:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_nagios.c:113:26: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_nagios.c:144:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_nagios.c:147:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_nagios.c:108:52: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] monitoring-plugins-2.4.0/plugins/check_nagios.c:102:13: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_nagios.c:102:13: note: Assignment 'fp=fopen(status_log,"r")', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_nagios.c:108:52: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nagios.c:88:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_nagios.c:62:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_nagios.c:79:8: style: Variable 'temp_string' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_nagios.c:204:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_nagios.c:132:46: error: Uninitialized variable: procstat [uninitvar] monitoring-plugins-2.4.0/plugins/check_nagios.c:136:21: error: Uninitialized variable: pos [uninitvar] monitoring-plugins-2.4.0/plugins/check_nagios.c:59:32: style: Variable 'temp_entry_time' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_nagios.c:64:14: style: Variable 'procuid' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_nagios.c:65:14: style: Variable 'procpid' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_nagios.c:66:15: style: Variable 'procppid' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_nagios.c:67:14: style: Variable 'procvsz' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_nagios.c:68:14: style: Variable 'procrss' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_nagios.c:69:17: style: Variable 'procpcpu' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_nagios.c:64:6: style: Variable 'procuid' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_nagios.c:65:6: style: Variable 'procpid' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_nagios.c:66:6: style: Variable 'procppid' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_nagios.c:67:6: style: Variable 'procvsz' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_nagios.c:68:6: style: Variable 'procrss' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_nagios.c:69:8: style: Variable 'procpcpu' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_nagios.c:76:6: style: Variable 'pos' is not assigned a value. [unassignedVariable] monitoring-plugins-2.4.0/plugins/check_ntp.c:371:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_UDP [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ntp.c:541:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_UDP [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ntp.c:667:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ntp.c:771:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ntp.c:850:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ntp.c:780:37: style: Condition 'process_arguments(argc,argv)==ERROR' is always false [knownConditionTrueFalse] monitoring-plugins-2.4.0/plugins/check_ntp.c:780:24: note: Calling function 'process_arguments' returns 0 monitoring-plugins-2.4.0/plugins/check_ntp.c:780:37: note: Condition 'process_arguments(argc,argv)==ERROR' is always false monitoring-plugins-2.4.0/plugins/check_ntp.c:391:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: servers [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_ntp.c:389:37: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_ntp.c:389:10: note: Assignment 'servers=(struct ntp_server_results*)malloc(sizeof(struct ntp_server_results)*num_hosts)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_ntp.c:391:9: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_ntp.c:778:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_ntp.c:796:10: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] monitoring-plugins-2.4.0/plugins/check_ntp.c:775:9: note: result is assigned monitoring-plugins-2.4.0/plugins/check_ntp.c:796:10: note: result is overwritten monitoring-plugins-2.4.0/plugins/check_ntp.c:524:8: style: Variable 'startofvalue' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_ntp.c:666:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_ntp.c:222:2: style: Variable 'ref.tv_sec' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ntp.c:222:2: style: Variable 'ref.tv_usec' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ntp.c:223:2: style: Variable 'orig.tv_sec' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ntp.c:223:2: style: Variable 'orig.tv_usec' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ntp.c:224:2: style: Variable 'rx.tv_sec' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ntp.c:224:2: style: Variable 'rx.tv_usec' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ntp.c:225:2: style: Variable 'tx.tv_sec' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ntp.c:225:2: style: Variable 'tx.tv_usec' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ntp.c:245:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ntp.c:358:60: style: Variable 'respnum' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ntp.c:359:55: style: Variable 'servers_readable' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_nt.c:245:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_nt.c:246:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_nt.c:290:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_nt.c:294:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_nt.c:303:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_nt.c:307:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_nt.c:362:4: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_nt.c:363:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_nt.c:364:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_nt.c:379:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_nt.c:380:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_nt.c:446:26: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_nt.c:447:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_nt.c:658:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_nt.c:658:49: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_nt.c:190:15: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_string [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_nt.c:159:25: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_nt.c:159:25: note: Assignment 'temp_string=strdup(gettext("CPU Load"))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_nt.c:167:48: note: Assuming condition is false monitoring-plugins-2.4.0/plugins/check_nt.c:190:15: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nt.c:293:21: warning: Either the condition 'numstr==NULL' is redundant or there is possible null pointer dereference: numstr. [nullPointerRedundantCheck] monitoring-plugins-2.4.0/plugins/check_nt.c:291:15: note: Assuming that condition 'numstr==NULL' is not redundant monitoring-plugins-2.4.0/plugins/check_nt.c:293:21: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nt.c:306:24: warning: Either the condition 'numstr==NULL' is redundant or there is possible null pointer dereference: numstr. [nullPointerRedundantCheck] monitoring-plugins-2.4.0/plugins/check_nt.c:304:14: note: Assuming that condition 'numstr==NULL' is not redundant monitoring-plugins-2.4.0/plugins/check_nt.c:306:24: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nt.c:310:23: warning: Either the condition 'numstr==NULL' is redundant or there is possible null pointer dereference: numstr. [nullPointerRedundantCheck] monitoring-plugins-2.4.0/plugins/check_nt.c:308:14: note: Assuming that condition 'numstr==NULL' is not redundant monitoring-plugins-2.4.0/plugins/check_nt.c:310:23: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nt.c:124:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_nt.c:618:22: style: Checking if unsigned expression 'socket_timeout' is less than zero. [unsignedLessThanZero] monitoring-plugins-2.4.0/plugins/check_nt.c:91:8: style: Local variable 'perfdata' shadows outer function [shadowFunction] monitoring-plugins-2.4.0/plugins/utils.h:94:7: note: Shadowed declaration monitoring-plugins-2.4.0/plugins/check_nt.c:91:8: note: Shadow variable monitoring-plugins-2.4.0/plugins/check_nt.c:508:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_ntp_peer.c:234:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_UDP [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ntp_peer.c:418:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ntp_peer.c:564:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ntp_peer.c:692:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ntp_time.c:318:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_UDP [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ntp_time.c:451:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ntp_time.c:546:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ntp_time.c:601:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ntp_time.c:555:37: style: Condition 'process_arguments(argc,argv)==ERROR' is always false [knownConditionTrueFalse] monitoring-plugins-2.4.0/plugins/check_ntp_time.c:555:24: note: Calling function 'process_arguments' returns 0 monitoring-plugins-2.4.0/plugins/check_ntp_time.c:555:37: note: Condition 'process_arguments(argc,argv)==ERROR' is always false monitoring-plugins-2.4.0/plugins/check_ntp_time.c:338:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: servers [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_ntp_time.c:336:37: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_ntp_time.c:336:10: note: Assignment 'servers=(struct ntp_server_results*)malloc(sizeof(struct ntp_server_results)*num_hosts)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_ntp_time.c:338:9: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_ntp_time.c:553:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_ntp_time.c:568:10: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] monitoring-plugins-2.4.0/plugins/check_ntp_time.c:550:9: note: result is assigned monitoring-plugins-2.4.0/plugins/check_ntp_time.c:568:10: note: result is overwritten monitoring-plugins-2.4.0/plugins/check_ntp_time.c:450:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_ntp_time.c:205:2: style: Variable 'ref.tv_sec' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ntp_time.c:205:2: style: Variable 'ref.tv_usec' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ntp_time.c:206:2: style: Variable 'orig.tv_sec' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ntp_time.c:206:2: style: Variable 'orig.tv_usec' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ntp_time.c:207:2: style: Variable 'rx.tv_sec' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ntp_time.c:207:2: style: Variable 'rx.tv_usec' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ntp_time.c:208:2: style: Variable 'tx.tv_sec' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ntp_time.c:208:2: style: Variable 'tx.tv_usec' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ntp_time.c:305:65: style: Variable 'respnum' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ntp_time.c:306:55: style: Variable 'servers_readable' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ntp_peer.c:398:30: style: Condition 'value==nptr' is always false [knownConditionTrueFalse] monitoring-plugins-2.4.0/plugins/check_ntp_peer.c:394:10: note: Assignment 'nptr=NULL', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_ntp_peer.c:398:30: note: Condition 'value==nptr' is always false monitoring-plugins-2.4.0/plugins/check_ntp_peer.c:571:37: style: Condition 'process_arguments(argc,argv)==ERROR' is always false [knownConditionTrueFalse] monitoring-plugins-2.4.0/plugins/check_ntp_peer.c:571:24: note: Calling function 'process_arguments' returns 0 monitoring-plugins-2.4.0/plugins/check_ntp_peer.c:571:37: note: Condition 'process_arguments(argc,argv)==ERROR' is always false monitoring-plugins-2.4.0/plugins/check_ntp_peer.c:569:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_ntp_peer.c:210:15: style: Variable 'value' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_ntp_peer.c:417:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_ntp_peer.c:144:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_overcr.c:94:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_overcr.c:299:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_overcr.c:414:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_overcr.c:125:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_overcr.c:131:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_overcr.c:137:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_overcr.c:176:28: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_overcr.c:178:28: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_overcr.c:182:25: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_overcr.c:190:24: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_overcr.c:234:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_overcr.c:238:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_overcr.c:99:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_overcr.c:399:23: style: Checking if unsigned expression 'socket_timeout' is less than zero. [unsignedLessThanZero] monitoring-plugins-2.4.0/plugins/check_overcr.c:79:8: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_overcr.c:298:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_nwstat.c:168:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1359:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1648:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_pgsql.c:166:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_pgsql.c:276:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_pgsql.c:443:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAMEDATALEN [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_pgsql.c:465:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_pgsql.c:572:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PGRES_TUPLES_OK [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_pgsql.c:173:37: style: Condition 'process_arguments(argc,argv)==ERROR' is always false [knownConditionTrueFalse] monitoring-plugins-2.4.0/plugins/check_pgsql.c:384:28: note: Calling function 'validate_arguments' returns 0 monitoring-plugins-2.4.0/plugins/check_pgsql.c:173:24: note: Calling function 'process_arguments' returns 0 monitoring-plugins-2.4.0/plugins/check_pgsql.c:173:37: note: Condition 'process_arguments(argc,argv)==ERROR' is always false monitoring-plugins-2.4.0/plugins/check_pgsql.c:187:13: error: Memory leak: conninfo [memleak] monitoring-plugins-2.4.0/plugins/check_pgsql.c:189:14: error: Memory leak: conninfo [memleak] monitoring-plugins-2.4.0/plugins/check_pgsql.c:191:14: error: Memory leak: conninfo [memleak] monitoring-plugins-2.4.0/plugins/check_pgsql.c:193:14: error: Memory leak: conninfo [memleak] monitoring-plugins-2.4.0/plugins/check_pgsql.c:196:14: error: Memory leak: conninfo [memleak] monitoring-plugins-2.4.0/plugins/check_pgsql.c:203:14: error: Memory leak: conninfo [memleak] monitoring-plugins-2.4.0/plugins/check_pgsql.c:171:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_pgsql.c:240:9: style: Variable 'server_host' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_pgsql.c:275:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_pgsql.c:442:27: style: Parameter 'username' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins/check_pgsql.c:560:8: style: Variable 'val_str' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_pgsql.c:561:8: style: Variable 'extra_info' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_ping.c:85:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ping.c:203:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ping.c:419:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeout_interval [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ping.c:570:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ping.c:266:16: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] monitoring-plugins-2.4.0/plugins/check_ping.c:91:2: warning: If memory allocation fails, then there is a possible null pointer dereference: addresses [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_ping.c:90:21: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_ping.c:90:21: note: Assignment 'addresses=malloc(sizeof(char*)*max_addr)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_ping.c:91:2: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_ping.c:94:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_ping.c:202:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_ping.c:82:18: style: Variable 'this_result' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_http.c:1260:7: warning:inconclusive: The buffer 'output_header_search' may not be null-terminated after the call to strncpy(). [terminateStrncpy] monitoring-plugins-2.4.0/plugins/check_http.c:1307:7: warning:inconclusive: The buffer 'output_string_search' may not be null-terminated after the call to strncpy(). [terminateStrncpy] monitoring-plugins-2.4.0/plugins/check_http.c:542:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_http.c:549:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_http.c:745:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_http.c:745:60: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_http.c:1264:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] monitoring-plugins-2.4.0/plugins/check_http.c:1310:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] monitoring-plugins-2.4.0/plugins/check_http.c:1016:74: style: Condition 'host_name' is always true [knownConditionTrueFalse] monitoring-plugins-2.4.0/plugins/check_http.c:1046:23: style: Condition 'host_name!=NULL' is always true [knownConditionTrueFalse] monitoring-plugins-2.4.0/plugins/check_http.c:1102:12: style: Condition 'i>=1' is always true [knownConditionTrueFalse] monitoring-plugins-2.4.0/plugins/check_http.c:1101:53: note: Assuming that condition '(i=read(sd,buffer,MAX_INPUT_BUFFER-1))>0' is not redundant monitoring-plugins-2.4.0/plugins/check_http.c:1102:12: note: Condition 'i>=1' is always true monitoring-plugins-2.4.0/plugins/check_http.c:1417:9: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] monitoring-plugins-2.4.0/plugins/check_http.c:1424:9: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] monitoring-plugins-2.4.0/plugins/check_http.c:1548:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] monitoring-plugins-2.4.0/plugins/check_http.c:1554:14: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] monitoring-plugins-2.4.0/plugins/check_http.c:1573:14: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] monitoring-plugins-2.4.0/plugins/check_http.c:1586:14: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] monitoring-plugins-2.4.0/plugins/check_http.c:312:9: error: Common realloc mistake: 'http_opt_headers' nulled but not freed upon failure [memleakOnRealloc] monitoring-plugins-2.4.0/plugins/check_http.c:167:30: warning: If memory allocation fails, then there is a possible null pointer dereference: server_url [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_http.c:166:22: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_http.c:166:22: note: Assignment 'server_url=strdup("/")', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_http.c:167:30: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_http.c:313:7: warning: If memory allocation fails, then there is a possible null pointer dereference: http_opt_headers [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_http.c:310:35: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_http.c:310:35: note: Assignment 'http_opt_headers=malloc(sizeof(char*)*(++http_opt_headers_count))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_http.c:313:7: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_http.c:422:11: warning: If memory allocation fails, then there is a possible null pointer dereference: host_name [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_http.c:421:26: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_http.c:421:26: note: Assignment 'host_name=strdup(optarg)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_http.c:422:11: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_http.c:448:35: warning: If memory allocation fails, then there is a possible null pointer dereference: server_url [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_http.c:447:27: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_http.c:447:27: note: Assignment 'server_url=strdup(optarg)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_http.c:448:35: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_http.c:477:25: warning: If memory allocation fails, then there is a possible null pointer dereference: http_method [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_http.c:475:28: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_http.c:475:28: note: Assignment 'http_method=strdup(optarg)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_http.c:477:25: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_http.c:792:20: warning: If memory allocation fails, then there is a possible null pointer dereference: ff [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_http.c:786:34: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_http.c:786:18: note: Assignment 'ff=(char*)malloc(value-field)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_http.c:792:20: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_http.c:799:18: warning: If memory allocation fails, then there is a possible null pointer dereference: ss [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_http.c:798:30: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_http.c:798:14: note: Assignment 'ss=(char*)malloc(e-value+1)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_http.c:799:18: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_http.c:800:9: warning: If memory allocation fails, then there is a possible null pointer dereference: ss [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_http.c:798:30: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_http.c:798:14: note: Assignment 'ss=(char*)malloc(e-value+1)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_http.c:800:9: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_http.c:884:20: warning: If memory allocation fails, then there is a possible null pointer dereference: ff [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_http.c:878:34: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_http.c:878:18: note: Assignment 'ff=(char*)malloc(value-field)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_http.c:884:20: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_http.c:891:18: warning: If memory allocation fails, then there is a possible null pointer dereference: ss [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_http.c:890:30: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_http.c:890:14: note: Assignment 'ss=(char*)malloc(e-value+1)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_http.c:891:18: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_http.c:892:9: warning: If memory allocation fails, then there is a possible null pointer dereference: ss [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_http.c:890:30: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_http.c:890:14: note: Assignment 'ss=(char*)malloc(e-value+1)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_http.c:892:9: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_http.c:893:31: warning: If memory allocation fails, then there is a possible null pointer dereference: ss [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_http.c:890:30: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_http.c:890:14: note: Assignment 'ss=(char*)malloc(e-value+1)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_http.c:893:31: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_http.c:912:3: warning: Either the condition '(newpath=malloc(strlen(path)+2))==NULL' is redundant or there is possible null pointer dereference: newpath. [nullPointerRedundantCheck] monitoring-plugins-2.4.0/plugins/check_http.c:910:45: note: Assuming that condition '(newpath=malloc(strlen(path)+2))==NULL' is not redundant monitoring-plugins-2.4.0/plugins/check_http.c:912:3: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_http.c:1511:10: warning: If memory allocation fails, then there is a possible null pointer dereference: addr [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_http.c:1507:17: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_http.c:1507:17: note: Assignment 'addr=malloc(MAX_IPV4_HOSTLENGTH+1)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_http.c:1511:10: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_http.c:1548:43: warning: Either the condition 'url==NULL' is redundant or there is possible null pointer dereference: url. [nullPointerRedundantCheck] monitoring-plugins-2.4.0/plugins/check_http.c:1544:13: note: Assuming that condition 'url==NULL' is not redundant monitoring-plugins-2.4.0/plugins/check_http.c:1548:43: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_http.c:913:19: warning: Either the condition '(newpath=malloc(strlen(path)+2))==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] monitoring-plugins-2.4.0/plugins/check_http.c:910:45: note: Assuming that condition '(newpath=malloc(strlen(path)+2))==NULL' is not redundant monitoring-plugins-2.4.0/plugins/check_http.c:913:19: note: Null pointer addition monitoring-plugins-2.4.0/plugins/check_http.c:172:7: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_http.c:1673:26: style:inconclusive: Function 'perfd_time' argument 1 names different: declaration 'microsec' definition 'elapsed_time'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/plugins/check_http.c:145:26: note: Function 'perfd_time' argument 1 names different: declaration 'microsec' definition 'elapsed_time'. monitoring-plugins-2.4.0/plugins/check_http.c:1673:26: note: Function 'perfd_time' argument 1 names different: declaration 'microsec' definition 'elapsed_time'. monitoring-plugins-2.4.0/plugins/check_http.c:1681:34: style:inconclusive: Function 'perfd_time_connect' argument 1 names different: declaration 'microsec' definition 'elapsed_time_connect'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/plugins/check_http.c:146:34: note: Function 'perfd_time_connect' argument 1 names different: declaration 'microsec' definition 'elapsed_time_connect'. monitoring-plugins-2.4.0/plugins/check_http.c:1681:34: note: Function 'perfd_time_connect' argument 1 names different: declaration 'microsec' definition 'elapsed_time_connect'. monitoring-plugins-2.4.0/plugins/check_http.c:1686:30: style:inconclusive: Function 'perfd_time_ssl' argument 1 names different: declaration 'microsec' definition 'elapsed_time_ssl'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/plugins/check_http.c:147:30: note: Function 'perfd_time_ssl' argument 1 names different: declaration 'microsec' definition 'elapsed_time_ssl'. monitoring-plugins-2.4.0/plugins/check_http.c:1686:30: note: Function 'perfd_time_ssl' argument 1 names different: declaration 'microsec' definition 'elapsed_time_ssl'. monitoring-plugins-2.4.0/plugins/check_http.c:1691:34: style:inconclusive: Function 'perfd_time_headers' argument 1 names different: declaration 'microsec' definition 'elapsed_time_headers'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/plugins/check_http.c:149:34: note: Function 'perfd_time_headers' argument 1 names different: declaration 'microsec' definition 'elapsed_time_headers'. monitoring-plugins-2.4.0/plugins/check_http.c:1691:34: note: Function 'perfd_time_headers' argument 1 names different: declaration 'microsec' definition 'elapsed_time_headers'. monitoring-plugins-2.4.0/plugins/check_http.c:1696:36: style:inconclusive: Function 'perfd_time_firstbyte' argument 1 names different: declaration 'microsec' definition 'elapsed_time_firstbyte'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/plugins/check_http.c:148:36: note: Function 'perfd_time_firstbyte' argument 1 names different: declaration 'microsec' definition 'elapsed_time_firstbyte'. monitoring-plugins-2.4.0/plugins/check_http.c:1696:36: note: Function 'perfd_time_firstbyte' argument 1 names different: declaration 'microsec' definition 'elapsed_time_firstbyte'. monitoring-plugins-2.4.0/plugins/check_http.c:1701:35: style:inconclusive: Function 'perfd_time_transfer' argument 1 names different: declaration 'microsec' definition 'elapsed_time_transfer'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/plugins/check_http.c:150:35: note: Function 'perfd_time_transfer' argument 1 names different: declaration 'microsec' definition 'elapsed_time_transfer'. monitoring-plugins-2.4.0/plugins/check_http.c:1701:35: note: Function 'perfd_time_transfer' argument 1 names different: declaration 'microsec' definition 'elapsed_time_transfer'. monitoring-plugins-2.4.0/plugins/check_http.c:539:13: style: Local variable 'tmp' shadows outer variable [shadowVariable] monitoring-plugins-2.4.0/plugins/check_http.c:476:13: note: Shadowed declaration monitoring-plugins-2.4.0/plugins/check_http.c:539:13: note: Shadow variable monitoring-plugins-2.4.0/plugins/check_http.c:193:18: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins/check_http.c:207:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_http.c:219:24: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_http.c:539:13: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_http.c:739:20: style: Variable 'code' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_http.c:1421:9: warning: Uninitialized variable: endptr [uninitvar] monitoring-plugins-2.4.0/plugins/check_http.c:1414:35: note: Assuming condition is false monitoring-plugins-2.4.0/plugins/check_http.c:1421:9: note: Uninitialized variable: endptr monitoring-plugins-2.4.0/plugins/check_http.c:208:9: style: Unused variable: temp [unusedVariable] monitoring-plugins-2.4.0/plugins/check_http.c:938:21: style: Variable 'microsec_ssl' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_http.c:940:27: style: Variable 'microsec_firstbyte' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_http.c:954:20: style: Variable 'microsec_connect' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_http.c:938:8: style: Variable 'microsec_ssl' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_http.c:1409:24: style: Variable 'length_of_chunk' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_procs.c:156:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_COLS [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_procs.c:421:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_procs.c:741:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_radius.c:157:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_NAME_MAX [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_radius.c:242:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_radius.c:346:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PW_AUTH_UDP_PORT [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_radius.c:175:37: style: Condition 'process_arguments(argc,argv)==ERROR' is always false [knownConditionTrueFalse] monitoring-plugins-2.4.0/plugins/check_radius.c:175:24: note: Calling function 'process_arguments' returns 0 monitoring-plugins-2.4.0/plugins/check_radius.c:175:37: note: Condition 'process_arguments(argc,argv)==ERROR' is always false monitoring-plugins-2.4.0/plugins/check_radius.c:173:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_radius.c:241:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_real.c:72:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_real.c:274:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_real.c:409:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_procs.c:500:10: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] monitoring-plugins-2.4.0/plugins/check_procs.c:506:10: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] monitoring-plugins-2.4.0/plugins/check_procs.c:535:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_procs.c:540:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_procs.c:247:22: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] monitoring-plugins-2.4.0/plugins/check_procs.c:483:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] monitoring-plugins-2.4.0/plugins/check_procs.c:571:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] monitoring-plugins-2.4.0/plugins/check_procs.c:578:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] monitoring-plugins-2.4.0/plugins/check_procs.c:586:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] monitoring-plugins-2.4.0/plugins/check_procs.c:538:6: error: Common realloc mistake: 'exclude_progs_arr' nulled but not freed upon failure [memleakOnRealloc] monitoring-plugins-2.4.0/plugins/check_procs.c:562:10: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_string [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_procs.c:561:24: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_procs.c:561:24: note: Assignment 'temp_string=strdup(optarg)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_procs.c:562:10: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_procs.c:563:8: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_string [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_procs.c:561:24: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_procs.c:561:24: note: Assignment 'temp_string=strdup(optarg)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_procs.c:563:8: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_procs.c:176:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_procs.c:270:10: style: Local variable 'found' shadows outer variable [shadowVariable] monitoring-plugins-2.4.0/plugins/check_procs.c:152:6: note: Shadowed declaration monitoring-plugins-2.4.0/plugins/check_procs.c:270:10: note: Shadow variable monitoring-plugins-2.4.0/plugins/check_procs.c:271:10: style: Local variable 'i' shadows outer variable [shadowVariable] monitoring-plugins-2.4.0/plugins/check_procs.c:159:6: note: Shadowed declaration monitoring-plugins-2.4.0/plugins/check_procs.c:271:10: note: Shadow variable monitoring-plugins-2.4.0/plugins/check_procs.c:128:8: style: Variable 'input_buffer' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_procs.c:230:45: error: Uninitialized variable: pos [uninitvar] monitoring-plugins-2.4.0/plugins/check_procs.c:143:18: style: Variable 'procseconds' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_procs.c:151:16: style: Variable 'resultsum' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_procs.c:161:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_procs.c:154:6: style: Variable 'pos' is not assigned a value. [unassignedVariable] monitoring-plugins-2.4.0/plugins/check_real.c:181:9: warning: Either the condition 'result==-1' is redundant or the array 'buffer[8192]' is accessed at index -1, which is out of bounds. [negativeIndex] monitoring-plugins-2.4.0/plugins/check_real.c:184:14: note: Assuming that condition 'result==-1' is not redundant monitoring-plugins-2.4.0/plugins/check_real.c:181:9: note: Negative array index monitoring-plugins-2.4.0/plugins/check_real.c:130:26: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_real.c:205:28: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_real.c:77:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_real.c:102:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] monitoring-plugins-2.4.0/plugins/check_real.c:98:9: note: result is assigned monitoring-plugins-2.4.0/plugins/check_real.c:102:9: note: result is overwritten monitoring-plugins-2.4.0/plugins/check_real.c:106:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] monitoring-plugins-2.4.0/plugins/check_real.c:102:9: note: result is assigned monitoring-plugins-2.4.0/plugins/check_real.c:106:9: note: result is overwritten monitoring-plugins-2.4.0/plugins/check_real.c:109:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] monitoring-plugins-2.4.0/plugins/check_real.c:106:9: note: result is assigned monitoring-plugins-2.4.0/plugins/check_real.c:109:9: note: result is overwritten monitoring-plugins-2.4.0/plugins/check_real.c:133:11: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] monitoring-plugins-2.4.0/plugins/check_real.c:128:10: note: result is assigned monitoring-plugins-2.4.0/plugins/check_real.c:133:11: note: result is overwritten monitoring-plugins-2.4.0/plugins/check_real.c:173:10: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] monitoring-plugins-2.4.0/plugins/check_real.c:169:10: note: result is assigned monitoring-plugins-2.4.0/plugins/check_real.c:173:10: note: result is overwritten monitoring-plugins-2.4.0/plugins/check_real.c:177:10: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] monitoring-plugins-2.4.0/plugins/check_real.c:173:10: note: result is assigned monitoring-plugins-2.4.0/plugins/check_real.c:177:10: note: result is overwritten monitoring-plugins-2.4.0/plugins/check_real.c:180:10: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] monitoring-plugins-2.4.0/plugins/check_real.c:177:10: note: result is assigned monitoring-plugins-2.4.0/plugins/check_real.c:180:10: note: result is overwritten monitoring-plugins-2.4.0/plugins/check_real.c:208:13: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] monitoring-plugins-2.4.0/plugins/check_real.c:203:12: note: result is assigned monitoring-plugins-2.4.0/plugins/check_real.c:208:13: note: result is overwritten monitoring-plugins-2.4.0/plugins/check_real.c:273:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_smtp.c:139:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_smtp.c:491:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_smtp.c:860:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_smtp.c:146:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_smtp.c:655:4: style:inconclusive: Statements following noreturn function 'usage()' will never be executed. [unreachableCode] monitoring-plugins-2.4.0/plugins/check_smtp.c:490:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_smtp.c:128:8: style: Variable 'n' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_smtp.c:420:15: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_smtp.c:481:8: style: Unused variable: temp [unusedVariable] monitoring-plugins-2.4.0/plugins/check_snmp.c:221:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_snmp.c:698:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_snmp.c:1231:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ssh.c:65:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ssh.c:98:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ssh.c:223:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ssh.c:364:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ssh.c:239:45: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] monitoring-plugins-2.4.0/plugins/check_ssh.c:70:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_ssh.c:97:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_ssh.c:213:20: style: Parameter 'haddr' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins/check_ssh.c:213:44: style: Parameter 'remote_version' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins/check_ssh.c:213:66: style: Parameter 'remote_protocol' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins/check_ssh.c:244:10: style: Variable 'index' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_ssh.c:315:8: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_ssh.c:263:43: portability: '(void*)output' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] monitoring-plugins-2.4.0/plugins/check_ssh.c:263:55: portability: '(void*)output+byte_offset' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] monitoring-plugins-2.4.0/plugins/check_ssh.c:341:63: error: Uninitialized variable: elapsed_time [uninitvar] monitoring-plugins-2.4.0/plugins/check_ssh.c:236:25: style: Variable 'iteration' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ssh.c:236:15: style: Variable 'iteration' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_swap.c:105:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_swap.c:438:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_swap.c:564:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_swap.c:114:37: style: Condition 'process_arguments(argc,argv)==ERROR' is always false [knownConditionTrueFalse] monitoring-plugins-2.4.0/plugins/check_swap.c:539:29: note: Calling function 'validate_arguments' returns 0 monitoring-plugins-2.4.0/plugins/check_swap.c:114:24: note: Calling function 'process_arguments' returns 0 monitoring-plugins-2.4.0/plugins/check_swap.c:114:37: note: Condition 'process_arguments(argc,argv)==ERROR' is always false monitoring-plugins-2.4.0/plugins/check_swap.c:368:5: style: Condition 'total_swap_mb' is always false [knownConditionTrueFalse] monitoring-plugins-2.4.0/plugins/check_swap.c:75:27: note: Assignment 'total_swap_mb=0', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_swap.c:368:5: note: Condition 'total_swap_mb' is always false monitoring-plugins-2.4.0/plugins/check_swap.c:372:3: error: Memory leak: status [memleak] monitoring-plugins-2.4.0/plugins/check_swap.c:391:2: error: Memory leak: status [memleak] monitoring-plugins-2.4.0/plugins/check_swap.c:112:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_swap.c:103:8: style: Variable 'status' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_swap.c:437:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_swap.c:76:23: style: Variable 'dsktotal_mb' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_swap.c:76:39: style: Variable 'dskused_mb' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_swap.c:76:55: style: Variable 'dskfree_mb' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_swap.c:77:18: style: Variable 'tmp_KB' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_swap.c:83:18: style: Variable 'conv_factor' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_swap.c:74:29: style: Unused variable: percent [unusedVariable] monitoring-plugins-2.4.0/plugins/check_swap.c:76:11: style: Variable 'dsktotal_mb' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_swap.c:76:28: style: Variable 'dskused_mb' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_swap.c:76:44: style: Variable 'dskfree_mb' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_swap.c:77:11: style: Variable 'tmp_KB' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_swap.c:79:7: style: Unused variable: input_buffer [unusedVariable] monitoring-plugins-2.4.0/plugins/check_swap.c:83:6: style: Variable 'conv_factor' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_swap.c:102:7: style: Unused variable: str [unusedVariable] monitoring-plugins-2.4.0/plugins/check_tcp.c:113:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_tcp.c:414:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_tcp.c:647:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_tcp.c:219:37: style: Condition 'process_arguments(argc,argv)==ERROR' is always false [knownConditionTrueFalse] monitoring-plugins-2.4.0/plugins/check_tcp.c:219:24: note: Calling function 'process_arguments' returns 0 monitoring-plugins-2.4.0/plugins/check_tcp.c:219:37: note: Condition 'process_arguments(argc,argv)==ERROR' is always false monitoring-plugins-2.4.0/plugins/check_tcp.c:277:4: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] monitoring-plugins-2.4.0/plugins/check_tcp.c:288:4: error: Common realloc mistake: 'status' nulled but not freed upon failure [memleakOnRealloc] monitoring-plugins-2.4.0/plugins/check_tcp.c:509:4: error: Common realloc mistake: 'crit_codes' nulled but not freed upon failure [memleakOnRealloc] monitoring-plugins-2.4.0/plugins/check_tcp.c:513:4: error: Common realloc mistake: 'warn_codes' nulled but not freed upon failure [memleakOnRealloc] monitoring-plugins-2.4.0/plugins/check_tcp.c:542:5: error: Common realloc mistake: 'server_expect' nulled but not freed upon failure [memleakOnRealloc] monitoring-plugins-2.4.0/plugins/check_tcp.c:126:4: warning: If memory allocation fails, then there is a possible null pointer dereference: SERVICE [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_tcp.c:124:19: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_tcp.c:124:19: note: Assignment 'SERVICE=strdup(progname+6)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_tcp.c:126:4: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_tcp.c:126:25: warning: If memory allocation fails, then there is a possible null pointer dereference: SERVICE [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_tcp.c:124:19: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_tcp.c:124:19: note: Assignment 'SERVICE=strdup(progname+6)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_tcp.c:126:25: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_tcp.c:134:15: warning: If memory allocation fails, then there is a possible null pointer dereference: SERVICE [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_tcp.c:124:19: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_tcp.c:124:19: note: Assignment 'SERVICE=strdup(progname+6)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_tcp.c:134:15: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_tcp.c:195:3: warning: If memory allocation fails, then there is a possible null pointer dereference: server_expect [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_tcp.c:194:25: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_tcp.c:194:25: note: Assignment 'server_expect=malloc(sizeof(char*)*server_expect_count)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_tcp.c:195:3: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_tcp.c:196:3: warning: If memory allocation fails, then there is a possible null pointer dereference: server_expect [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_tcp.c:194:25: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_tcp.c:194:25: note: Assignment 'server_expect=malloc(sizeof(char*)*server_expect_count)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_tcp.c:196:3: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_tcp.c:543:4: warning: If memory allocation fails, then there is a possible null pointer dereference: server_expect [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_tcp.c:540:28: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_tcp.c:540:28: note: Assignment 'server_expect=malloc(sizeof(char*)*(++server_expect_count))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_tcp.c:543:4: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_tcp.c:217:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_tcp.c:413:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_tcp.c:406:8: style: Unused variable: temp [unusedVariable] monitoring-plugins-2.4.0/plugins/check_snmp.c:422:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] monitoring-plugins-2.4.0/plugins/check_snmp.c:840:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_snmp.c:840:56: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_snmp.c:266:6: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] monitoring-plugins-2.4.0/plugins/check_snmp.c:418:4: portability: %zi in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] monitoring-plugins-2.4.0/plugins/check_snmp.c:418:4: portability: %zi in format string (no. 2) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] monitoring-plugins-2.4.0/plugins/check_snmp.c:269:6: error: Common realloc mistake: 'previous_value' nulled but not freed upon failure [memleakOnRealloc] monitoring-plugins-2.4.0/plugins/check_snmp.c:288:4: error: Common realloc mistake: 'thlds' nulled but not freed upon failure [memleakOnRealloc] monitoring-plugins-2.4.0/plugins/check_snmp.c:518:5: error: Common realloc mistake: 'response_value' nulled but not freed upon failure [memleakOnRealloc] monitoring-plugins-2.4.0/plugins/check_snmp.c:843:6: error: Common realloc mistake: 'oids' nulled but not freed upon failure [memleakOnRealloc] monitoring-plugins-2.4.0/plugins/check_snmp.c:852:6: error: Common realloc mistake: 'eval_method' nulled but not freed upon failure [memleakOnRealloc] monitoring-plugins-2.4.0/plugins/check_snmp.c:872:5: error: Common realloc mistake: 'eval_method' nulled but not freed upon failure [memleakOnRealloc] monitoring-plugins-2.4.0/plugins/check_snmp.c:892:5: error: Common realloc mistake: 'eval_method' nulled but not freed upon failure [memleakOnRealloc] monitoring-plugins-2.4.0/plugins/check_snmp.c:950:6: error: Common realloc mistake: 'unitv' nulled but not freed upon failure [memleakOnRealloc] monitoring-plugins-2.4.0/plugins/check_snmp.c:319:2: warning: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assignment 'command_line=calloc(11+numcontext+numauthpriv+1+numoids+1,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:319:2: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:320:2: warning: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assignment 'command_line=calloc(11+numcontext+numauthpriv+1+numoids+1,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:320:2: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:321:2: warning: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assignment 'command_line=calloc(11+numcontext+numauthpriv+1+numoids+1,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:321:2: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:323:2: warning: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assignment 'command_line=calloc(11+numcontext+numauthpriv+1+numoids+1,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:323:2: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:325:2: warning: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assignment 'command_line=calloc(11+numcontext+numauthpriv+1+numoids+1,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:325:2: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:326:2: warning: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assignment 'command_line=calloc(11+numcontext+numauthpriv+1+numoids+1,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:326:2: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:327:2: warning: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assignment 'command_line=calloc(11+numcontext+numauthpriv+1+numoids+1,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:327:2: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:328:2: warning: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assignment 'command_line=calloc(11+numcontext+numauthpriv+1+numoids+1,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:328:2: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:340:3: warning: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assignment 'command_line=calloc(11+numcontext+numauthpriv+1+numoids+1,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:340:3: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:344:3: warning: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assignment 'command_line=calloc(11+numcontext+numauthpriv+1+numoids+1,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:344:3: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:355:3: warning: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assignment 'command_line=calloc(11+numcontext+numauthpriv+1+numoids+1,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:355:3: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:359:2: warning: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:317:24: note: Assignment 'command_line=calloc(11+numcontext+numauthpriv+1+numoids+1,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:359:2: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:655:29: warning: Either the condition 'temp_string==NULL' is redundant or there is possible null pointer dereference: temp_string. [nullPointerRedundantCheck] monitoring-plugins-2.4.0/plugins/check_snmp.c:653:18: note: Assuming that condition 'temp_string==NULL' is not redundant monitoring-plugins-2.4.0/plugins/check_snmp.c:655:29: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:664:4: warning: Either the condition 'state_string==NULL' is redundant or there is possible null pointer dereference: state_string. [nullPointerRedundantCheck] monitoring-plugins-2.4.0/plugins/check_snmp.c:659:20: note: Assuming that condition 'state_string==NULL' is not redundant monitoring-plugins-2.4.0/plugins/check_snmp.c:664:4: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:668:3: warning: If memory allocation fails, then there is a possible null pointer dereference: state_string [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:646:22: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:646:22: note: Assignment 'state_string=malloc(string_length)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:651:20: note: Assuming condition is false monitoring-plugins-2.4.0/plugins/check_snmp.c:668:3: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1059:3: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1058:21: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1058:21: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1059:3: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1060:3: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1058:21: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1058:21: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1060:3: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1066:4: warning: If memory allocation fails, then there is a possible null pointer dereference: contextargs [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1065:25: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1065:25: note: Assignment 'contextargs=calloc(numcontext,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1066:4: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1067:4: warning: If memory allocation fails, then there is a possible null pointer dereference: contextargs [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1065:25: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1065:25: note: Assignment 'contextargs=calloc(numcontext,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1067:4: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1079:4: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1078:22: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1078:22: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1079:4: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1080:4: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1078:22: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1078:22: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1080:4: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1081:4: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1078:22: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1078:22: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1081:4: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1082:4: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1078:22: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1078:22: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1082:4: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1097:5: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1096:23: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1096:23: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1097:5: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1098:5: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1096:23: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1096:23: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1098:5: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1099:5: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1096:23: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1096:23: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1099:5: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1100:5: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1096:23: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1096:23: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1100:5: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1101:5: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1096:23: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1096:23: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1101:5: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1102:5: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1096:23: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1096:23: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1102:5: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1103:5: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1096:23: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1096:23: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1103:5: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1104:5: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1096:23: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1096:23: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1104:5: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1114:5: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1114:5: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1115:5: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1115:5: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1116:5: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1116:5: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1117:5: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1117:5: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1118:5: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1118:5: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1119:5: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1119:5: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1120:5: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1120:5: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1121:5: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1121:5: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1122:5: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1122:5: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1123:5: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1123:5: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1124:5: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1124:5: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:1125:5: warning: If memory allocation fails, then there is a possible null pointer dereference: authpriv [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_snmp.c:1113:23: note: Assignment 'authpriv=calloc(numauthpriv,sizeof(char*))', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_snmp.c:1125:5: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_snmp.c:245:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_snmp.c:697:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_snmp.c:1196:8: style: Variable 'conv' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_time.c:70:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_time.c:193:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_time.c:334:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_snmp.c:218:13: style: Variable 'conv' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_snmp.c:219:16: style: Variable 'is_counter' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_time.c:77:37: style: Condition 'process_arguments(argc,argv)==ERROR' is always false [knownConditionTrueFalse] monitoring-plugins-2.4.0/plugins/check_time.c:77:24: note: Calling function 'process_arguments' returns 0 monitoring-plugins-2.4.0/plugins/check_time.c:77:37: note: Condition 'process_arguments(argc,argv)==ERROR' is always false monitoring-plugins-2.4.0/plugins/check_time.c:75:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_time.c:192:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_ups.c:105:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ups.c:480:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ups.c:539:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_ups.c:669:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_users.c:81:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_users.c:195:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_users.c:254:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/check_users.c:88:37: style: Condition 'process_arguments(argc,argv)==ERROR' is always false [knownConditionTrueFalse] monitoring-plugins-2.4.0/plugins/check_users.c:88:24: note: Calling function 'process_arguments' returns 0 monitoring-plugins-2.4.0/plugins/check_users.c:88:37: note: Condition 'process_arguments(argc,argv)==ERROR' is always false monitoring-plugins-2.4.0/plugins/check_users.c:86:7: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_users.c:194:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/negate.c:67:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/negate.c:128:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/negate.c:219:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/negate.c:98:66: warning: Either the condition 'result<=4' is redundant or the array 'state[4]' is accessed at index 4, which is out of bounds. [arrayIndexOutOfBoundsCond] monitoring-plugins-2.4.0/plugins/negate.c:98:43: note: Assuming that condition 'result<=4' is not redundant monitoring-plugins-2.4.0/plugins/negate.c:98:66: note: Array index out of bounds monitoring-plugins-2.4.0/plugins/negate.c:112:14: warning: Either the condition 'result<=4' is redundant or the array 'state[4]' is accessed at index 4, which is out of bounds. [arrayIndexOutOfBoundsCond] monitoring-plugins-2.4.0/plugins/negate.c:111:28: note: Assuming that condition 'result<=4' is not redundant monitoring-plugins-2.4.0/plugins/negate.c:112:14: note: Array index out of bounds monitoring-plugins-2.4.0/plugins/negate.c:127:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/netutils.c:73:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/netutils.c:176:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_UDP [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/netutils.c:315:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/netutils.c:148:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] monitoring-plugins-2.4.0/plugins/netutils.c:146:9: note: result is assigned monitoring-plugins-2.4.0/plugins/netutils.c:148:9: note: result is overwritten monitoring-plugins-2.4.0/plugins/netutils.c:61:35: style:inconclusive: Function 'process_tcp_request2' argument 1 names different: declaration 'address' definition 'server_address'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/plugins/netutils.h:57:39: note: Function 'process_tcp_request2' argument 1 names different: declaration 'address' definition 'server_address'. monitoring-plugins-2.4.0/plugins/netutils.c:61:35: note: Function 'process_tcp_request2' argument 1 names different: declaration 'address' definition 'server_address'. monitoring-plugins-2.4.0/plugins/netutils.c:61:55: style:inconclusive: Function 'process_tcp_request2' argument 2 names different: declaration 'port' definition 'server_port'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/plugins/netutils.h:57:52: note: Function 'process_tcp_request2' argument 2 names different: declaration 'port' definition 'server_port'. monitoring-plugins-2.4.0/plugins/netutils.c:61:55: note: Function 'process_tcp_request2' argument 2 names different: declaration 'port' definition 'server_port'. monitoring-plugins-2.4.0/plugins/netutils.c:62:14: style:inconclusive: Function 'process_tcp_request2' argument 3 names different: declaration 'sbuffer' definition 'send_buffer'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/plugins/netutils.h:58:15: note: Function 'process_tcp_request2' argument 3 names different: declaration 'sbuffer' definition 'send_buffer'. monitoring-plugins-2.4.0/plugins/netutils.c:62:14: note: Function 'process_tcp_request2' argument 3 names different: declaration 'sbuffer' definition 'send_buffer'. monitoring-plugins-2.4.0/plugins/netutils.c:62:33: style:inconclusive: Function 'process_tcp_request2' argument 4 names different: declaration 'rbuffer' definition 'recv_buffer'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/plugins/netutils.h:58:30: note: Function 'process_tcp_request2' argument 4 names different: declaration 'rbuffer' definition 'recv_buffer'. monitoring-plugins-2.4.0/plugins/netutils.c:62:33: note: Function 'process_tcp_request2' argument 4 names different: declaration 'rbuffer' definition 'recv_buffer'. monitoring-plugins-2.4.0/plugins/netutils.c:62:50: style:inconclusive: Function 'process_tcp_request2' argument 5 names different: declaration 'rsize' definition 'recv_size'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/plugins/netutils.h:58:43: note: Function 'process_tcp_request2' argument 5 names different: declaration 'rsize' definition 'recv_size'. monitoring-plugins-2.4.0/plugins/netutils.c:62:50: note: Function 'process_tcp_request2' argument 5 names different: declaration 'rsize' definition 'recv_size'. monitoring-plugins-2.4.0/plugins/netutils.c:140:30: style:inconclusive: Function 'process_request' argument 1 names different: declaration 'address' definition 'server_address'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/plugins/netutils.h:59:34: note: Function 'process_request' argument 1 names different: declaration 'address' definition 'server_address'. monitoring-plugins-2.4.0/plugins/netutils.c:140:30: note: Function 'process_request' argument 1 names different: declaration 'address' definition 'server_address'. monitoring-plugins-2.4.0/plugins/netutils.c:140:50: style:inconclusive: Function 'process_request' argument 2 names different: declaration 'port' definition 'server_port'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/plugins/netutils.h:59:47: note: Function 'process_request' argument 2 names different: declaration 'port' definition 'server_port'. monitoring-plugins-2.4.0/plugins/netutils.c:140:50: note: Function 'process_request' argument 2 names different: declaration 'port' definition 'server_port'. monitoring-plugins-2.4.0/plugins/netutils.c:141:14: style:inconclusive: Function 'process_request' argument 4 names different: declaration 'sbuffer' definition 'send_buffer'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/plugins/netutils.h:60:15: note: Function 'process_request' argument 4 names different: declaration 'sbuffer' definition 'send_buffer'. monitoring-plugins-2.4.0/plugins/netutils.c:141:14: note: Function 'process_request' argument 4 names different: declaration 'sbuffer' definition 'send_buffer'. monitoring-plugins-2.4.0/plugins/netutils.c:141:33: style:inconclusive: Function 'process_request' argument 5 names different: declaration 'rbuffer' definition 'recv_buffer'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/plugins/netutils.h:60:30: note: Function 'process_request' argument 5 names different: declaration 'rbuffer' definition 'recv_buffer'. monitoring-plugins-2.4.0/plugins/netutils.c:141:33: note: Function 'process_request' argument 5 names different: declaration 'rbuffer' definition 'recv_buffer'. monitoring-plugins-2.4.0/plugins/netutils.c:141:50: style:inconclusive: Function 'process_request' argument 6 names different: declaration 'rsize' definition 'recv_size'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/plugins/netutils.h:60:43: note: Function 'process_request' argument 6 names different: declaration 'rsize' definition 'recv_size'. monitoring-plugins-2.4.0/plugins/netutils.c:141:50: note: Function 'process_request' argument 6 names different: declaration 'rsize' definition 'recv_size'. monitoring-plugins-2.4.0/plugins/netutils.c:162:29: style:inconclusive: Function 'np_net_connect' argument 1 names different: declaration 'address' definition 'host_name'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/plugins/netutils.h:65:32: note: Function 'np_net_connect' argument 1 names different: declaration 'address' definition 'host_name'. monitoring-plugins-2.4.0/plugins/netutils.c:162:29: note: Function 'np_net_connect' argument 1 names different: declaration 'address' definition 'host_name'. monitoring-plugins-2.4.0/plugins/picohttpparser/picohttpparser.c:387:35: style:inconclusive: Function 'phr_parse_request' argument 1 names different: declaration 'buf' definition 'buf_start'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/plugins/picohttpparser/picohttpparser.h:51:35: note: Function 'phr_parse_request' argument 1 names different: declaration 'buf' definition 'buf_start'. monitoring-plugins-2.4.0/plugins/picohttpparser/picohttpparser.c:387:35: note: Function 'phr_parse_request' argument 1 names different: declaration 'buf' definition 'buf_start'. monitoring-plugins-2.4.0/plugins/picohttpparser/picohttpparser.c:459:36: style:inconclusive: Function 'phr_parse_response' argument 1 names different: declaration '_buf' definition 'buf_start'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/plugins/picohttpparser/picohttpparser.h:55:36: note: Function 'phr_parse_response' argument 1 names different: declaration '_buf' definition 'buf_start'. monitoring-plugins-2.4.0/plugins/picohttpparser/picohttpparser.c:459:36: note: Function 'phr_parse_response' argument 1 names different: declaration '_buf' definition 'buf_start'. monitoring-plugins-2.4.0/plugins/picohttpparser/picohttpparser.c:486:35: style:inconclusive: Function 'phr_parse_headers' argument 1 names different: declaration 'buf' definition 'buf_start'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/plugins/picohttpparser/picohttpparser.h:59:35: note: Function 'phr_parse_headers' argument 1 names different: declaration 'buf' definition 'buf_start'. monitoring-plugins-2.4.0/plugins/picohttpparser/picohttpparser.c:486:35: note: Function 'phr_parse_headers' argument 1 names different: declaration 'buf' definition 'buf_start'. monitoring-plugins-2.4.0/plugins/picohttpparser/picohttpparser.c:529:84: style:inconclusive: Function 'phr_decode_chunked' argument 3 names different: declaration 'bufsz' definition '_bufsz'. [funcArgNamesDifferent] monitoring-plugins-2.4.0/plugins/picohttpparser/picohttpparser.h:78:84: note: Function 'phr_decode_chunked' argument 3 names different: declaration 'bufsz' definition '_bufsz'. monitoring-plugins-2.4.0/plugins/picohttpparser/picohttpparser.c:529:84: note: Function 'phr_decode_chunked' argument 3 names different: declaration 'bufsz' definition '_bufsz'. monitoring-plugins-2.4.0/plugins/picohttpparser/picohttpparser.c:644:63: style: Parameter 'decoder' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins/picohttpparser/picohttpparser.c:257:5: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/picohttpparser/picohttpparser.c:260:9: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/picohttpparser/picohttpparser.c:436:5: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/check_ups.c:428:27: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_ups.c:429:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_ups.c:141:3: error: Memory leak: ups_status [memleak] monitoring-plugins-2.4.0/plugins/check_ups.c:141:3: error: Memory leak: data [memleak] monitoring-plugins-2.4.0/plugins/check_ups.c:141:3: error: Memory leak: message [memleak] monitoring-plugins-2.4.0/plugins/check_ups.c:147:3: error: Memory leak: ups_status [memleak] monitoring-plugins-2.4.0/plugins/check_ups.c:219:3: error: Memory leak: data [memleak] monitoring-plugins-2.4.0/plugins/check_ups.c:122:7: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_ups.c:333:9: style: Variable 'tunits' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_ups.c:428:13: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/check_ups.c:539:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_ups.c:110:13: style: Variable 'ups_status' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/popen.c:251:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/popen.c:288:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeout_interval [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/runcmd.c:233:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/runcmd.c:276:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/runcmd.c:331:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable output [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/runcmd.c:311:12: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] monitoring-plugins-2.4.0/plugins/runcmd.c:128:32: error: Memory leak: cmd [memleak] monitoring-plugins-2.4.0/plugins/runcmd.c:132:3: error: Memory leak: cmd [memleak] monitoring-plugins-2.4.0/plugins/runcmd.c:141:3: error: Memory leak: cmd [memleak] monitoring-plugins-2.4.0/plugins/runcmd.c:288:10: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/runcmd.c:287:15: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/runcmd.c:287:15: note: Assignment 'buf=malloc(op->buflen)', assigned value is 0 monitoring-plugins-2.4.0/plugins/runcmd.c:288:10: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/runcmd.c:259:13: style: Variable 'len' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/popen.c:123:3: error: Memory leak: cmd [memleak] monitoring-plugins-2.4.0/plugins/popen.c:127:3: error: Memory leak: cmd [memleak] monitoring-plugins-2.4.0/plugins/popen.c:135:3: error: Memory leak: cmd [memleak] monitoring-plugins-2.4.0/plugins/urlize.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/urlize.c:163:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/urlize.c:118:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] monitoring-plugins-2.4.0/plugins/urlize.c:138:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/urlize.c:141:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/urlize.c:121:16: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/urlize.c:119:14: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/urlize.c:119:14: note: Assignment 'buf=malloc(MAX_INPUT_BUFFER)', assigned value is 0 monitoring-plugins-2.4.0/plugins/urlize.c:121:16: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/urlize.c:50:8: style: Variable 'url' can be declared as pointer to const [constVariablePointer] monitoring-plugins-2.4.0/plugins/urlize.c:58:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/urlize.c:100:7: style: Variable 'url' is assigned a value that is never used. [unreadVariable] monitoring-plugins-2.4.0/plugins/utils.c:228:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/utils.c:261:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/utils.c:289:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/utils.c:642:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/plugins/utils.c:683:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/tap/tap.c:120:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/tap/tap.c:177:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/tap/tap.c:196:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/tap/tap.c:247:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/tap/tap.c:276:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] monitoring-plugins-2.4.0/tap/tap.c:85:3: warning: Return value of function vasprintf() is not used. [ignoredReturnValue] monitoring-plugins-2.4.0/tap/tap.c:335:2: warning: Return value of function vasprintf() is not used. [ignoredReturnValue] monitoring-plugins-2.4.0/tap/tap.c:112:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] monitoring-plugins-2.4.0/tap/tap.c:295:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] monitoring-plugins-2.4.0/tap/tap.c:315:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] monitoring-plugins-2.4.0/tap/tap.c:413:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] monitoring-plugins-2.4.0/tap/tap.c:214:21: style: Parameter 'reason' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins/utils.c:210:9: warning: If memory allocation fails, then there is a possible null pointer dereference: foo [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/utils.c:204:20: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/utils.c:204:20: note: Assignment 'foo=calloc(sizeof(char),len+1)', assigned value is 0 monitoring-plugins-2.4.0/plugins/utils.c:210:9: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/utils.c:211:2: warning: If memory allocation fails, then there is a possible null pointer dereference: foo [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/utils.c:204:20: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/utils.c:204:20: note: Assignment 'foo=calloc(sizeof(char),len+1)', assigned value is 0 monitoring-plugins-2.4.0/plugins/utils.c:211:2: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/utils.c:505:11: warning: Either the condition 'dest==NULL' is redundant or there is possible null pointer dereference: dest. [nullPointerRedundantCheck] monitoring-plugins-2.4.0/plugins/utils.c:502:11: note: Assuming that condition 'dest==NULL' is not redundant monitoring-plugins-2.4.0/plugins/utils.c:505:11: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/utils.c:506:2: warning: Either the condition 'dest==NULL' is redundant or there is possible null pointer dereference: dest. [nullPointerRedundantCheck] monitoring-plugins-2.4.0/plugins/utils.c:502:11: note: Assuming that condition 'dest==NULL' is not redundant monitoring-plugins-2.4.0/plugins/utils.c:506:2: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/utils.c:548:2: warning: Either the condition 'dest==NULL' is redundant or there is possible null pointer dereference: dest. [nullPointerRedundantCheck] monitoring-plugins-2.4.0/plugins/utils.c:544:11: note: Assuming that condition 'dest==NULL' is not redundant monitoring-plugins-2.4.0/plugins/utils.c:548:2: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/utils.c:547:16: warning: Either the condition 'dest==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] monitoring-plugins-2.4.0/plugins/utils.c:544:11: note: Assuming that condition 'dest==NULL' is not redundant monitoring-plugins-2.4.0/plugins/utils.c:547:16: note: Null pointer addition monitoring-plugins-2.4.0/plugins/utils.c:152:24: style: Parameter 'number' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins/utils.c:220:24: style: Parameter 'number' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins/utils.c:260:21: style: Parameter 'number' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins/utils.c:288:22: style: Parameter 'number' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins/utils.c:320:23: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] monitoring-plugins-2.4.0/plugins/check_nwstat.c:572:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1447:18: warning: If memory allocation fails, then there is a possible null pointer dereference: volume_name [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1446:27: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_nwstat.c:1446:27: note: Assignment 'volume_name=strdup(optarg+3)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_nwstat.c:1447:18: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nwstat.c:1453:18: warning: If memory allocation fails, then there is a possible null pointer dereference: volume_name [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1452:27: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_nwstat.c:1452:27: note: Assignment 'volume_name=strdup(optarg+3)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_nwstat.c:1453:18: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nwstat.c:1459:18: warning: If memory allocation fails, then there is a possible null pointer dereference: volume_name [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1458:27: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_nwstat.c:1458:27: note: Assignment 'volume_name=strdup(optarg+3)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_nwstat.c:1459:18: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nwstat.c:1484:18: warning: If memory allocation fails, then there is a possible null pointer dereference: volume_name [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1483:27: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_nwstat.c:1483:27: note: Assignment 'volume_name=strdup(optarg+3)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_nwstat.c:1484:18: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nwstat.c:1490:18: warning: If memory allocation fails, then there is a possible null pointer dereference: volume_name [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1489:27: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_nwstat.c:1489:27: note: Assignment 'volume_name=strdup(optarg+3)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_nwstat.c:1490:18: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nwstat.c:1496:18: warning: If memory allocation fails, then there is a possible null pointer dereference: volume_name [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1495:27: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_nwstat.c:1495:27: note: Assignment 'volume_name=strdup(optarg+3)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_nwstat.c:1496:18: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nwstat.c:1502:18: warning: If memory allocation fails, then there is a possible null pointer dereference: volume_name [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1501:27: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_nwstat.c:1501:27: note: Assignment 'volume_name=strdup(optarg+3)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_nwstat.c:1502:18: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nwstat.c:1508:18: warning: If memory allocation fails, then there is a possible null pointer dereference: volume_name [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1507:27: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_nwstat.c:1507:27: note: Assignment 'volume_name=strdup(optarg+3)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_nwstat.c:1508:18: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nwstat.c:1514:18: warning: If memory allocation fails, then there is a possible null pointer dereference: volume_name [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1513:27: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_nwstat.c:1513:27: note: Assignment 'volume_name=strdup(optarg+4)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_nwstat.c:1514:18: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nwstat.c:1520:18: warning: If memory allocation fails, then there is a possible null pointer dereference: volume_name [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1519:27: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_nwstat.c:1519:27: note: Assignment 'volume_name=strdup(optarg+4)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_nwstat.c:1520:18: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nwstat.c:1541:18: warning: If memory allocation fails, then there is a possible null pointer dereference: nrmp_name [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1540:25: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_nwstat.c:1540:25: note: Assignment 'nrmp_name=strdup(optarg+4)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_nwstat.c:1541:18: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nwstat.c:1547:18: warning: If memory allocation fails, then there is a possible null pointer dereference: nrmm_name [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1546:25: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_nwstat.c:1546:25: note: Assignment 'nrmm_name=strdup(optarg+4)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_nwstat.c:1547:18: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nwstat.c:1555:18: warning: If memory allocation fails, then there is a possible null pointer dereference: nrms_name [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1554:25: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_nwstat.c:1554:25: note: Assignment 'nrms_name=strdup(optarg+4)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_nwstat.c:1555:18: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nwstat.c:1563:18: warning: If memory allocation fails, then there is a possible null pointer dereference: nss1_name [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1562:25: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_nwstat.c:1562:25: note: Assignment 'nss1_name=strdup(optarg+4)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_nwstat.c:1563:18: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nwstat.c:1571:18: warning: If memory allocation fails, then there is a possible null pointer dereference: nss2_name [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1570:25: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_nwstat.c:1570:25: note: Assignment 'nss2_name=strdup(optarg+4)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_nwstat.c:1571:18: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nwstat.c:1579:18: warning: If memory allocation fails, then there is a possible null pointer dereference: nss3_name [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1578:25: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_nwstat.c:1578:25: note: Assignment 'nss3_name=strdup(optarg+4)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_nwstat.c:1579:18: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nwstat.c:1587:18: warning: If memory allocation fails, then there is a possible null pointer dereference: nss4_name [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1586:25: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_nwstat.c:1586:25: note: Assignment 'nss4_name=strdup(optarg+4)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_nwstat.c:1587:18: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nwstat.c:1595:18: warning: If memory allocation fails, then there is a possible null pointer dereference: nss5_name [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1594:25: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_nwstat.c:1594:25: note: Assignment 'nss5_name=strdup(optarg+4)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_nwstat.c:1595:18: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nwstat.c:1604:18: warning: If memory allocation fails, then there is a possible null pointer dereference: nss6_name [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1603:25: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_nwstat.c:1603:25: note: Assignment 'nss6_name=strdup(optarg+4)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_nwstat.c:1604:18: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nwstat.c:1613:18: warning: If memory allocation fails, then there is a possible null pointer dereference: nss7_name [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1612:25: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_nwstat.c:1612:25: note: Assignment 'nss7_name=strdup(optarg+4)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_nwstat.c:1613:18: note: Null pointer dereference monitoring-plugins-2.4.0/plugins/check_nwstat.c:173:6: style: Redundant assignment of 'argv' to itself. [selfAssignment] monitoring-plugins-2.4.0/plugins/check_nwstat.c:571:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] monitoring-plugins-2.4.0/plugins/check_nwstat.c:563:10: note: result is assigned monitoring-plugins-2.4.0/plugins/check_nwstat.c:571:9: note: result is overwritten monitoring-plugins-2.4.0/plugins/check_nwstat.c:571:9: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] monitoring-plugins-2.4.0/plugins/check_nwstat.c:565:10: note: result is assigned monitoring-plugins-2.4.0/plugins/check_nwstat.c:571:9: note: result is overwritten monitoring-plugins-2.4.0/plugins/check_nwstat.c:1632:23: style: Checking if unsigned expression 'socket_timeout' is less than zero. [unsignedLessThanZero] monitoring-plugins-2.4.0/plugins/check_nwstat.c:1357:23: style: Variable 'longopts' can be declared as const array [constVariable] monitoring-plugins-2.4.0/plugins/check_nwstat.c:845:24: style: Variable 'purgeable_disk_space' is assigned a value that is never used. [unreadVariable] diff: head monitoring-plugins-2.4.0/gl/error.c:142:5: error: #error Please port fcntl to your platform [preprocessorErrorDirective] head monitoring-plugins-2.4.0/gl/fpurge.c:146:4: error: #error "Please port gnulib fpurge.c to your platform! Look at the definitions of fflush, setvbuf and ungetc on your system, then report this to bug-gnulib." [preprocessorErrorDirective] head monitoring-plugins-2.4.0/gl/freading.c:72:4: error: #error "Please port gnulib freading.c to your platform!" [preprocessorErrorDirective] head monitoring-plugins-2.4.0/gl/fseeko.c:111:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." [preprocessorErrorDirective] head monitoring-plugins-2.4.0/gl/getprogname.c:291:4: error: #error "getprogname module not ported to this OS" [preprocessorErrorDirective] head monitoring-plugins-2.4.0/gl/ialloc.h:28:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head monitoring-plugins-2.4.0/gl/malloc/dynarray-skeleton.c:95:3: error: #error "DYNARRAY_STRUCT must be defined" [preprocessorErrorDirective] head monitoring-plugins-2.4.0/gl/stat-time.h:30:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head monitoring-plugins-2.4.0/gl/xalloc.h:29:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head monitoring-plugins-2.4.0/gl/xsize.h:34:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head monitoring-plugins-2.4.0/lib/parse_ini.c:398:53: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] head monitoring-plugins-2.4.0/lib/utils_base.c:157:24: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_range [nullPointerOutOfMemory] monitoring-plugins-2.4.0/lib/utils_base.c:123:31: note: Assuming allocation function fails monitoring-plugins-2.4.0/lib/utils_base.c:123:15: note: Assignment 'temp_range=(struct range*)calloc(1,sizeof(struct range))', assigned value is 0 monitoring-plugins-2.4.0/lib/utils_base.c:157:24: note: Null pointer dereference 2.17.0 monitoring-plugins-2.4.0/lib/utils_base.c:179:4: error: Memory leak: temp_thresholds [memleak] 2.17.0 monitoring-plugins-2.4.0/lib/utils_base.c:184:4: error: Memory leak: temp_thresholds [memleak] 2.17.0 monitoring-plugins-2.4.0/plugins-root/pst3.c:120:17: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head monitoring-plugins-2.4.0/plugins/check_cluster.c:84:46: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] head monitoring-plugins-2.4.0/plugins/check_curl.c:47:2: error: #error libcurl compiled without HTTP support, compiling check_curl plugin does not makes a lot of sense [preprocessorErrorDirective] head monitoring-plugins-2.4.0/plugins/check_http.c:745:60: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] head monitoring-plugins-2.4.0/plugins/check_http.c:938:8: style: Variable 'microsec_ssl' is assigned a value that is never used. [unreadVariable] head monitoring-plugins-2.4.0/plugins/check_ldap.c:98:6: style: Variable 'version' is assigned a value that is never used. [unreadVariable] head monitoring-plugins-2.4.0/plugins/check_nagios.c:64:6: style: Variable 'procuid' is assigned a value that is never used. [unreadVariable] head monitoring-plugins-2.4.0/plugins/check_nagios.c:65:6: style: Variable 'procpid' is assigned a value that is never used. [unreadVariable] head monitoring-plugins-2.4.0/plugins/check_nagios.c:66:6: style: Variable 'procppid' is assigned a value that is never used. [unreadVariable] head monitoring-plugins-2.4.0/plugins/check_nagios.c:67:6: style: Variable 'procvsz' is assigned a value that is never used. [unreadVariable] head monitoring-plugins-2.4.0/plugins/check_nagios.c:68:6: style: Variable 'procrss' is assigned a value that is never used. [unreadVariable] head monitoring-plugins-2.4.0/plugins/check_nagios.c:69:8: style: Variable 'procpcpu' is assigned a value that is never used. [unreadVariable] head monitoring-plugins-2.4.0/plugins/check_nt.c:658:49: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] head monitoring-plugins-2.4.0/plugins/check_snmp.c:840:56: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] head monitoring-plugins-2.4.0/plugins/check_ssh.c:236:15: style: Variable 'iteration' is assigned a value that is never used. [unreadVariable] head monitoring-plugins-2.4.0/plugins/check_swap.c:76:11: style: Variable 'dsktotal_mb' is assigned a value that is never used. [unreadVariable] head monitoring-plugins-2.4.0/plugins/check_swap.c:76:28: style: Variable 'dskused_mb' is assigned a value that is never used. [unreadVariable] head monitoring-plugins-2.4.0/plugins/check_swap.c:76:44: style: Variable 'dskfree_mb' is assigned a value that is never used. [unreadVariable] head monitoring-plugins-2.4.0/plugins/check_swap.c:77:11: style: Variable 'tmp_KB' is assigned a value that is never used. [unreadVariable] head monitoring-plugins-2.4.0/plugins/check_swap.c:83:6: style: Variable 'conv_factor' is assigned a value that is never used. [unreadVariable] head monitoring-plugins-2.4.0/plugins/check_tcp.c:126:25: warning: If memory allocation fails, then there is a possible null pointer dereference: SERVICE [nullPointerOutOfMemory] monitoring-plugins-2.4.0/plugins/check_tcp.c:124:19: note: Assuming allocation function fails monitoring-plugins-2.4.0/plugins/check_tcp.c:124:19: note: Assignment 'SERVICE=strdup(progname+6)', assigned value is 0 monitoring-plugins-2.4.0/plugins/check_tcp.c:126:25: note: Null pointer dereference DONE