2025-01-24 12:54 ftp://ftp.de.debian.org/debian/pool/main/n/nagios-nrpe/nagios-nrpe_4.1.3.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --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 -j6 platform: Linux-6.12.6-amd64-x86_64-with-glibc2.40 python: 3.13.1 client-version: 1.3.66 compiler: g++ (Debian 14.2.0-14) 14.2.0 cppcheck: head 2.16.0 head-info: a1a415d (2025-01-23 15:05:36 +0100) count: 177 154 elapsed-time: 0.9 0.4 head-timing-info: old-timing-info: head results: nrpe-nrpe-4.1.3/src/generate_dh_params.c:68:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/generate_dh_params.c:117:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/generate_dh_params.c:158:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe-ssl.c:86:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ssl_proto_ver [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe-ssl.c:121:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe-ssl.c:183:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cacert_file [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe-ssl.c:227:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe-ssl.c:269:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable log_opts [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/acl.c:151:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/acl.c:294:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/acl.c:411:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/acl.c:499:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip_acl_head [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/acl.c:630:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/acl.c:707:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip_acl_head [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/check_nrpe.c:114:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/check_nrpe.c:185:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_INPUT_BUFFER [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/check_nrpe.c:545:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/check_nrpe.c:616:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_OK [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/check_nrpe.c:627:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/check_nrpe.c:661:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_UNKNOWN [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/check_nrpe.c:667:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/check_nrpe.c:873:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_OK [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/check_nrpe.c:999:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NRPE_PACKET_VERSION_2 [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/check_nrpe.c:1122:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NRPE_PACKET_VERSION_3 [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/check_nrpe.c:1235:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_ssl [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/check_nrpe.c:1467:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/check_nrpe.c:1481:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_WR [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/utils.c:128:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/utils.c:147:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/utils.c:206:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/utils.c:247:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/utils.c:277:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/utils.c:425:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/utils.c:491:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/snprintf.c:1160:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chunks [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:136:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:211:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:371:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:444:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:456:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:473:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:501:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_CRITICAL [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:543:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:630:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_FILENAME_LENGTH [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:921:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_FILENAME_LENGTH [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:991:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KERN [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:1044:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:1089:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_MAXHOST [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:1179:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:1270:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:1320:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:1383:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:1516:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_INPUT_BUFFER [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:1775:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:1898:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:1910:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_ssl [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:2103:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_INPUT_BUFFER [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:2291:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_CRITICAL [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:2297:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:2309:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:2387:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:2432:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:2491:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:2518:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:2553:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NRPE_PACKET_VERSION_3 [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:2672:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:2691:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/nrpe.c:2748:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_INPUT_BUFFER [valueFlowBailoutIncompleteVar] nrpe-nrpe-4.1.3/src/acl.c:641:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nrpe-nrpe-4.1.3/src/acl.c:676:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nrpe-nrpe-4.1.3/src/acl.c:648:14: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: trimmed_tok [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/acl.c:644:23: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/acl.c:644:23: note: Assignment 'trimmed_tok=malloc(sizeof(char)*(strlen(tok)+1))', assigned value is 0 nrpe-nrpe-4.1.3/src/acl.c:648:14: note: Null pointer dereference nrpe-nrpe-4.1.3/src/acl.c:240:26: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] nrpe-nrpe-4.1.3/src/acl.c:499:18: style: Variable 'ip_acl_curr' can be declared as pointer to const [constVariablePointer] nrpe-nrpe-4.1.3/src/acl.c:503:22: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] nrpe-nrpe-4.1.3/src/acl.c:579:25: style: Variable 'resolved' can be declared as pointer to const [constVariablePointer] nrpe-nrpe-4.1.3/src/acl.c:240:26: warning: Shifting 32-bit value by 32 bits is undefined behaviour. See condition at line 233. [shiftTooManyBits] nrpe-nrpe-4.1.3/src/acl.c:233:21: note: Assuming that condition 'data[4]<0' is not redundant nrpe-nrpe-4.1.3/src/acl.c:240:26: note: Shift nrpe-nrpe-4.1.3/src/acl.c:579:34: style: Variable 'resolved' is assigned a value that is never used. [unreadVariable] nrpe-nrpe-4.1.3/src/acl.c:628:20: style: Variable 'add_to_acl' is assigned a value that is never used. [unreadVariable] nrpe-nrpe-4.1.3/src/acl.c:624:8: style: Unused variable: saveptr [unusedVariable] nrpe-nrpe-4.1.3/src/utils.c:334:25: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] nrpe-nrpe-4.1.3/src/utils.c:338:25: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] nrpe-nrpe-4.1.3/src/utils.c:418:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] nrpe-nrpe-4.1.3/src/utils.c:308:4: error: Common realloc mistake: 'var' nulled but not freed upon failure [memleakOnRealloc] nrpe-nrpe-4.1.3/src/utils.c:351:20: warning: If memory allocation fails, then there is a possible null pointer dereference: user [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/utils.c:340:17: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/utils.c:340:17: note: Assignment 'user=strdup(pw->pw_name)', assigned value is 0 nrpe-nrpe-4.1.3/src/utils.c:351:20: note: Null pointer dereference nrpe-nrpe-4.1.3/src/utils.c:352:17: warning: If memory allocation fails, then there is a possible null pointer dereference: user [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/utils.c:340:17: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/utils.c:340:17: note: Assignment 'user=strdup(pw->pw_name)', assigned value is 0 nrpe-nrpe-4.1.3/src/utils.c:352:17: note: Null pointer dereference nrpe-nrpe-4.1.3/src/utils.c:85:37: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] nrpe-nrpe-4.1.3/src/utils.c:265:15: style: Variable 'path' can be declared as pointer to const [constVariablePointer] nrpe-nrpe-4.1.3/src/utils.c:267:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] nrpe-nrpe-4.1.3/src/utils.c:269:23: style: Variable 'value' can be declared as pointer to const [constVariablePointer] nrpe-nrpe-4.1.3/src/utils.c:389:26: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] nrpe-nrpe-4.1.3/src/utils.c:337:27: error: Uninitialized variable: pw [legacyUninitvar] nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:52:28: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:53:25: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:56:28: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:59:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:60:33: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:63:24: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:65:31: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:93:30: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:94:27: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:97:30: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:100:24: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:101:35: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:104:26: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:106:33: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:43:43: warning: If resource allocation fails, then there is a possible null pointer dereference: services_fp [nullPointerOutOfResources] nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:41:22: note: Assuming allocation function fails nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:41:22: note: Assignment 'services_fp=fopen("/usr/local/nagios/etc/services.cfg","r")', assigned value is 0 nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:43:43: note: Null pointer dereference nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:75:12: warning: If resource allocation fails, then there is a possible null pointer dereference: command_fp [nullPointerOutOfResources] nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:42:21: note: Assuming allocation function fails nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:42:21: note: Assignment 'command_fp=fopen("/usr/local/nagios/var/rw/nagios.cmd","a")', assigned value is 0 nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:75:12: note: Null pointer dereference nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:84:45: warning: If resource allocation fails, then there is a possible null pointer dereference: services_fp [nullPointerOutOfResources] nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:82:24: note: Assuming allocation function fails nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:82:24: note: Assignment 'services_fp=fopen("/usr/local/nagios/etc/services.cfg","r")', assigned value is 0 nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:84:45: note: Null pointer dereference nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:116:14: warning: If resource allocation fails, then there is a possible null pointer dereference: command_fp [nullPointerOutOfResources] nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:83:23: note: Assuming allocation function fails nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:83:23: note: Assignment 'command_fp=fopen("/usr/local/nagios/var/rw/nagios.cmd","a")', assigned value is 0 nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:116:14: note: Null pointer dereference nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:11:26: style: Parameter 'argv' can be declared as const array [constParameter] nrpe-nrpe-4.1.3/src/snprintf.c:746:19: style: Condition 'maxlen>0' is always true [knownConditionTrueFalse] nrpe-nrpe-4.1.3/src/snprintf.c:743:13: note: Assuming that condition 'maxlen!=0' is not redundant nrpe-nrpe-4.1.3/src/snprintf.c:746:19: note: Condition 'maxlen>0' is always true nrpe-nrpe-4.1.3/src/snprintf.c:1030:5: style: Condition 'caps' is always false [knownConditionTrueFalse] nrpe-nrpe-4.1.3/src/snprintf.c:966:13: note: Assignment 'caps=0', assigned value is 0 nrpe-nrpe-4.1.3/src/snprintf.c:1030:5: note: Condition 'caps' is always false nrpe-nrpe-4.1.3/src/snprintf.c:767:13: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] nrpe-nrpe-4.1.3/src/snprintf.c:275:2: error: va_list 'args' used before va_start() was called. [va_list_usedBeforeStarted] nrpe-nrpe-4.1.3/src/snprintf.c:1229:2: error: va_list 'ap2' used before va_start() was called. [va_list_usedBeforeStarted] nrpe-nrpe-4.1.3/src/snprintf.c:1231:35: error: va_list 'ap2' used before va_start() was called. [va_list_usedBeforeStarted] nrpe-nrpe-4.1.3/src/check_nrpe.c:640:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nrpe-nrpe-4.1.3/src/check_nrpe.c:644:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nrpe-nrpe-4.1.3/src/check_nrpe.c:646:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nrpe-nrpe-4.1.3/src/check_nrpe.c:1038:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/check_nrpe.c:1038:3: note: Null pointer dereference nrpe-nrpe-4.1.3/src/check_nrpe.c:1039:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/check_nrpe.c:1039:3: note: Null pointer dereference nrpe-nrpe-4.1.3/src/check_nrpe.c:1040:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/check_nrpe.c:1040:3: note: Null pointer dereference nrpe-nrpe-4.1.3/src/check_nrpe.c:1041:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/check_nrpe.c:1041:3: note: Null pointer dereference nrpe-nrpe-4.1.3/src/check_nrpe.c:1042:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/check_nrpe.c:1042:3: note: Null pointer dereference nrpe-nrpe-4.1.3/src/check_nrpe.c:1043:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/check_nrpe.c:1043:3: note: Null pointer dereference nrpe-nrpe-4.1.3/src/check_nrpe.c:1047:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/check_nrpe.c:1047:3: note: Null pointer dereference nrpe-nrpe-4.1.3/src/check_nrpe.c:1143:23: warning: Either the condition 'v3_receive_packet' is redundant or there is possible null pointer dereference: v3_receive_packet. [nullPointerRedundantCheck] nrpe-nrpe-4.1.3/src/check_nrpe.c:1147:8: note: Assuming that condition 'v3_receive_packet' is not redundant nrpe-nrpe-4.1.3/src/check_nrpe.c:1143:23: note: Null pointer dereference nrpe-nrpe-4.1.3/src/check_nrpe.c:287:20: style: Checking if unsigned expression 'server_port' is less than zero. [unsignedLessThanZero] nrpe-nrpe-4.1.3/src/check_nrpe.c:614:28: style: Parameter 'state_text' can be declared as pointer to const [constParameterPointer] nrpe-nrpe-4.1.3/src/check_nrpe.c:634:8: style: Variable 'timeout_val' can be declared as pointer to const [constVariablePointer] nrpe-nrpe-4.1.3/src/check_nrpe.c:865:18: style: Variable 'inaddr' can be declared as pointer to const [constVariablePointer] nrpe-nrpe-4.1.3/src/check_nrpe.c:187:8: style: Variable 'c' is assigned a value that is never used. [unreadVariable] nrpe-nrpe-4.1.3/src/check_nrpe.c:557:10: style: Variable 'sz' is assigned a value that is never used. [unreadVariable] nrpe-nrpe-4.1.3/src/nrpe.c:670:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nrpe-nrpe-4.1.3/src/nrpe.c:678:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nrpe-nrpe-4.1.3/src/nrpe.c:736:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nrpe-nrpe-4.1.3/src/nrpe.c:737:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nrpe-nrpe-4.1.3/src/nrpe.c:942:20: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] nrpe-nrpe-4.1.3/src/nrpe.c:2317:26: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] nrpe-nrpe-4.1.3/src/nrpe.c:2341:26: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] nrpe-nrpe-4.1.3/src/nrpe.c:2732:45: style: Condition 'selected_macro==NULL' is always false [knownConditionTrueFalse] nrpe-nrpe-4.1.3/src/nrpe.c:1121:3: error: Resource leak: listen_sock [resourceLeak] nrpe-nrpe-4.1.3/src/nrpe.c:578:7: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/nrpe.c:574:21: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/nrpe.c:574:21: note: Assignment 'copy=strdup(input)', assigned value is 0 nrpe-nrpe-4.1.3/src/nrpe.c:578:7: note: Null pointer dereference nrpe-nrpe-4.1.3/src/nrpe.c:584:11: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/nrpe.c:574:21: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/nrpe.c:574:21: note: Assignment 'copy=strdup(input)', assigned value is 0 nrpe-nrpe-4.1.3/src/nrpe.c:578:15: note: Assuming condition is false nrpe-nrpe-4.1.3/src/nrpe.c:584:11: note: Null pointer dereference nrpe-nrpe-4.1.3/src/nrpe.c:1192:28: warning: If memory allocation fails, then there is a possible null pointer dereference: fdset [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/nrpe.c:1189:28: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/nrpe.c:1189:11: note: Assignment 'fdset=(fd_set*)calloc(((maxfd+1)+(NFDBITS-1))/(NFDBITS),sizeof(fd_mask))', assigned value is 0 nrpe-nrpe-4.1.3/src/nrpe.c:1192:28: note: Null pointer dereference nrpe-nrpe-4.1.3/src/nrpe.c:1618:12: warning: If memory allocation fails, then there is a possible null pointer dereference: send_buff [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/nrpe.c:1617:22: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/nrpe.c:1617:22: note: Assignment 'send_buff=calloc(1,size)', assigned value is 0 nrpe-nrpe-4.1.3/src/nrpe.c:1618:12: note: Null pointer dereference nrpe-nrpe-4.1.3/src/nrpe.c:1636:13: warning: If memory allocation fails, then there is a possible null pointer dereference: send_buff [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/nrpe.c:1635:23: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/nrpe.c:1635:23: note: Assignment 'send_buff=calloc(1,size)', assigned value is 0 nrpe-nrpe-4.1.3/src/nrpe.c:1636:13: note: Null pointer dereference nrpe-nrpe-4.1.3/src/nrpe.c:1727:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/nrpe.c:1727:3: note: Null pointer dereference nrpe-nrpe-4.1.3/src/nrpe.c:1728:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/nrpe.c:1728:3: note: Null pointer dereference nrpe-nrpe-4.1.3/src/nrpe.c:1729:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/nrpe.c:1729:3: note: Null pointer dereference nrpe-nrpe-4.1.3/src/nrpe.c:1730:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/nrpe.c:1730:3: note: Null pointer dereference nrpe-nrpe-4.1.3/src/nrpe.c:1731:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/nrpe.c:1731:3: note: Null pointer dereference nrpe-nrpe-4.1.3/src/nrpe.c:1735:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/nrpe.c:1735:3: note: Null pointer dereference nrpe-nrpe-4.1.3/src/nrpe.c:737:16: style: Variable 'temp_buffer' is reassigned a value before the old one has been used. [redundantAssignment] nrpe-nrpe-4.1.3/src/nrpe.c:736:16: note: temp_buffer is assigned nrpe-nrpe-4.1.3/src/nrpe.c:737:16: note: temp_buffer is overwritten nrpe-nrpe-4.1.3/src/nrpe.c:1698:12: style: Variable 'pkt_size' is reassigned a value before the old one has been used. [redundantAssignment] nrpe-nrpe-4.1.3/src/nrpe.c:1692:11: note: pkt_size is assigned nrpe-nrpe-4.1.3/src/nrpe.c:1698:12: note: pkt_size is overwritten nrpe-nrpe-4.1.3/src/nrpe.c:630:12: style: Local variable 'config_file' shadows outer variable [shadowVariable] nrpe-nrpe-4.1.3/src/nrpe.c:79:11: note: Shadowed declaration nrpe-nrpe-4.1.3/src/nrpe.c:630:12: note: Shadow variable nrpe-nrpe-4.1.3/src/nrpe.c:921:12: style: Local variable 'config_file' shadows outer variable [shadowVariable] nrpe-nrpe-4.1.3/src/nrpe.c:79:11: note: Shadowed declaration nrpe-nrpe-4.1.3/src/nrpe.c:921:12: note: Shadow variable nrpe-nrpe-4.1.3/src/nrpe.c:2144:14: style: Local variable 'output_size' shadows outer variable [shadowVariable] nrpe-nrpe-4.1.3/src/nrpe.c:2106:12: note: Shadowed declaration nrpe-nrpe-4.1.3/src/nrpe.c:2144:14: note: Shadow variable nrpe-nrpe-4.1.3/src/nrpe.c:912:17: style: Variable 'dirfile' can be declared as pointer to const [constVariablePointer] nrpe-nrpe-4.1.3/src/nrpe.c:988:28: style: Parameter 'varvalue' can be declared as pointer to const [constParameterPointer] nrpe-nrpe-4.1.3/src/nrpe.c:1074:30: style: Parameter 'command_name' can be declared as pointer to const [constParameterPointer] nrpe-nrpe-4.1.3/src/nrpe.c:1512:12: style: Variable 'temp_command' can be declared as pointer to const [constVariablePointer] nrpe-nrpe-4.1.3/src/nrpe.c:1791:37: style: Parameter 'ssl_ptr' can be declared as pointer to const [constParameterPointer] nrpe-nrpe-4.1.3/src/nrpe.c:2306:16: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] nrpe-nrpe-4.1.3/src/nrpe.c:2307:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] nrpe-nrpe-4.1.3/src/nrpe.c:2546:16: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] nrpe-nrpe-4.1.3/src/nrpe.c:2667:36: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] nrpe-nrpe-4.1.3/src/nrpe.c:2687:12: style: Variable 'selected_macro' can be declared as pointer to const [constVariablePointer] nrpe-nrpe-4.1.3/src/nrpe.c:138:12: style: Unused variable: y [unusedVariable] nrpe-nrpe-4.1.3/src/nrpe.c:637:16: style: Variable 'len' is assigned a value that is never used. [unreadVariable] nrpe-nrpe-4.1.3/src/nrpe.c:638:14: style: Variable 'x' is assigned a value that is never used. [unreadVariable] nrpe-nrpe-4.1.3/src/nrpe.c:628:14: style: Unused variable: st [unusedVariable] nrpe-nrpe-4.1.3/src/nrpe.c:1655:14: style: Variable 'buffer[0]' is assigned a value that is never used. [unreadVariable] nrpe-nrpe-4.1.3/src/nrpe.c:2381:19: style: Variable 'result' is assigned a value that is never used. [unreadVariable] nrpe-nrpe-4.1.3/src/nrpe.c:2382:16: style: Variable 'pid' is assigned a value that is never used. [unreadVariable] nrpe-nrpe-4.1.3/src/nrpe.c:2686:22: style: Variable 'arg_index' is assigned a value that is never used. [unreadVariable] nrpe-nrpe-4.1.3/src/nrpe.c:2749:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] diff: head nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:116:14: warning: If resource allocation fails, then there is a possible null pointer dereference: command_fp [nullPointerOutOfResources] nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:83:23: note: Assuming allocation function fails nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:83:23: note: Assignment 'command_fp=fopen("/usr/local/nagios/var/rw/nagios.cmd","a")', assigned value is 0 nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:116:14: note: Null pointer dereference head nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:43:43: warning: If resource allocation fails, then there is a possible null pointer dereference: services_fp [nullPointerOutOfResources] nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:41:22: note: Assuming allocation function fails nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:41:22: note: Assignment 'services_fp=fopen("/usr/local/nagios/etc/services.cfg","r")', assigned value is 0 nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:43:43: note: Null pointer dereference head nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:75:12: warning: If resource allocation fails, then there is a possible null pointer dereference: command_fp [nullPointerOutOfResources] nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:42:21: note: Assuming allocation function fails nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:42:21: note: Assignment 'command_fp=fopen("/usr/local/nagios/var/rw/nagios.cmd","a")', assigned value is 0 nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:75:12: note: Null pointer dereference head nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:84:45: warning: If resource allocation fails, then there is a possible null pointer dereference: services_fp [nullPointerOutOfResources] nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:82:24: note: Assuming allocation function fails nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:82:24: note: Assignment 'services_fp=fopen("/usr/local/nagios/etc/services.cfg","r")', assigned value is 0 nrpe-nrpe-4.1.3/contrib/nrpe_check_control.c:84:45: note: Null pointer dereference 2.16.0 nrpe-nrpe-4.1.3/src/acl.c:151:15: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/acl.c:151:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/acl.c:294:9: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/acl.c:294:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/acl.c:411:23: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/acl.c:411:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/acl.c:499:32: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable ip_acl_head [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/acl.c:499:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip_acl_head [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/acl.c:630:15: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/acl.c:630:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/acl.c:648:14: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: trimmed_tok [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/acl.c:644:23: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/acl.c:644:23: note: Assignment 'trimmed_tok=malloc(sizeof(char)*(strlen(tok)+1))', assigned value is 0 nrpe-nrpe-4.1.3/src/acl.c:648:14: note: Null pointer dereference 2.16.0 nrpe-nrpe-4.1.3/src/acl.c:707:31: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable ip_acl_head [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/acl.c:707:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip_acl_head [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/check_nrpe.c:1038:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/check_nrpe.c:1038:3: note: Null pointer dereference head nrpe-nrpe-4.1.3/src/check_nrpe.c:1039:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/check_nrpe.c:1039:3: note: Null pointer dereference head nrpe-nrpe-4.1.3/src/check_nrpe.c:1040:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/check_nrpe.c:1040:3: note: Null pointer dereference head nrpe-nrpe-4.1.3/src/check_nrpe.c:1041:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/check_nrpe.c:1041:3: note: Null pointer dereference head nrpe-nrpe-4.1.3/src/check_nrpe.c:1042:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/check_nrpe.c:1042:3: note: Null pointer dereference head nrpe-nrpe-4.1.3/src/check_nrpe.c:1043:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/check_nrpe.c:1043:3: note: Null pointer dereference head nrpe-nrpe-4.1.3/src/check_nrpe.c:1047:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/check_nrpe.c:1035:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/check_nrpe.c:1047:3: note: Null pointer dereference 2.16.0 nrpe-nrpe-4.1.3/src/check_nrpe.c:1122:21: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable NRPE_PACKET_VERSION_3 [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/check_nrpe.c:1122:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NRPE_PACKET_VERSION_3 [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/check_nrpe.c:114:16: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/check_nrpe.c:114:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/check_nrpe.c:1235:6: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable use_ssl [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/check_nrpe.c:1235:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_ssl [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/check_nrpe.c:1467:9: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/check_nrpe.c:1467:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/check_nrpe.c:1481:15: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable SHUT_WR [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/check_nrpe.c:1481:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_WR [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/check_nrpe.c:185:16: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable MAX_INPUT_BUFFER [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/check_nrpe.c:185:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_INPUT_BUFFER [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/check_nrpe.c:545:9: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/check_nrpe.c:545:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/check_nrpe.c:616:23: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable STATE_OK [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/check_nrpe.c:616:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_OK [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/check_nrpe.c:627:59: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/check_nrpe.c:627:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/check_nrpe.c:661:9: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable STATE_UNKNOWN [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/check_nrpe.c:661:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_UNKNOWN [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/check_nrpe.c:667:16: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/check_nrpe.c:667:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/check_nrpe.c:873:11: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable STATE_OK [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/check_nrpe.c:873:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_OK [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/check_nrpe.c:999:20: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable NRPE_PACKET_VERSION_2 [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/check_nrpe.c:999:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NRPE_PACKET_VERSION_2 [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/generate_dh_params.c:117:11: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/generate_dh_params.c:117:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/generate_dh_params.c:158:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/generate_dh_params.c:158:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/generate_dh_params.c:68:11: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/generate_dh_params.c:68:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe-ssl.c:121:8: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe-ssl.c:121:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe-ssl.c:183:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable cacert_file [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe-ssl.c:183:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cacert_file [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe-ssl.c:227:19: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe-ssl.c:227:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe-ssl.c:269:31: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable log_opts [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe-ssl.c:269:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable log_opts [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe-ssl.c:86:16: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable ssl_proto_ver [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe-ssl.c:86:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ssl_proto_ver [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:1044:10: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:1044:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:1089:17: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable NI_MAXHOST [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:1089:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_MAXHOST [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:1179:21: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:1179:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:1192:28: warning: If memory allocation fails, then there is a possible null pointer dereference: fdset [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/nrpe.c:1189:28: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/nrpe.c:1189:11: note: Assignment 'fdset=(fd_set*)calloc(((maxfd+1)+(NFDBITS-1))/(NFDBITS),sizeof(fd_mask))', assigned value is 0 nrpe-nrpe-4.1.3/src/nrpe.c:1192:28: note: Null pointer dereference 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:1270:16: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:1270:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:1320:10: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:1320:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:136:21: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:136:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:1383:18: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:1383:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:1516:19: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable MAX_INPUT_BUFFER [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:1516:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_INPUT_BUFFER [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:1618:12: warning: If memory allocation fails, then there is a possible null pointer dereference: send_buff [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/nrpe.c:1617:22: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/nrpe.c:1617:22: note: Assignment 'send_buff=calloc(1,size)', assigned value is 0 nrpe-nrpe-4.1.3/src/nrpe.c:1618:12: note: Null pointer dereference head nrpe-nrpe-4.1.3/src/nrpe.c:1636:13: warning: If memory allocation fails, then there is a possible null pointer dereference: send_buff [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/nrpe.c:1635:23: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/nrpe.c:1635:23: note: Assignment 'send_buff=calloc(1,size)', assigned value is 0 nrpe-nrpe-4.1.3/src/nrpe.c:1636:13: note: Null pointer dereference head nrpe-nrpe-4.1.3/src/nrpe.c:1727:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/nrpe.c:1727:3: note: Null pointer dereference head nrpe-nrpe-4.1.3/src/nrpe.c:1728:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/nrpe.c:1728:3: note: Null pointer dereference head nrpe-nrpe-4.1.3/src/nrpe.c:1729:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/nrpe.c:1729:3: note: Null pointer dereference head nrpe-nrpe-4.1.3/src/nrpe.c:1730:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/nrpe.c:1730:3: note: Null pointer dereference head nrpe-nrpe-4.1.3/src/nrpe.c:1731:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/nrpe.c:1731:3: note: Null pointer dereference head nrpe-nrpe-4.1.3/src/nrpe.c:1735:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v3_send_packet [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/nrpe.c:1724:26: note: Assignment 'v3_send_packet=calloc(1,pkt_size)', assigned value is 0 nrpe-nrpe-4.1.3/src/nrpe.c:1735:3: note: Null pointer dereference 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:1775:15: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:1775:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:1898:9: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:1898:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:1910:6: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable use_ssl [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:1910:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_ssl [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:2103:19: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable MAX_INPUT_BUFFER [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:2103:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_INPUT_BUFFER [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:211:21: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:211:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:2291:7: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable STATE_CRITICAL [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:2291:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_CRITICAL [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:2297:8: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:2297:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:2309:19: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:2309:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:2387:10: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:2387:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:2432:10: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:2432:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:2491:9: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:2491:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:2518:16: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:2518:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:2553:20: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable NRPE_PACKET_VERSION_3 [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:2553:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NRPE_PACKET_VERSION_3 [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:2672:10: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:2672:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:2691:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:2691:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:2748:21: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable MAX_INPUT_BUFFER [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:2748:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_INPUT_BUFFER [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:371:16: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:371:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:444:20: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:444:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:456:16: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:456:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:473:10: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:473:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:501:8: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable STATE_CRITICAL [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:501:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_CRITICAL [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:543:43: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:543:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:578:7: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/nrpe.c:574:21: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/nrpe.c:574:21: note: Assignment 'copy=strdup(input)', assigned value is 0 nrpe-nrpe-4.1.3/src/nrpe.c:578:7: note: Null pointer dereference head nrpe-nrpe-4.1.3/src/nrpe.c:584:11: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/nrpe.c:574:21: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/nrpe.c:574:21: note: Assignment 'copy=strdup(input)', assigned value is 0 nrpe-nrpe-4.1.3/src/nrpe.c:578:15: note: Assuming condition is false nrpe-nrpe-4.1.3/src/nrpe.c:584:11: note: Null pointer dereference 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:630:24: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable MAX_FILENAME_LENGTH [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:630:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_FILENAME_LENGTH [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:921:24: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable MAX_FILENAME_LENGTH [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:921:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_FILENAME_LENGTH [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/nrpe.c:991:18: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable LOG_KERN [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/nrpe.c:991:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KERN [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/snprintf.c:1160:20: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable chunks [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/snprintf.c:1160:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chunks [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/utils.c:128:49: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/utils.c:128:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/utils.c:147:17: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/utils.c:147:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/utils.c:206:17: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/utils.c:206:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/utils.c:247:22: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/utils.c:247:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/utils.c:277:9: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/utils.c:277:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/utils.c:351:20: warning: If memory allocation fails, then there is a possible null pointer dereference: user [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/utils.c:340:17: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/utils.c:340:17: note: Assignment 'user=strdup(pw->pw_name)', assigned value is 0 nrpe-nrpe-4.1.3/src/utils.c:351:20: note: Null pointer dereference head nrpe-nrpe-4.1.3/src/utils.c:352:17: warning: If memory allocation fails, then there is a possible null pointer dereference: user [nullPointerOutOfMemory] nrpe-nrpe-4.1.3/src/utils.c:340:17: note: Assuming allocation function fails nrpe-nrpe-4.1.3/src/utils.c:340:17: note: Assignment 'user=strdup(pw->pw_name)', assigned value is 0 nrpe-nrpe-4.1.3/src/utils.c:352:17: note: Null pointer dereference 2.16.0 nrpe-nrpe-4.1.3/src/utils.c:425:18: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/utils.c:425:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/utils.c:491:14: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] head nrpe-nrpe-4.1.3/src/utils.c:491:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] 2.16.0 nrpe-nrpe-4.1.3/src/utils.c:516:3: error: Resource handle 'fh' freed twice. [doubleFree] nrpe-nrpe-4.1.3/src/utils.c:507:11: note: Resource handle 'fh' freed twice. nrpe-nrpe-4.1.3/src/utils.c:516:3: note: Resource handle 'fh' freed twice. 2.16.0 nrpe-nrpe-4.1.3/src/utils.c:523:3: error: Resource handle 'fh' freed twice. [doubleFree] nrpe-nrpe-4.1.3/src/utils.c:507:11: note: Resource handle 'fh' freed twice. nrpe-nrpe-4.1.3/src/utils.c:523:3: note: Resource handle 'fh' freed twice. DONE