2026-07-25 09:19 ftp://ftp.de.debian.org/debian/pool/main/s/service-wrapper-java/service-wrapper-java_3.5.51.orig.tar.gz cppcheck-options: --library=posix --library=gnu --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 -j96 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.21.0 head-info: 1ef5ef3 (2026-07-24 19:54:54 +0200) count: 244 288 elapsed-time: 128.9 22.7 head-timing-info: old-timing-info: head results: wrapper_3.5.51_src/src/c/loggerjni.c:77:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/loggerjni.c:104:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/loggerjni.c:151:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/testsuite.c:85:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUE_SUCCESS [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/testsuite.c:30:29: style: Parameter 'app' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/test_hashmap.c:37:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/test_javaadditionalparam.c:57:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tsJAP_testJavaAdditionalParamSuite [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:54:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:147:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:216:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapperjni.c:137:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapperjni.c:169:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CODESET [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapperjni.c:589:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapperjni.c:847:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JNI_FALSE [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapperjni.c:857:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JNI_FALSE [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_i18n.c:1492:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CODESET [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_i18n.c:1700:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CODESET [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_i18n.c:1845:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_i18n.c:2090:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CODESET [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_i18n.c:2117:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/logger_file.c:559:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_MARK [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/logger_file.c:887:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_jvminfo.c:119:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/logger.c:1721:40: error: Syntax Error: AST broken, binary operator is missing operand(s). [internalAstError] wrapper_3.5.51_src/src/c/wrapper_file.c:251:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CODESET [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_ulimit.c:70:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIM_INFINITY [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_ulimit.c:138:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIM_INFINITY [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_ulimit.c:168:124: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_ulimit.c:318:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_ulimit.c:351:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper.c:6642:3: error: #error I dont know what to do for this host type. (in checkIfBinary()) [preprocessorErrorDirective] wrapper_3.5.51_src/src/c/loggerjni.c:182:33: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] wrapper_3.5.51_src/src/c/loggerjni.c:84:9: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wrapper_3.5.51_src/src/c/loggerjni.c:47:11: style: Variable 'lastErrorTextMB' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/loggerjni.c:208:35: style: Variable 'messageBufferSize' is assigned a value that is never used. [unreadVariable] wrapper_3.5.51_src/src/c/loggerjni.c:247:35: style: Variable 'messageBufferSize' is assigned a value that is never used. [unreadVariable] wrapper_3.5.51_src/src/c/test_filter.c:51:9: portability: %d in format string (no. 2) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wrapper_3.5.51_src/src/c/test_filter.c:51:9: portability: %d in format string (no. 3) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wrapper_3.5.51_src/src/c/test_filter.c:55:9: portability: %d in format string (no. 2) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wrapper_3.5.51_src/src/c/test_filter.c:61:9: portability: %d in format string (no. 3) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wrapper_3.5.51_src/src/c/test_filter.c:66:9: portability: %d in format string (no. 3) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:172:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:185:1: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:268:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:280:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:316:18: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:340:51: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:362:54: portability: Non reentrant function 'getgrent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrent_r'. [prohibitedgetgrentCalled] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:136:67: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeInit' argument 1 names different: declaration '' definition 'env'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:136:79: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeInit' argument 2 names different: declaration '' definition 'jClassWrapperManager'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:136:110: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeInit' argument 3 names different: declaration '' definition 'debugging'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:184:84: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeLoadWrapperProperties' argument 1 names different: declaration '' definition 'env'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:184:96: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeLoadWrapperProperties' argument 2 names different: declaration '' definition 'clazz'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:193:82: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeRaiseExceptionInner' argument 1 names different: declaration '' definition 'env'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:193:94: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeRaiseExceptionInner' argument 2 names different: declaration '' definition 'clazz'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:193:106: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeRaiseExceptionInner' argument 3 names different: declaration '' definition 'code'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:203:90: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeRaiseFailFastExceptionInner' argument 1 names different: declaration '' definition 'env'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:203:102: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeRaiseFailFastExceptionInner' argument 2 names different: declaration '' definition 'clazz'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:213:76: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeRedirectPipes' argument 1 names different: declaration '' definition 'env'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:213:88: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeRedirectPipes' argument 2 names different: declaration '' definition 'clazz'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:248:73: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetJavaPID' argument 1 names different: declaration '' definition 'env'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:249:16: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetJavaPID' argument 2 names different: declaration '' definition 'clazz'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:260:17: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeRequestThreadDump' argument 1 names different: declaration '' definition 'env'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:260:29: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeRequestThreadDump' argument 2 names different: declaration '' definition 'clazz'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:277:78: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeSetConsoleTitle' argument 1 names different: declaration '' definition 'env'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:277:90: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeSetConsoleTitle' argument 2 names different: declaration '' definition 'clazz'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:277:105: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeSetConsoleTitle' argument 3 names different: declaration '' definition 'jstringTitle'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:290:70: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetUser' argument 1 names different: declaration '' definition 'env'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:290:82: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetUser' argument 2 names different: declaration '' definition 'clazz'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:290:98: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetUser' argument 3 names different: declaration '' definition 'groups'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:430:81: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetInteractiveUser' argument 1 names different: declaration '' definition 'env'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:430:93: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetInteractiveUser' argument 2 names different: declaration '' definition 'clazz'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:430:109: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetInteractiveUser' argument 3 names different: declaration '' definition 'groups'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:449:75: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeListServices' argument 1 names different: declaration '' definition 'env'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:449:87: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeListServices' argument 2 names different: declaration '' definition 'clazz'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:460:85: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeSendServiceControlCode' argument 1 names different: declaration '' definition 'env'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:460:97: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeSendServiceControlCode' argument 2 names different: declaration '' definition 'clazz'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:460:115: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeSendServiceControlCode' argument 3 names different: declaration '' definition 'serviceName'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:460:133: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeSendServiceControlCode' argument 4 names different: declaration '' definition 'controlCode'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:476:76: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetPortStatus' argument 1 names different: declaration '' definition 'env'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:476:88: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetPortStatus' argument 2 names different: declaration '' definition 'clazz'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:476:100: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetPortStatus' argument 3 names different: declaration '' definition 'port'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:476:114: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetPortStatus' argument 4 names different: declaration '' definition 'jAddress'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:476:129: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetPortStatus' argument 5 names different: declaration '' definition 'protocol'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:489:78: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeSetDpiAwareness' argument 1 names different: declaration '' definition 'env'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:489:90: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeSetDpiAwareness' argument 2 names different: declaration '' definition 'clazz'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:489:102: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeSetDpiAwareness' argument 3 names different: declaration '' definition 'awareness'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:502:78: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetDpiAwareness' argument 1 names different: declaration '' definition 'env'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:502:90: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetDpiAwareness' argument 2 names different: declaration '' definition 'clazz'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:515:74: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetDpiScale' argument 1 names different: declaration '' definition 'env'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:515:86: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetDpiScale' argument 2 names different: declaration '' definition 'clazz'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:137:12: style: Variable 'retLocale' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:184:84: style: Parameter 'env' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:193:82: style: Parameter 'env' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:203:90: style: Parameter 'env' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:248:73: style: Parameter 'env' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:260:17: style: Parameter 'env' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:277:78: style: Parameter 'env' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:296:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:303:19: style: Variable 'aGroup' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:449:75: style: Parameter 'env' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:460:85: style: Parameter 'env' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:476:76: style: Parameter 'env' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:489:78: style: Parameter 'env' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:502:78: style: Parameter 'env' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:515:74: style: Parameter 'env' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapperjni_unix.c:147:15: style: Variable 'retLocale' is assigned a value that is never used. [unreadVariable] wrapper_3.5.51_src/src/c/wrapper_jvminfo.c:114:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wrapper_3.5.51_src/src/c/wrapper_jvminfo.c:130:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wrapper_3.5.51_src/src/c/wrapper_jvminfo.c:147:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wrapper_3.5.51_src/src/c/wrapper_jvminfo.c:120:6: warning: Either the condition 'major==0' is redundant or there is possible null pointer dereference: major. [nullPointerRedundantCheck] wrapper_3.5.51_src/src/c/wrapper_jvminfo.c:125:15: note: Assuming that condition 'major==0' is not redundant wrapper_3.5.51_src/src/c/wrapper_jvminfo.c:120:6: note: Null pointer dereference wrapper_3.5.51_src/src/c/wrapper_jvminfo.c:89:12: style: Variable 'token' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/wrapper_jvminfo.c:214:61: style: Parameter 'defaultValue' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapper_jvminfo.c:357:37: style: Parameter 'version1' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapper_jvminfo.c:357:60: style: Parameter 'version2' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapper_unix.c:680:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLD_CONTINUED [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_unix.c:741:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_SIGINFO [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_unix.c:802:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_unix.c:1065:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_unix.c:1179:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_unix.c:1389:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_unix.c:1652:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_unix.c:1894:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_unix.c:2117:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_unix.c:2155:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_unix.c:2191:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_unix.c:2303:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_unix.c:2365:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapper_unix.c:2479:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] wrapper_3.5.51_src/src/c/wrapperjni.c:525:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] wrapper_3.5.51_src/src/c/wrapperjni.c:910:5: error: Null pointer dereference: ptr [nullPointer] wrapper_3.5.51_src/src/c/wrapperjni.c:909:11: note: Assignment 'ptr=NULL', assigned value is 0 wrapper_3.5.51_src/src/c/wrapperjni.c:910:5: note: Null pointer dereference wrapper_3.5.51_src/src/c/wrapper_ulimit.c:43:48: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/wrapper_ulimit.c:43:48: note: Shadow argument wrapper_3.5.51_src/src/c/wrapper_ulimit.c:87:53: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/wrapper_ulimit.c:87:53: note: Shadow argument wrapper_3.5.51_src/src/c/wrapperjni.c:521:70: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeDispose' argument 1 names different: declaration '' definition 'env'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni.c:521:82: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeDispose' argument 2 names different: declaration '' definition 'jClassWrapperManager'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni.c:521:113: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeDispose' argument 3 names different: declaration '' definition 'debugging'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni.c:834:80: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetLibraryVersion' argument 1 names different: declaration '' definition 'env'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni.c:834:92: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetLibraryVersion' argument 2 names different: declaration '' definition 'clazz'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni.c:846:84: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeIsProfessionalEdition' argument 1 names different: declaration '' definition 'env'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni.c:846:96: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeIsProfessionalEdition' argument 2 names different: declaration '' definition 'clazz'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni.c:856:80: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeIsStandardEdition' argument 1 names different: declaration '' definition 'env'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni.c:856:92: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeIsStandardEdition' argument 2 names different: declaration '' definition 'clazz'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni.c:866:78: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetControlEvent' argument 1 names different: declaration '' definition 'env'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni.c:866:90: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetControlEvent' argument 2 names different: declaration '' definition 'clazz'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni.c:903:77: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_accessViolationInner' argument 1 names different: declaration '' definition 'env'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni.c:903:89: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_accessViolationInner' argument 2 names different: declaration '' definition 'clazz'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni.c:915:67: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeExec' argument 1 names different: declaration '' definition 'env'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni.c:915:79: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeExec' argument 2 names different: declaration '' definition 'jWrapperManagerClass'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni.c:915:114: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeExec' argument 3 names different: declaration '' definition 'jCmdArray'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni.c:915:133: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeExec' argument 4 names different: declaration '' definition 'jCmdLine'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni.c:915:151: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeExec' argument 5 names different: declaration '' definition 'jWrapperProcessConfig'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni.c:915:183: style:inconclusive: Function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeExec' argument 6 names different: declaration '' definition 'spawnChDir'. [funcArgNamesDifferentUnnamed] wrapper_3.5.51_src/src/c/wrapperjni.c:169:11: style: Variable 'encodingFrom' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/wrapperjni.c:846:84: style: Parameter 'env' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapperjni.c:856:80: style: Parameter 'env' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapperjni.c:866:78: style: Parameter 'env' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapper_ulimit.c:154:18: style: Variable 'errorNum' is assigned a value that is never used. [unreadVariable] wrapper_3.5.51_src/src/c/logger_file.c:671:13: style: Condition '!sortFilesTimes(files,fileTimes,cnt)' is always false [knownConditionTrueFalse] wrapper_3.5.51_src/src/c/logger_file.c:671:28: note: Calling function 'sortFilesTimes' returns -1 wrapper_3.5.51_src/src/c/logger_file.c:671:13: note: Condition '!sortFilesTimes(files,fileTimes,cnt)' is always false wrapper_3.5.51_src/src/c/logger_file.c:678:13: style: Condition '!sortFilesNamesSmart(pattern,files,cnt)' is always false [knownConditionTrueFalse] wrapper_3.5.51_src/src/c/logger_file.c:678:33: note: Calling function 'sortFilesNamesSmart' returns -1 wrapper_3.5.51_src/src/c/logger_file.c:678:13: note: Condition '!sortFilesNamesSmart(pattern,files,cnt)' is always false wrapper_3.5.51_src/src/c/logger_file.c:685:13: style: Condition '!sortFilesNamesDec(files,cnt)' is always false [knownConditionTrueFalse] wrapper_3.5.51_src/src/c/logger_file.c:685:31: note: Calling function 'sortFilesNamesDec' returns -1 wrapper_3.5.51_src/src/c/logger_file.c:685:13: note: Condition '!sortFilesNamesDec(files,cnt)' is always false wrapper_3.5.51_src/src/c/logger_file.c:692:13: style: Condition '!sortFilesNamesAsc(files,cnt)' is always false [knownConditionTrueFalse] wrapper_3.5.51_src/src/c/logger_file.c:692:31: note: Calling function 'sortFilesNamesAsc' returns -1 wrapper_3.5.51_src/src/c/logger_file.c:692:13: note: Condition '!sortFilesNamesAsc(files,cnt)' is always false wrapper_3.5.51_src/src/c/logger_file.c:304:12: style: Variable 'numToken' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/logger_file.c:305:12: style: Variable 'dateToken' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/wrapper_i18n.c:1383:34: style: Parameter 'bufferIn' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapper_i18n.c:1403:36: style: Parameter 'encoding' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapper_i18n.c:1432:12: style: Variable 'enc1Ptr' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/wrapper_i18n.c:1433:12: style: Variable 'enc2Ptr' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/wrapper_i18n.c:1489:11: style: Variable 'sysEncodingChar' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/wrapper_i18n.c:1520:29: style: Parameter 'encodingMB' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapper_i18n.c:1815:11: style: Variable 'errorTemplate' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/wrapper_i18n.c:2062:11: style: Variable 'errorTemplate' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/wrapper_i18n.c:2066:11: style: Variable 'encodingFrom' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/wrapper_i18n.c:2129:38: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapper_unix.c:1708:13: style: Statements following noreturn function 'exit()' will never be executed. [unreachableCode] wrapper_3.5.51_src/src/c/wrapper_unix.c:1717:13: style: Statements following noreturn function 'exit()' will never be executed. [unreachableCode] wrapper_3.5.51_src/src/c/wrapper_unix.c:2461:12: style: Variable 'retLocale' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/wrapper_unix.c:133:9: style: Unused variable: i [unusedVariable] wrapper_3.5.51_src/src/c/wrapper_file.c:478:53: style: Redundant condition: The condition 'c[0] != '\0'' is redundant since 'c[0] == ' '' is sufficient. [redundantCondition] wrapper_3.5.51_src/src/c/property.c:721:9: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] wrapper_3.5.51_src/src/c/property.c:1634:5: warning:inconclusive: The buffer 'buffer' may not be null-terminated after the call to strncpy(). [terminateStrncpy] wrapper_3.5.51_src/src/c/property.c:637:13: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] wrapper_3.5.51_src/src/c/property.c:288:193: style:inconclusive: Function 'evaluateEnvironmentVariables' argument 8 names different: declaration 'hasPercentage' definition 'pHasPercentage'. [funcArgNamesDifferent] wrapper_3.5.51_src/src/c/property.h:144:200: note: Function 'evaluateEnvironmentVariables' argument 8 names different: declaration 'hasPercentage' definition 'pHasPercentage'. wrapper_3.5.51_src/src/c/property.c:288:193: note: Function 'evaluateEnvironmentVariables' argument 8 names different: declaration 'hasPercentage' definition 'pHasPercentage'. wrapper_3.5.51_src/src/c/property.c:71:34: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:71:34: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:99:40: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:99:40: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:123:35: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:123:35: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:136:38: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:136:38: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:470:35: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:470:35: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:574:17: style: Local variable 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:574:17: note: Shadow local variable wrapper_3.5.51_src/src/c/property.c:615:32: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:615:32: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:650:40: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:650:40: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:662:17: style: Local variable 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:662:17: note: Shadow local variable wrapper_3.5.51_src/src/c/property.c:686:36: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:686:36: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:743:37: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:743:37: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:770:32: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:770:32: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:1313:35: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:1313:35: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:1624:33: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:1624:33: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:1654:41: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:1654:41: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:1680:44: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:1680:44: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:1701:52: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:1701:52: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:1709:52: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:1709:52: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:1812:37: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:1812:37: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:2007:32: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:2007:32: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:2055:36: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:2055:36: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:2117:38: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:2117:38: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:2164:46: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:2164:46: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:2193:35: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:2193:35: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:2225:37: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:2225:37: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:2235:36: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:2235:36: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:2304:59: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:2304:59: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:2546:33: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:2546:33: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:2597:44: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:2597:44: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:2604:42: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:2604:42: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:2615:41: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:2615:41: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:2623:48: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:2623:48: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:2651:40: style: Argument 'properties' shadows outer variable [shadowVariable] wrapper_3.5.51_src/src/c/wrapper.h:607:23: note: Shadowed variable wrapper_3.5.51_src/src/c/property.c:2651:40: note: Shadow argument wrapper_3.5.51_src/src/c/property.c:221:58: style: Parameter 'timeTM' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/property.c:575:12: style: Variable 'd' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/property.c:628:16: style: Variable 'nowTM' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/property.c:804:12: style: Variable 'oldVal' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/property.c:1056:12: style: Variable 'wildPos' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/property.c:1227:29: style: Parameter 'property' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/property.c:1316:12: style: Variable 'oldVal' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/property.c:1626:12: style: Variable 'd' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/property.c:2165:15: style: Variable 'property' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/property.c:2226:15: style: Variable 'property' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/property.c:2236:15: style: Variable 'property' can be declared as pointer to const [constVariablePointer] wrapper_3.5.51_src/src/c/property.c:2253:34: style: Parameter 'property' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/property.c:2266:46: style: Parameter 'property' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/property.c:2276:44: style: Parameter 'property' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/property.c:2287:51: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/property.c:2287:65: style: Parameter 'format' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/property.c:2304:78: style: Parameter 'format' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrappereventloop.c:2227:29: style: Condition 'pendingPing!=NULL' is always true [knownConditionTrueFalse] wrapper_3.5.51_src/src/c/wrappereventloop.c:2261:13: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] wrapper_3.5.51_src/src/c/wrappereventloop.c:2268:13: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] wrapper_3.5.51_src/src/c/wrappereventloop.c:2278:17: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] wrapper_3.5.51_src/src/c/wrappereventloop.c:2285:17: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] wrapper_3.5.51_src/src/c/wrappereventloop.c:1802:21: portability: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'TICKS {aka unsigned long}'. [invalidPrintfArgType_uint] wrapper_3.5.51_src/src/c/wrappereventloop.c:1809:21: portability: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'TICKS {aka unsigned long}'. [invalidPrintfArgType_uint] wrapper_3.5.51_src/src/c/wrappereventloop.c:895:29: error: Null pointer dereference: c [nullPointer] wrapper_3.5.51_src/src/c/wrappereventloop.c:894:33: note: Assignment 'c=NULL', assigned value is 0 wrapper_3.5.51_src/src/c/wrappereventloop.c:895:29: note: Null pointer dereference wrapper_3.5.51_src/src/c/wrapper_encoding.c:816:9: style: The if condition is the same as the previous if condition [duplicateCondition] wrapper_3.5.51_src/src/c/wrapper_encoding.c:812:9: note: First condition wrapper_3.5.51_src/src/c/wrapper_encoding.c:816:9: note: Second condition wrapper_3.5.51_src/src/c/wrapper_encoding.c:493:32: style: Parameter 'localeEncoding' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapper_encoding.c:564:37: style: Parameter 'encoding1' can be declared as pointer to const [constParameterPointer] wrapper_3.5.51_src/src/c/wrapper_encoding.c:564:55: style: Parameter 'encoding2' can be declared as pointer to const [constParameterPointer] diff: 2.21.0 wrapper_3.5.51_src/src/c/logger.c:1075:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:1129:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:1139:13: warning: printf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:1186:9: warning:inconclusive: The buffer 'logfileFormat' may not be null-terminated after the call to strncpy(). [terminateStrncpy] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:1286:12: style: Variable 'newPattern' can be declared as pointer to const [constVariablePointer] head wrapper_3.5.51_src/src/c/logger.c:1721:40: error: Syntax Error: AST broken, binary operator is missing operand(s). [internalAstError] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:1997:16: style: Variable 'nowTM' can be declared as pointer to const [constVariablePointer] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:2008:17: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:2017:25: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:2034:70: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:2034:90: style: Parameter 'nowTM' can be declared as pointer to const [constParameterPointer] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:2081:44: style: Parameter 'confFileName' can be declared as pointer to const [constParameterPointer] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:2105:42: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:2118:28: style: Variable 'messageMBMaxLen' is assigned a value that is never used. [unreadVariable] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:2134:37: style: Condition 'doesFtellCauseMemoryLeak()' is always false [knownConditionTrueFalse] wrapper_3.5.51_src/src/c/logger.c:2134:37: note: Calling function 'doesFtellCauseMemoryLeak' returns 0 wrapper_3.5.51_src/src/c/logger.c:2134:37: note: Condition 'doesFtellCauseMemoryLeak()' is always false 2.21.0 wrapper_3.5.51_src/src/c/logger.c:2170:44: style: Variable 'tempLogfileFP' is assigned a value that is never used. [unreadVariable] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:2410:13: warning:inconclusive: The buffer 'logFileLastNowDate' may not be null-terminated after the call to strncpy(). [terminateStrncpy] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:2425:97: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:2426:12: style: Variable 'printBuffer' can be declared as pointer to const [constVariablePointer] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:2536:97: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:2537:12: style: Variable 'printBuffer' can be declared as pointer to const [constVariablePointer] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:2547:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:2660:13: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:2737:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:3081:11: style: Variable 'lastErrorTextMB' can be declared as pointer to const [constVariablePointer] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:3148:9: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:3180:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:3542:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:3844:16: style: Variable 'nowTM' can be declared as pointer to const [constVariablePointer] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:3869:17: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:3999:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:4172:20: style: Return value 'result>0' is always false [knownConditionTrueFalse] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:4199:34: style: Condition '!doesFtellCauseMemoryLeak()' is always true [knownConditionTrueFalse] wrapper_3.5.51_src/src/c/logger.c:4199:59: note: Calling function 'doesFtellCauseMemoryLeak' returns 0 wrapper_3.5.51_src/src/c/logger.c:4199:34: note: Condition '!doesFtellCauseMemoryLeak()' is always true 2.21.0 wrapper_3.5.51_src/src/c/logger.c:4222:45: style: Condition 'doesFtellCauseMemoryLeak()' is always false [knownConditionTrueFalse] wrapper_3.5.51_src/src/c/logger.c:4222:45: note: Calling function 'doesFtellCauseMemoryLeak' returns 0 wrapper_3.5.51_src/src/c/logger.c:4222:45: note: Condition 'doesFtellCauseMemoryLeak()' is always false 2.21.0 wrapper_3.5.51_src/src/c/logger.c:524:39: style:inconclusive: Function 'logRegisterFormatCallbacks' argument 2 names different: declaration '' definition 'printCallback'. [funcArgNamesDifferentUnnamed] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:627:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_USER [valueFlowBailoutIncompleteVar] 2.21.0 wrapper_3.5.51_src/src/c/logger.c:968:13: warning: If memory allocation fails, then there is a possible null pointer dereference: workConfLogFileName [nullPointerOutOfMemory] wrapper_3.5.51_src/src/c/logger.c:954:41: note: Assuming allocation function fails wrapper_3.5.51_src/src/c/logger.c:954:41: note: Assignment 'workConfLogFileName=malloc(sizeof(TCHAR)*confLogFileNameSize)', assigned value is 0 wrapper_3.5.51_src/src/c/logger.c:955:17: note: Assuming condition is false wrapper_3.5.51_src/src/c/logger.c:968:13: note: Null pointer dereference 2.21.0 wrapper_3.5.51_src/src/c/wrapper_file.c:676:28: style:inconclusive: Function 'configFileReader' argument 4 names different: declaration '' definition 'callbackParam'. [funcArgNamesDifferentUnnamed] 2.21.0 wrapper_3.5.51_src/src/c/wrapper_file.c:677:60: style:inconclusive: Function 'configFileReader' argument 5 names different: declaration '' definition 'readFilterCallback'. [funcArgNamesDifferentUnnamed] 2.21.0 wrapper_3.5.51_src/src/c/wrapper_file.c:678:26: style:inconclusive: Function 'configFileReader' argument 6 names different: declaration '' definition 'enableIncludes'. [funcArgNamesDifferentUnnamed] 2.21.0 wrapper_3.5.51_src/src/c/wrapper_file.c:679:26: style:inconclusive: Function 'configFileReader' argument 7 names different: declaration '' definition 'preload'. [funcArgNamesDifferentUnnamed] 2.21.0 wrapper_3.5.51_src/src/c/wrapper_file.c:680:35: style:inconclusive: Function 'configFileReader' argument 8 names different: declaration '' definition 'originalWorkingDir'. [funcArgNamesDifferentUnnamed] 2.21.0 wrapper_3.5.51_src/src/c/wrapper_file.c:681:31: style:inconclusive: Function 'configFileReader' argument 9 names different: declaration '' definition 'warnedVarMap'. [funcArgNamesDifferentUnnamed] 2.21.0 wrapper_3.5.51_src/src/c/wrapper_file.c:682:31: style:inconclusive: Function 'configFileReader' argument 10 names different: declaration '' definition 'ignoreVarMap'. [funcArgNamesDifferentUnnamed] 2.21.0 wrapper_3.5.51_src/src/c/wrapper_file.c:683:26: style:inconclusive: Function 'configFileReader' argument 11 names different: declaration '' definition 'logWarnings'. [funcArgNamesDifferentUnnamed] 2.21.0 wrapper_3.5.51_src/src/c/wrapper_file.c:684:26: style:inconclusive: Function 'configFileReader' argument 12 names different: declaration '' definition 'logWarningLogLevel'. [funcArgNamesDifferentUnnamed] DONE