2025-12-27 13:49 ftp://ftp.de.debian.org/debian/pool/main/e/equinox-bundles/equinox-bundles_4.18.orig.tar.xz 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 -j90 platform: Linux-6.8.0-90-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.19.0 head-info: a5ec929 (2025-12-24 09:21:38 +0100) count: 27 27 elapsed-time: 0.1 0.1 head-timing-info: old-timing-info: head results: equinox-bundles-4.18/bundles/org.eclipse.equinox.security.win32.x86/cpp/jnicrypt.cpp:23:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.win32.x86/cpp/jnicrypt.cpp:44:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.win32.x86/cpp/jnicrypt.cpp:76:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.linux.x86_64/keystorelinuxnative/keystoreLinuxNative.c:25:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SECRET_SCHEMA_NONE [valueFlowBailoutIncompleteVar] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.linux.x86_64/keystorelinuxnative/keystoreLinuxNative.c:97:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JNI_FALSE [valueFlowBailoutIncompleteVar] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.win32.x86_64/cpp/jnicrypt.cpp:23:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.linux.x86_64/keystorelinuxnative/keystoreLinuxNative.c:138:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SECRET_COLLECTION_DEFAULT [valueFlowBailoutIncompleteVar] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.win32.x86_64/cpp/jnicrypt.cpp:44:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.win32.x86_64/cpp/jnicrypt.cpp:76:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.macosx/keystoreNative/src/keystoreNativejnilib.c:26:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nil [valueFlowBailoutIncompleteVar] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.macosx/keystoreNative/src/keystoreNativejnilib.c:82:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errSecDuplicateItem [valueFlowBailoutIncompleteVar] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.win32.x86/cpp/jnicrypt.cpp:48:64: style: C-style pointer casting [cstyleCast] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.win32.x86/cpp/jnicrypt.cpp:80:60: style: C-style pointer casting [cstyleCast] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.win32.x86/cpp/jnicrypt.cpp:36:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.win32.x86/cpp/jnicrypt.cpp:64:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.win32.x86_64/cpp/jnicrypt.cpp:48:64: style: C-style pointer casting [cstyleCast] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.win32.x86_64/cpp/jnicrypt.cpp:80:60: style: C-style pointer casting [cstyleCast] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.win32.x86_64/cpp/jnicrypt.cpp:36:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.win32.x86_64/cpp/jnicrypt.cpp:64:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.macosx/keystoreNative/src/keystoreNativejnilib.c:52:10: warning: If memory allocation fails, then there is a possible null pointer dereference: truncatedPassword [nullPointerOutOfMemory] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.macosx/keystoreNative/src/keystoreNativejnilib.c:51:43: note: Assuming allocation function fails equinox-bundles-4.18/bundles/org.eclipse.equinox.security.macosx/keystoreNative/src/keystoreNativejnilib.c:51:28: note: Assignment 'truncatedPassword=(char*)malloc(passwordLength*sizeof(char)+1)', assigned value is 0 equinox-bundles-4.18/bundles/org.eclipse.equinox.security.macosx/keystoreNative/src/keystoreNativejnilib.c:52:10: note: Null pointer dereference equinox-bundles-4.18/bundles/org.eclipse.equinox.security.macosx/keystoreNative/src/keystoreNativejnilib.c:53:2: warning: If memory allocation fails, then there is a possible null pointer dereference: truncatedPassword [nullPointerOutOfMemory] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.macosx/keystoreNative/src/keystoreNativejnilib.c:51:43: note: Assuming allocation function fails equinox-bundles-4.18/bundles/org.eclipse.equinox.security.macosx/keystoreNative/src/keystoreNativejnilib.c:51:28: note: Assignment 'truncatedPassword=(char*)malloc(passwordLength*sizeof(char)+1)', assigned value is 0 equinox-bundles-4.18/bundles/org.eclipse.equinox.security.macosx/keystoreNative/src/keystoreNativejnilib.c:53:2: note: Null pointer dereference equinox-bundles-4.18/bundles/org.eclipse.equinox.security.linux.x86_64/keystorelinuxnative/keystoreLinuxNative.c:39:9: style: Variable 'lbl' can be declared as pointer to const [constVariablePointer] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.linux.x86_64/keystorelinuxnative/keystoreLinuxNative.c:42:19: style: Variable 'dbusconnection' can be declared as pointer to const [constVariablePointer] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.linux.x86_64/keystorelinuxnative/keystoreLinuxNative.c:42:34: style: Variable 'dbusconnection' is assigned a value that is never used. [unreadVariable] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.linux.x86_64/keystorelinuxnative/keystoreLinuxNative.c:75:7: style: Variable 'lbl' is assigned a value that is never used. [unreadVariable] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.linux.x86_64/keystorelinuxnative/keystoreLinuxNative.c:78:6: style: Variable 'nu' is assigned a value that is never used. [unreadVariable] equinox-bundles-4.18/bundles/org.eclipse.equinox.security.linux.x86_64/keystorelinuxnative/keystoreLinuxNative.c:42:19: style: Variable 'dbusconnection' is assigned a value that is never used. [unreadVariable] diff: DONE