2026-05-03 09:11 ftp://ftp.de.debian.org/debian/pool/main/libv/libvmod-selector/libvmod-selector_2.6.0+20250506.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 -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: 87 86 elapsed-time: 0.9 0.8 head-timing-info: old-timing-info: head results: libvmod-selector-2.6.0+20250506/src/vmod_selector.h:58:11: debug: Scope::checkVariable found variable 'bool' with varid 0. [varid0] libvmod-selector-2.6.0+20250506/src/associate.c:265:36: debug: Function::addArguments found argument 'selector_set' with varid 0. [varid0] libvmod-selector-2.6.0+20250506/src/associate.c:283:42: debug: Function::addArguments found argument 'selector_set' with varid 0. [varid0] libvmod-selector-2.6.0+20250506/src/associate.c:301:42: debug: Function::addArguments found argument 'selector_set' with varid 0. [varid0] libvmod-selector-2.6.0+20250506/src/associate.c:36:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXACT [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/associate.c:80:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/associate.c:105:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/associate.c:136:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/associate.c:149:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/associate.c:167:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/associate.c:188:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/associate.c:208:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/associate.c:228:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/associate.c:245:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/associate.c:258:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/associate.c:271:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable set [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/associate.c:289:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable set [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/associate.c:308:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable set [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/associate.c:101:21: style: Variable 'match' can be declared as pointer to const [constVariablePointer] libvmod-selector-2.6.0+20250506/src/associate.c:240:54: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] libvmod-selector-2.6.0+20250506/src/associate.c:252:49: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] libvmod-selector-2.6.0+20250506/src/match.c:218:39: debug: Function::addArguments found argument 'selector_set' with varid 0. [varid0] libvmod-selector-2.6.0+20250506/src/match.c:41:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/match.c:73:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/match.c:131:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/match.c:191:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/match.c:211:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/match.c:224:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable set [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/vmod_selector.h:109:47: style:inconclusive: Function 'get_existing_match_data' argument 1 names different: declaration 'ctx' definition ''. [funcArgNamesDifferentUnnamed] libvmod-selector-2.6.0+20250506/src/match.c:206:21: style: Variable 'match' can be declared as pointer to const [constVariablePointer] libvmod-selector-2.6.0+20250506/src/ph.c:155:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/ph.c:452:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/ph.c:306:7: warning: Either the condition 'ph==NULL' is redundant or there is possible null pointer dereference: ph. [nullPointerRedundantCheck] libvmod-selector-2.6.0+20250506/src/ph.c:304:9: note: Assuming that condition 'ph==NULL' is not redundant libvmod-selector-2.6.0+20250506/src/ph.c:306:7: note: Null pointer dereference libvmod-selector-2.6.0+20250506/src/rnd.h:48:19: style: Parameter 'seed' can be declared as const array [constParameter] libvmod-selector-2.6.0+20250506/src/ph.c:59:11: style: struct member 'hash::magic' is never used. [unusedStructMember] libvmod-selector-2.6.0+20250506/src/ph.c:76:11: style: struct member 'ph::magic' is never used. [unusedStructMember] libvmod-selector-2.6.0+20250506/src/qp.c:92:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/qp.c:133:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/qp.c:211:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/qp.c:520:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VSB_MAGIC [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/qp.c:315:5: warning: Either the condition 'y->branch!=NULL' is redundant or there is possible null pointer dereference: y->branch. [nullPointerRedundantCheck] libvmod-selector-2.6.0+20250506/src/qp.c:329:18: note: Assuming that condition 'y->branch!=NULL' is not redundant libvmod-selector-2.6.0+20250506/src/qp.c:315:5: note: Null pointer dereference libvmod-selector-2.6.0+20250506/src/qp.c:112:43: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] libvmod-selector-2.6.0+20250506/src/qp.c:112:61: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] libvmod-selector-2.6.0+20250506/src/qp.c:75:11: style: struct member 'qp_y::magic' is never used. [unusedStructMember] libvmod-selector-2.6.0+20250506/src/rnd_test.c:62:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/vmod_selector.c:144:30: debug: Function::addArguments found argument 'selector_set' with varid 0. [varid0] libvmod-selector-2.6.0+20250506/src/vmod_selector.c:455:20: debug: Function::addArguments found argument 'set_add' with varid 0. [varid0] libvmod-selector-2.6.0+20250506/src/vmod_selector.c:538:39: debug: Function::addArguments found argument 'selector_set' with varid 0. [varid0] libvmod-selector-2.6.0+20250506/src/vmod_selector.c:106:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/vmod_selector.c:150:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable set [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/vmod_selector.c:225:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/vmod_selector.c:312:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/vmod_selector.c:367:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/vmod_selector.c:463:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable args [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/vmod_selector.c:541:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable set [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/vmod_selector.c:566:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable method [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/vmod_selector.c:591:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/vmod_selector.c:579:21: warning:inconclusive: Possible null pointer dereference: task [nullPointer] libvmod-selector-2.6.0+20250506/src/vmod_selector.c:561:31: note: Assignment 'task=NULL', assigned value is 0 libvmod-selector-2.6.0+20250506/src/vmod_selector.c:566:35: note: Assuming condition is false libvmod-selector-2.6.0+20250506/src/vmod_selector.c:579:21: note: Null pointer dereference libvmod-selector-2.6.0+20250506/src/vmod_selector.c:580:7: warning:inconclusive: Possible null pointer dereference: task [nullPointer] libvmod-selector-2.6.0+20250506/src/vmod_selector.c:561:31: note: Assignment 'task=NULL', assigned value is 0 libvmod-selector-2.6.0+20250506/src/vmod_selector.c:566:35: note: Assuming condition is false libvmod-selector-2.6.0+20250506/src/vmod_selector.c:580:7: note: Null pointer dereference libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_ph.c:100:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_ph.c:109:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_ph.c:389:2: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_ph.c:392:2: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_ph.c:392:2: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_ph.c:168:3: error: Common realloc mistake: 'strings' nulled but not freed upon failure [memleakOnRealloc] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_ph.c:207:4: error: Common realloc mistake: 'inputs' nulled but not freed upon failure [memleakOnRealloc] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_ph.c:60:24: style: Parameter 'before' can be declared as pointer to const [constParameterPointer] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_ph.c:60:49: style: Parameter 'after' can be declared as pointer to const [constParameterPointer] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_ph.c:110:50: style: Variable 'inputf' can be declared as pointer to const [constVariablePointer] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_ph.c:111:4: style: Variable 'csvf' can be declared as pointer to const [constVariablePointer] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_ph.c:111:18: style: Variable 'dumpf' can be declared as pointer to const [constVariablePointer] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_qp.c:100:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_qp.c:115:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_qp.c:385:2: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_qp.c:387:2: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_qp.c:387:2: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_qp.c:452:2: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_qp.c:454:2: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_qp.c:454:2: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_qp.c:454:2: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_qp.c:185:3: error: Common realloc mistake: 'strings' nulled but not freed upon failure [memleakOnRealloc] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_qp.c:224:4: error: Common realloc mistake: 'inputs' nulled but not freed upon failure [memleakOnRealloc] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_qp.c:60:24: style: Parameter 'before' can be declared as pointer to const [constParameterPointer] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_qp.c:60:49: style: Parameter 'after' can be declared as pointer to const [constParameterPointer] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_qp.c:116:50: style: Variable 'inputf' can be declared as pointer to const [constVariablePointer] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_qp.c:117:4: style: Variable 'csvf' can be declared as pointer to const [constVariablePointer] libvmod-selector-2.6.0+20250506/src/vtc/bench/bench_qp.c:117:18: style: Variable 'dumpf' can be declared as pointer to const [constVariablePointer] diff: head libvmod-selector-2.6.0+20250506/src/vmod_selector.h:109:47: style:inconclusive: Function 'get_existing_match_data' argument 1 names different: declaration 'ctx' definition ''. [funcArgNamesDifferentUnnamed] DONE