2026-01-25 03:23 ftp://ftp.de.debian.org/debian/pool/main/r/ruby-xmlhash/ruby-xmlhash_1.3.6.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=ruby --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-90-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.19.0 head-info: cfddd3e (2026-01-24 12:34:07 +0100) count: 9 9 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: xmlhash-1.3.6/ext/xmlhash/xmlhash.c:30:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] xmlhash-1.3.6/ext/xmlhash/xmlhash.c:51:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] xmlhash-1.3.6/ext/xmlhash/xmlhash.c:114:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] xmlhash-1.3.6/ext/xmlhash/xmlhash.c:138:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_READER_TYPE_ATTRIBUTE [valueFlowBailoutIncompleteVar] xmlhash-1.3.6/ext/xmlhash/xmlhash.c:153:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_READER_TYPE_END_ELEMENT [valueFlowBailoutIncompleteVar] xmlhash-1.3.6/ext/xmlhash/xmlhash.c:199:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] xmlhash-1.3.6/ext/xmlhash/xmlhash.c:240:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_cHash [valueFlowBailoutIncompleteVar] xmlhash-1.3.6/ext/xmlhash/xmlhash.c:209:10: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] xmlhash-1.3.6/ext/xmlhash/xmlhash.c:208:23: note: Assuming allocation function fails xmlhash-1.3.6/ext/xmlhash/xmlhash.c:208:10: note: Assignment 'data=(char*)calloc(RSTRING_LEN(rb_xml),sizeof(char))', assigned value is 0 xmlhash-1.3.6/ext/xmlhash/xmlhash.c:209:10: note: Null pointer dereference xmlhash-1.3.6/ext/xmlhash/xmlhash.c:236:9: style: Unused variable: mXmlhash [unusedVariable] diff: DONE