2026-05-01 15:14 ftp://ftp.de.debian.org/debian/pool/main/d/dino-im/dino-im_0.5.1+git20260410.c5ba427.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --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 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 22 22 elapsed-time: 0.2 0.1 head-timing-info: old-timing-info: head results: dino-master/plugins/omemo/src/native/helper.c:19:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable signal_protocol_address [valueFlowBailoutIncompleteVar] dino-master/plugins/omemo/src/native/helper.c:68:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_STRONG_RANDOM [valueFlowBailoutIncompleteVar] dino-master/plugins/omemo/src/native/helper.c:73:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_STRONG_RANDOM [valueFlowBailoutIncompleteVar] dino-master/plugins/omemo/src/native/helper.c:78:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gcry_mac_hd_t [valueFlowBailoutIncompleteVar] dino-master/plugins/omemo/src/native/helper.c:99:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SG_ERR_UNKNOWN [valueFlowBailoutIncompleteVar] dino-master/plugins/omemo/src/native/helper.c:105:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MAC_HMAC_SHA256 [valueFlowBailoutIncompleteVar] dino-master/plugins/omemo/src/native/helper.c:130:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_CIPHER_AES128 [valueFlowBailoutIncompleteVar] dino-master/plugins/omemo/src/native/helper.c:163:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SG_ERR_UNKNOWN [valueFlowBailoutIncompleteVar] dino-master/plugins/omemo/src/native/helper.c:242:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SG_ERR_UNKNOWN [valueFlowBailoutIncompleteVar] dino-master/plugins/omemo/src/native/helper.c:191:25: style: Condition 'pad_len==0' is always false [knownConditionTrueFalse] dino-master/plugins/omemo/src/native/helper.c:190:26: note: Assignment 'pad_len=16-(plaintext_len%16)', assigned value is greater than 0 dino-master/plugins/omemo/src/native/helper.c:191:25: note: Condition 'pad_len==0' is always false dino-master/plugins/omemo/src/native/helper.c:20:5: warning: If memory allocation fails, then there is a possible null pointer dereference: address [nullPointerOutOfMemory] dino-master/plugins/omemo/src/native/helper.c:19:46: note: Assuming allocation function fails dino-master/plugins/omemo/src/native/helper.c:19:46: note: Assignment 'address=malloc(sizeof(signal_protocol_address))', assigned value is 0 dino-master/plugins/omemo/src/native/helper.c:20:5: note: Null pointer dereference dino-master/plugins/omemo/src/native/helper.c:21:5: warning: If memory allocation fails, then there is a possible null pointer dereference: address [nullPointerOutOfMemory] dino-master/plugins/omemo/src/native/helper.c:19:46: note: Assuming allocation function fails dino-master/plugins/omemo/src/native/helper.c:19:46: note: Assignment 'address=malloc(sizeof(signal_protocol_address))', assigned value is 0 dino-master/plugins/omemo/src/native/helper.c:21:5: note: Null pointer dereference dino-master/plugins/omemo/src/native/helper.c:175:16: style: The comparison 'padded != 0' is always false. [knownConditionTrueFalse] dino-master/plugins/omemo/src/native/helper.c:170:29: note: 'padded' is assigned value '0' here. dino-master/plugins/omemo/src/native/helper.c:175:16: note: The comparison 'padded != 0' is always false. dino-master/plugins/omemo/src/native/helper.c:178:17: style: The comparison 'out_buf != 0' is always false. [knownConditionTrueFalse] dino-master/plugins/omemo/src/native/helper.c:171:30: note: 'out_buf' is assigned value '0' here. dino-master/plugins/omemo/src/native/helper.c:178:17: note: The comparison 'out_buf != 0' is always false. dino-master/plugins/omemo/src/native/helper.c:255:17: style: The comparison 'out_buf != 0' is always false. [knownConditionTrueFalse] dino-master/plugins/omemo/src/native/helper.c:251:30: note: 'out_buf' is assigned value '0' here. dino-master/plugins/omemo/src/native/helper.c:255:17: note: The comparison 'out_buf != 0' is always false. dino-master/plugins/omemo/src/native/helper.c:5:46: style:inconclusive: Function 'signal_type_ref_vapi' argument 1 names different: declaration 'what' definition 'instance'. [funcArgNamesDifferent] dino-master/plugins/omemo/src/native/helper.h:10:46: note: Function 'signal_type_ref_vapi' argument 1 names different: declaration 'what' definition 'instance'. dino-master/plugins/omemo/src/native/helper.c:5:46: note: Function 'signal_type_ref_vapi' argument 1 names different: declaration 'what' definition 'instance'. dino-master/plugins/omemo/src/native/helper.c:11:48: style:inconclusive: Function 'signal_type_unref_vapi' argument 1 names different: declaration 'what' definition 'instance'. [funcArgNamesDifferent] dino-master/plugins/omemo/src/native/helper.h:11:48: note: Function 'signal_type_unref_vapi' argument 1 names different: declaration 'what' definition 'instance'. dino-master/plugins/omemo/src/native/helper.c:11:48: note: Function 'signal_type_unref_vapi' argument 1 names different: declaration 'what' definition 'instance'. dino-master/plugins/omemo/src/native/helper.c:48:66: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] dino-master/plugins/omemo/src/native/helper.c:57:72: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] dino-master/plugins/omemo/src/native/helper.c:299:17: style: Variable 'out_buf' is assigned a value that is never used. [unreadVariable] dino-master/plugins/omemo/src/native/helper.c:302:17: style: Variable 'out_buf' is assigned a value that is never used. [unreadVariable] dino-master/plugins/rtp/src/voice_processor_native.cpp:11:2: error: #error "Need to define WEBRTC0, WEBRTC1 or WEBRTC2" [preprocessorErrorDirective] diff: DONE