2025-11-23 08:51 ftp://ftp.de.debian.org/debian/pool/main/p/pmacct/pmacct_1.7.8.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=sqlite3 --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 -j4 platform: Linux-5.4.0-216-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.69 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 1329 1319 elapsed-time: 14.4 17.4 head-timing-info: old-timing-info: head results: pmacct-1.7.8/examples/custom/libcustom.c:52:27: style: Parameter 'pbase' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/pmacct.h:431:0: error: #error [preprocessorErrorDirective] pmacct-1.7.8/src/bgp/bgp_blackhole.c:69:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_aspath.c:34:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_aspath.c:55:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_aspath.c:110:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_aspath.c:143:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_aspath.c:195:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable as_t [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_aspath.c:246:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_aspath.c:421:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable as_t [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_aspath.c:487:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_aspath.c:527:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_aspath.c:648:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_aspath.c:697:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable as16_t [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_aspath.c:779:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable as16_t [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_community.c:44:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_community.c:78:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_community.c:99:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u_int32_t [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_community.c:142:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u_int32_t [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_community.c:162:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u_int32_t [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_community.c:176:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u_int32_t [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_community.c:202:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u_int32_t [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_community.c:241:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_community.c:459:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp.c:68:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bgp_daemon_port [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp.c:93:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp.c:105:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PORT_STRLEN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp.c:1118:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNC_TYPE_BGP [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp.c:1137:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNC_TYPE_BGP [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp.c:1217:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_ecommunity.c:46:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_ecommunity.c:76:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_ecommunity.c:314:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_community.c:47:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_community.c:42:15: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_community.c:42:15: note: Assignment 'tmp=malloc(sizeof(struct community))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_community.c:47:10: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_community.c:244:7: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_community.c:239:19: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_community.c:239:19: note: Assignment 'str=malloc(1)', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_community.c:244:7: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_community.c:503:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_community.c:501:15: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_community.c:501:15: note: Assignment 'new=malloc(sizeof(struct community))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_community.c:503:3: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_community.c:505:7: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_community.c:501:15: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_community.c:501:15: note: Assignment 'new=malloc(sizeof(struct community))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_community.c:505:7: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_community.c:31:51: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_community.c:62:42: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_community.c:155:38: style: Parameter 'com' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_community.c:218:38: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_community.c:218:62: style: Parameter 'com' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_community.c:363:38: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_community.c:415:18: style: Variable 'pnt' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_community.c:497:51: style: Parameter 'com' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_community.c:92:9: style: Variable 'c' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/bgp/bgp_hash.c:39:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_hash.c:103:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_hash.c:42:11: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: hash [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_hash.c:37:16: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_hash.c:37:16: note: Assignment 'hash=malloc(sizeof(struct hash))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_hash.c:42:11: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_hash.c:43:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: hash [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_hash.c:37:16: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_hash.c:37:16: note: Assignment 'hash=malloc(sizeof(struct hash))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_hash.c:43:3: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_hash.c:44:8: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: hash [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_hash.c:37:16: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_hash.c:37:16: note: Assignment 'hash=malloc(sizeof(struct hash))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_hash.c:44:8: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_hash.c:112:14: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: backet [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_hash.c:107:22: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_hash.c:107:22: note: Assignment 'backet=malloc(sizeof(struct hash_backet))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_hash.c:112:14: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_hash.c:113:7: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: backet [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_hash.c:107:22: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_hash.c:107:22: note: Assignment 'backet=malloc(sizeof(struct hash_backet))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_hash.c:113:7: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_hash.c:114:7: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: backet [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_hash.c:107:22: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_hash.c:107:22: note: Assignment 'backet=malloc(sizeof(struct hash_backet))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_hash.c:114:7: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_hash.c:115:7: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: backet [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_hash.c:107:22: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_hash.c:107:22: note: Assignment 'backet=malloc(sizeof(struct hash_backet))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_hash.c:115:7: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_hash.c:118:14: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: backet [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_hash.c:107:22: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_hash.c:107:22: note: Assignment 'backet=malloc(sizeof(struct hash_backet))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_hash.c:118:14: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_hash.c:78:28: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_hash.c:160:28: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_ecommunity.c:336:11: error: Common realloc mistake: 'str_buf' nulled but not freed upon failure [memleakOnRealloc] pmacct-1.7.8/src/bgp/bgp_ecommunity.c:49:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_ecommunity.c:44:15: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_ecommunity.c:44:15: note: Assignment 'tmp=malloc(sizeof(struct ecommunity))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_ecommunity.c:49:10: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_ecommunity.c:317:7: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: str_buf [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_ecommunity.c:312:23: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_ecommunity.c:312:23: note: Assignment 'str_buf=malloc(1)', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_ecommunity.c:317:7: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_ecommunity.c:435:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_ecommunity.c:433:15: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_ecommunity.c:433:15: note: Assignment 'new=malloc(sizeof(struct ecommunity))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_ecommunity.c:435:3: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_ecommunity.c:437:7: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_ecommunity.c:433:15: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_ecommunity.c:433:15: note: Assignment 'new=malloc(sizeof(struct ecommunity))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_ecommunity.c:437:7: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_ecommunity.c:33:34: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_ecommunity.c:69:38: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_ecommunity.c:69:92: style: Parameter 'eval' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_ecommunity.c:193:39: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_ecommunity.c:220:29: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'ecommunity_hash_make' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pmacct-1.7.8/src/bgp/bgp_ecommunity.c:251:43: note: You might need to cast the function pointer here pmacct-1.7.8/src/bgp/bgp_ecommunity.c:220:29: note: Parameter 'arg' can be declared as pointer to const pmacct-1.7.8/src/bgp/bgp_ecommunity.c:225:13: style: Variable 'pnt' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_ecommunity.c:276:39: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_ecommunity.c:276:64: style: Parameter 'ecom' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_ecommunity.c:429:54: style: Parameter 'ecom' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_ecommunity.c:281:14: style: Variable 'encode' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/bgp/bgp_aspath.c:727:59: style: Comparing expression of type 'unsigned char' against value 255. Condition is always false. [compareValueOutOfTypeRangeError] pmacct-1.7.8/src/bgp/bgp_aspath.c:810:13: style: Condition 'aspath->segments' is always true [knownConditionTrueFalse] pmacct-1.7.8/src/bgp/bgp.c:1206:28: warning:inconclusive: Either the condition 'pptrs' is redundant or there is possible null pointer dereference: pptrs. [nullPointerRedundantCheck] pmacct-1.7.8/src/bgp/bgp.c:1216:7: note: Assuming that condition 'pptrs' is not redundant pmacct-1.7.8/src/bgp/bgp.c:1206:28: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_aspath.c:566:11: error: Common realloc mistake: 'str_buf' nulled but not freed upon failure [memleakOnRealloc] pmacct-1.7.8/src/bgp/bgp_aspath.c:58:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_aspath.c:53:15: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_aspath.c:53:15: note: Assignment 'new=malloc(sizeof(struct assegment))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_aspath.c:58:10: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_aspath.c:61:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_aspath.c:53:15: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_aspath.c:53:15: note: Assignment 'new=malloc(sizeof(struct assegment))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_aspath.c:61:5: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp.c:1080:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] pmacct-1.7.8/src/bgp/bgp.c:1071:8: note: ret is assigned pmacct-1.7.8/src/bgp/bgp.c:1080:6: note: ret is overwritten pmacct-1.7.8/src/bgp/bgp_aspath.c:62:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_aspath.c:53:15: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_aspath.c:53:15: note: Assignment 'new=malloc(sizeof(struct assegment))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_aspath.c:62:10: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_aspath.c:69:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_aspath.c:53:15: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_aspath.c:53:15: note: Assignment 'new=malloc(sizeof(struct assegment))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_aspath.c:69:3: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_aspath.c:70:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_aspath.c:53:15: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_aspath.c:53:15: note: Assignment 'new=malloc(sizeof(struct assegment))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_aspath.c:70:3: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_aspath.c:249:11: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: aspath [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_aspath.c:243:18: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_aspath.c:243:18: note: Assignment 'aspath=malloc(sizeof(struct aspath))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_aspath.c:249:11: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_aspath.c:491:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: str_buf [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_aspath.c:484:19: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_aspath.c:484:19: note: Assignment 'str_buf=malloc(1)', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_aspath.c:491:3: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_aspath.c:651:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_aspath.c:646:15: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_aspath.c:646:15: note: Assignment 'new=malloc(sizeof(struct aspath))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_aspath.c:651:10: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_aspath.c:658:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_aspath.c:646:15: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_aspath.c:646:15: note: Assignment 'new=malloc(sizeof(struct aspath))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_aspath.c:658:3: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_aspath.c:659:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_aspath.c:646:15: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_aspath.c:646:15: note: Assignment 'new=malloc(sizeof(struct aspath))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_aspath.c:659:3: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_aspath.c:884:3: warning: Either the condition 'last' is redundant or there is possible null pointer dereference: last. [nullPointerRedundantCheck] pmacct-1.7.8/src/bgp/bgp_aspath.c:881:10: note: Assuming that condition 'last' is not redundant pmacct-1.7.8/src/bgp/bgp_aspath.c:884:3: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp.c:351:9: style: Local variable 'yes' shadows outer variable [shadowVariable] pmacct-1.7.8/src/bgp/bgp.c:98:36: note: Shadowed declaration pmacct-1.7.8/src/bgp/bgp.c:351:9: note: Shadow variable pmacct-1.7.8/src/bgp/bgp_aspath.c:105:34: style: Parameter 'seg' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_aspath.c:139:53: style: Parameter 'asnos' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_aspath.c:268:34: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_aspath.c:354:41: style: Parameter 'seg' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_aspath.c:375:21: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_aspath.c:393:21: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_aspath.c:417:21: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_aspath.c:451:21: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_aspath.c:468:21: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_aspath.c:684:35: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_aspath.c:689:11: style: Variable 'tmp8' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_aspath.c:805:38: style: Parameter 'aspath' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_aspath.c:822:21: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_aspath.c:847:21: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_lcommunity.c:43:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_lcommunity.c:73:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_lcommunity.c:255:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp.c:588:13: style: Variable 'select_fd' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/bgp/bgp_lcommunity.c:279:17: error: Common realloc mistake: 'str_buf' nulled but not freed upon failure [memleakOnRealloc] pmacct-1.7.8/src/bgp/bgp_lcommunity.c:46:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_lcommunity.c:41:15: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_lcommunity.c:41:15: note: Assignment 'tmp=malloc(sizeof(struct lcommunity))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_lcommunity.c:46:10: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_lcommunity.c:313:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_lcommunity.c:311:15: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_lcommunity.c:311:15: note: Assignment 'new=malloc(sizeof(struct lcommunity))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_lcommunity.c:313:3: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_lcommunity.c:315:7: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_lcommunity.c:311:15: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_lcommunity.c:311:15: note: Assignment 'new=malloc(sizeof(struct lcommunity))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_lcommunity.c:315:7: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_lcommunity.c:30:34: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_lcommunity.c:66:38: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_lcommunity.c:66:92: style: Parameter 'lval' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_lcommunity.c:190:39: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_lcommunity.c:217:29: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'lcommunity_hash_make' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pmacct-1.7.8/src/bgp/bgp_lcommunity.c:248:43: note: You might need to cast the function pointer here pmacct-1.7.8/src/bgp/bgp_lcommunity.c:217:29: note: Parameter 'arg' can be declared as pointer to const pmacct-1.7.8/src/bgp/bgp_lcommunity.c:222:13: style: Variable 'pnt' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_lcommunity.c:252:39: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_lcommunity.c:252:64: style: Parameter 'lcom' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_lcommunity.c:307:54: style: Parameter 'lcom' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_logdump.c:50:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_logdump.c:677:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SRVBUFLEN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_logdump.c:968:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_logdump.c:1209:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INT64T_THRESHOLD [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_logdump.c:1230:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_logdump.c:1239:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_logdump.c:1334:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_logdump.c:1554:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_logdump.c:1779:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNC_TYPE_BGP [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_logdump.c:1833:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNC_TYPE_BGP [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_logdump.c:2171:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_logdump.c:2198:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_prefix.c:47:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_prefix.c:56:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_prefix.c:98:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_prefix.c:119:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_prefix.c:170:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_prefix.c:188:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_prefix.c:220:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_prefix.c:257:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_prefix.c:341:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_prefix.c:365:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_prefix.c:431:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in6_addr [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_prefix.c:534:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_prefix.c:548:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_prefix.c:676:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_prefix.c:232:16: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: cp [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_prefix.c:227:19: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_prefix.c:227:19: note: Assignment 'cp=malloc((pnt-str)+1)', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_prefix.c:232:16: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_prefix.c:234:24: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: cp [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_prefix.c:227:19: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_prefix.c:227:19: note: Assignment 'cp=malloc((pnt-str)+1)', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_prefix.c:234:24: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_prefix.c:379:16: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: cp [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_prefix.c:374:18: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_prefix.c:374:18: note: Assignment 'cp=malloc((pnt-str)+1)', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_prefix.c:379:16: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_prefix.c:381:34: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: cp [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_prefix.c:374:18: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_prefix.c:374:18: note: Assignment 'cp=malloc((pnt-str)+1)', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_prefix.c:381:34: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_prefix.c:551:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] pmacct-1.7.8/src/bgp/bgp_prefix.c:546:14: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_prefix.c:546:14: note: Assignment 'p=malloc(sizeof(*p))', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_prefix.c:551:10: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_prefix.c:233:12: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pmacct-1.7.8/src/bgp/bgp_prefix.c:227:19: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_prefix.c:227:19: note: Assignment 'cp=malloc((pnt-str)+1)', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_prefix.c:233:12: note: Null pointer addition pmacct-1.7.8/src/bgp/bgp_prefix.c:380:12: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pmacct-1.7.8/src/bgp/bgp_prefix.c:374:18: note: Assuming allocation function fails pmacct-1.7.8/src/bgp/bgp_prefix.c:374:18: note: Assignment 'cp=malloc((pnt-str)+1)', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_prefix.c:380:12: note: Null pointer addition pmacct-1.7.8/src/bgp/bgp_prefix.c:277:11: style: Variable 'end' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_prefix.c:402:18: style: Variable 'pnt' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_lookup.c:42:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tmp_bgp_lookup_compare_ports [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_lookup.c:361:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bgp_daemon_to_xflow_agent_map [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_lookup.c:528:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHERTYPE_IP [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_lookup.c:567:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_lookup.c:609:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_lookup.c:635:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COUNT_STD_COMM [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_lookup.c:757:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PlbgpSz [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_lookup.c:786:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cache_legacy_bgp_primitives [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_lookup.c:828:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_table.c:51:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_table.c:83:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_table.c:235:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_table.c:264:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGP_ASPATH_HASH_PATHID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_table.c:320:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_table.c:337:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_logdump.c:1191:29: style: Condition '!log_ptr->refcnt' is always true [knownConditionTrueFalse] pmacct-1.7.8/src/bgp/bgp_logdump.c:1190:7: note: Assuming that condition '!log_ptr->refcnt' is not redundant pmacct-1.7.8/src/bgp/bgp_logdump.c:1191:29: note: Condition '!log_ptr->refcnt' is always true pmacct-1.7.8/src/bgp/bgp_logdump.c:1253:7: style: Condition '!ptr_start' is always true [knownConditionTrueFalse] pmacct-1.7.8/src/bgp/bgp_logdump.c:1250:15: note: Assignment 'ptr_start=NULL', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_logdump.c:1253:7: note: Condition '!ptr_start' is always true pmacct-1.7.8/src/bgp/bgp_logdump.c:1294:7: style: Condition '!ptr_start' is always true [knownConditionTrueFalse] pmacct-1.7.8/src/bgp/bgp_logdump.c:1291:15: note: Assignment 'ptr_start=NULL', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_logdump.c:1294:7: note: Condition '!ptr_start' is always true pmacct-1.7.8/src/bgp/bgp_logdump.c:670:15: style: Same expression on both sides of '|' because 'ret' and 'amqp_ret' represent the same value. [duplicateExpression] pmacct-1.7.8/src/bgp/bgp_logdump.c:48:13: note: 'ret' is assigned value '0' here. pmacct-1.7.8/src/bgp/bgp_logdump.c:48:27: note: 'amqp_ret' is assigned value '0' here. pmacct-1.7.8/src/bgp/bgp_logdump.c:670:15: note: Same expression on both sides of '|' because 'ret' and 'amqp_ret' represent the same value. pmacct-1.7.8/src/bgp/bgp_logdump.c:670:26: style: Same expression on both sides of '|' because 'kafka_ret' and 'amqp_ret' represent the same value. [duplicateExpression] pmacct-1.7.8/src/bgp/bgp_logdump.c:48:42: note: 'kafka_ret' is assigned value '0' here. pmacct-1.7.8/src/bgp/bgp_logdump.c:48:27: note: 'amqp_ret' is assigned value '0' here. pmacct-1.7.8/src/bgp/bgp_logdump.c:670:26: note: Same expression on both sides of '|' because 'kafka_ret' and 'amqp_ret' represent the same value. pmacct-1.7.8/src/bgp/bgp_logdump.c:952:15: style: Same expression on both sides of '|' because 'ret' and 'amqp_ret' represent the same value. [duplicateExpression] pmacct-1.7.8/src/bgp/bgp_logdump.c:676:32: note: 'ret' is assigned value '0' here. pmacct-1.7.8/src/bgp/bgp_logdump.c:676:46: note: 'amqp_ret' is assigned value '0' here. pmacct-1.7.8/src/bgp/bgp_logdump.c:952:15: note: Same expression on both sides of '|' because 'ret' and 'amqp_ret' represent the same value. pmacct-1.7.8/src/bgp/bgp_logdump.c:952:26: style: Same expression on both sides of '|' because 'kafka_ret' and 'amqp_ret' represent the same value. [duplicateExpression] pmacct-1.7.8/src/bgp/bgp_logdump.c:676:61: note: 'kafka_ret' is assigned value '0' here. pmacct-1.7.8/src/bgp/bgp_logdump.c:676:46: note: 'amqp_ret' is assigned value '0' here. pmacct-1.7.8/src/bgp/bgp_logdump.c:952:26: note: Same expression on both sides of '|' because 'kafka_ret' and 'amqp_ret' represent the same value. pmacct-1.7.8/src/bgp/bgp_logdump.c:1197:15: style: Same expression on both sides of '|' because 'ret' and 'amqp_ret' represent the same value. [duplicateExpression] pmacct-1.7.8/src/bgp/bgp_logdump.c:959:13: note: 'ret' is assigned value '0' here. pmacct-1.7.8/src/bgp/bgp_logdump.c:959:27: note: 'amqp_ret' is assigned value '0' here. pmacct-1.7.8/src/bgp/bgp_logdump.c:1197:15: note: Same expression on both sides of '|' because 'ret' and 'amqp_ret' represent the same value. pmacct-1.7.8/src/bgp/bgp_logdump.c:1197:26: style: Same expression on both sides of '|' because 'kafka_ret' and 'amqp_ret' represent the same value. [duplicateExpression] pmacct-1.7.8/src/bgp/bgp_logdump.c:959:42: note: 'kafka_ret' is assigned value '0' here. pmacct-1.7.8/src/bgp/bgp_logdump.c:959:27: note: 'amqp_ret' is assigned value '0' here. pmacct-1.7.8/src/bgp/bgp_logdump.c:1197:26: note: Same expression on both sides of '|' because 'kafka_ret' and 'amqp_ret' represent the same value. pmacct-1.7.8/src/bgp/bgp_logdump.c:1546:15: style: Same expression on both sides of '|' because 'ret' and 'amqp_ret' represent the same value. [duplicateExpression] pmacct-1.7.8/src/bgp/bgp_logdump.c:1332:13: note: 'ret' is assigned value '0' here. pmacct-1.7.8/src/bgp/bgp_logdump.c:1332:27: note: 'amqp_ret' is assigned value '0' here. pmacct-1.7.8/src/bgp/bgp_logdump.c:1546:15: note: Same expression on both sides of '|' because 'ret' and 'amqp_ret' represent the same value. pmacct-1.7.8/src/bgp/bgp_logdump.c:1546:26: style: Same expression on both sides of '|' because 'kafka_ret' and 'amqp_ret' represent the same value. [duplicateExpression] pmacct-1.7.8/src/bgp/bgp_logdump.c:1332:42: note: 'kafka_ret' is assigned value '0' here. pmacct-1.7.8/src/bgp/bgp_logdump.c:1332:27: note: 'amqp_ret' is assigned value '0' here. pmacct-1.7.8/src/bgp/bgp_logdump.c:1546:26: note: Same expression on both sides of '|' because 'kafka_ret' and 'amqp_ret' represent the same value. pmacct-1.7.8/src/bgp/bgp_logdump.c:1774:15: style: Same expression on both sides of '|' because 'ret' and 'amqp_ret' represent the same value. [duplicateExpression] pmacct-1.7.8/src/bgp/bgp_logdump.c:1552:13: note: 'ret' is assigned value '0' here. pmacct-1.7.8/src/bgp/bgp_logdump.c:1552:27: note: 'amqp_ret' is assigned value '0' here. pmacct-1.7.8/src/bgp/bgp_logdump.c:1774:15: note: Same expression on both sides of '|' because 'ret' and 'amqp_ret' represent the same value. pmacct-1.7.8/src/bgp/bgp_logdump.c:1774:26: style: Same expression on both sides of '|' because 'kafka_ret' and 'amqp_ret' represent the same value. [duplicateExpression] pmacct-1.7.8/src/bgp/bgp_logdump.c:1552:42: note: 'kafka_ret' is assigned value '0' here. pmacct-1.7.8/src/bgp/bgp_logdump.c:1552:27: note: 'amqp_ret' is assigned value '0' here. pmacct-1.7.8/src/bgp/bgp_logdump.c:1774:26: note: Same expression on both sides of '|' because 'kafka_ret' and 'amqp_ret' represent the same value. pmacct-1.7.8/src/bgp/bgp_logdump.c:42:39: style: Parameter 'route' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_logdump.c:43:19: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_logdump.c:43:30: style: Parameter 'event_type' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_logdump.c:46:28: style: Variable 'bms' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_logdump.c:47:20: style: Variable 'peer' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_logdump.c:957:28: style: Variable 'bms' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_logdump.c:1214:43: style: Parameter 'seq' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_logdump.c:1228:44: style: Parameter 'seq' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_logdump.c:1237:55: style: Parameter 'old' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_logdump.c:1243:31: style: Variable 'string_ptr' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_logdump.c:1329:41: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_logdump.c:1329:58: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_logdump.c:1331:28: style: Variable 'bms' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_logdump.c:1549:42: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_logdump.c:1549:59: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_logdump.c:1549:87: style: Parameter 'bds' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_logdump.c:1551:28: style: Variable 'bms' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_logdump.c:1840:21: style: Variable 'table' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_logdump.c:2139:42: style: Parameter 'btdah' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_logdump.c:2196:42: style: Parameter 'btdkh' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_msg.c:36:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:155:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:440:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:451:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:489:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:543:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:591:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:635:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:821:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:910:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:917:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:925:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:939:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:947:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:955:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:964:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:979:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:992:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:1009:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:1090:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:1124:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:1294:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:1331:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:1364:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_msg.c:1492:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_table.c:59:35: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_table.c:91:78: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_table.c:131:11: style: Variable 'np' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_table.c:132:11: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_table.c:167:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_table.c:196:33: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_table.c:226:72: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_table.c:253:28: style: Variable 'bms' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_table.c:311:69: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_table.c:328:70: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_table.c:407:28: style: Variable 'bms' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_xcs.c:29:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_xcs.c:62:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_xcs.c:75:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_xcs.c:103:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:38:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:46:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RD_TYPE_MASK [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:51:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RD_ORIGIN_MASK [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:72:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bgp_rd_origin [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:90:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:133:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:185:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:243:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:260:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:304:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rd_t [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:364:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:472:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:555:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:577:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:626:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:675:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:721:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bgp_xconnect_map [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:775:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PORT_STRLEN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:837:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:848:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PORT_STRLEN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:930:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:1002:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_BGP_STD_COMMS [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:1074:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:1191:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable files_uid [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:1233:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COUNT_LOCAL_PREF [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:1274:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bgp_md5_table [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:1280:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SRVBUFLEN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:1335:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:1342:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PORT_STRLEN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:1413:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:1422:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:1431:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:1440:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:1467:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNC_TYPE_MAX [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:1475:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNC_TYPE_MAX [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:1489:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bgp_daemon_max_peers [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:1544:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGP_ASPATH_HASH_PATHID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:1578:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:1596:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:1618:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:1645:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:1665:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bgp_origin [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:1683:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:1695:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_xcs.c:65:71: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp.c:52:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bmp_daemon_port [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp.c:102:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reload_map_bmp_thread [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp.c:1032:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inter_domain_misc_dbs [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp.c:1048:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inter_domain_misc_dbs [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp.c:275:11: style: Local variable 'yes' shadows outer variable [shadowVariable] pmacct-1.7.8/src/bmp/bmp.c:66:36: note: Shadowed declaration pmacct-1.7.8/src/bmp/bmp.c:275:11: note: Shadow variable pmacct-1.7.8/src/bmp/bmp.c:736:25: style: Variable 'bch' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bmp/bmp.c:570:13: style: Variable 'select_fd' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/bmp/bmp_logdump.c:42:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNC_TYPE_BMP [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_logdump.c:365:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_logdump.c:574:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_logdump.c:682:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_logdump.c:816:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_logdump.c:1073:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_logdump.c:1277:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_logdump.c:1338:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_logdump.c:1372:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_logdump.c:1459:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_logdump.c:1482:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNC_TYPE_BMP [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:298:9: style: Condition '!rie' is always true [knownConditionTrueFalse] pmacct-1.7.8/src/bgp/bgp_util.c:294:32: note: Assignment 'rie=NULL', assigned value is 0 pmacct-1.7.8/src/bgp/bgp_util.c:298:9: note: Condition '!rie' is always true pmacct-1.7.8/src/bmp/bmp_logdump.c:1565:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNC_TYPE_BMP [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_logdump.c:1634:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNC_TYPE_BMP [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_logdump.c:2027:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_logdump.c:2054:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_util.c:780:11: warning: Either the condition '!peer' is redundant or there is possible null pointer dereference: peer. [nullPointerRedundantCheck] pmacct-1.7.8/src/bgp/bgp_util.c:784:7: note: Assuming that condition '!peer' is not redundant pmacct-1.7.8/src/bgp/bgp_util.c:780:11: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_util.c:1576:28: warning: Either the condition '!peer' is redundant or there is possible null pointer dereference: peer. [nullPointerRedundantCheck] pmacct-1.7.8/src/bgp/bgp_util.c:1580:7: note: Assuming that condition '!peer' is not redundant pmacct-1.7.8/src/bgp/bgp_util.c:1576:28: note: Null pointer dereference pmacct-1.7.8/src/bgp/bgp_util.c:1651:11: style: Redundant initialization for 'asn_ptr'. The initialized value is overwritten before it is read. [redundantInitialization] pmacct-1.7.8/src/bgp/bgp_util.c:1642:26: note: asn_ptr is initialized pmacct-1.7.8/src/bgp/bgp_util.c:1651:11: note: asn_ptr is overwritten pmacct-1.7.8/src/bgp/bgp_util.c:120:18: style: Variable 'rda' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_util.c:121:18: style: Variable 'rda4' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_util.c:230:38: style: Parameter 'label' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_util.c:247:60: style: Parameter 'ri' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_util.c:268:43: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_util.c:270:28: style: Variable 'bms' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_util.c:292:64: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_util.c:292:138: style: Parameter 'attr_extra' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_util.c:351:48: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_util.c:531:20: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_util.c:572:20: style: Variable 'val' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_util.c:623:99: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_util.c:830:8: style: Variable 'dumb_buf' can be declared as const array [constVariable] pmacct-1.7.8/src/bgp/bgp_util.c:882:69: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_util.c:1001:26: style: Variable 'delim_src' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_util.c:1002:39: style: Variable 'auxptr' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_util.c:1065:39: style: Parameter 'as' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_util.c:1075:18: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_util.c:1144:9: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_util.c:1144:14: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_util.c:1162:9: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_util.c:1162:14: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_util.c:1345:64: style: Variable 'sa_server' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_util.c:1419:49: style: Parameter 'bp_batch' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_util.c:1428:49: style: Parameter 'bp_batch' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_util.c:1437:51: style: Parameter 'bp_batch' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_util.c:1591:28: style: Variable 'bms' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_util.c:1611:20: style: Variable 'peer' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_util.c:1642:18: style: Variable 'asn_ptr' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_util.c:1669:31: style: Parameter 'origin_str' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_util.c:1360:45: error: Uninitialized variable: sa_server [uninitvar] pmacct-1.7.8/src/bgp/bgp_util.c:1345:76: note: Assignment 'sa_server=(struct sockaddr*)&ss_server', assigned value is pmacct-1.7.8/src/bgp/bgp_util.c:1349:7: note: Assuming condition is false pmacct-1.7.8/src/bgp/bgp_util.c:1360:45: note: Uninitialized variable: sa_server pmacct-1.7.8/src/bgp/bgp_util.c:1196:14: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/bmp/bmp_lookup.c:29:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNC_TYPE_BMP [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_lookup.c:40:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHERTYPE_IP [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_lookup.c:113:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_logdump.c:1496:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: se_ll_elem [nullPointerOutOfMemory] pmacct-1.7.8/src/bmp/bmp_logdump.c:1490:22: note: Assuming allocation function fails pmacct-1.7.8/src/bmp/bmp_logdump.c:1490:22: note: Assignment 'se_ll_elem=malloc(sizeof(struct bmp_dump_se_ll_elem))', assigned value is 0 pmacct-1.7.8/src/bmp/bmp_logdump.c:1496:10: note: Null pointer dereference pmacct-1.7.8/src/bmp/bmp_logdump.c:1519:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: se_ll_elem [nullPointerOutOfMemory] pmacct-1.7.8/src/bmp/bmp_logdump.c:1490:22: note: Assuming allocation function fails pmacct-1.7.8/src/bmp/bmp_logdump.c:1490:22: note: Assignment 'se_ll_elem=malloc(sizeof(struct bmp_dump_se_ll_elem))', assigned value is 0 pmacct-1.7.8/src/bmp/bmp_logdump.c:1519:3: note: Null pointer dereference pmacct-1.7.8/src/bmp/bmp_logdump.c:1520:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: se_ll_elem [nullPointerOutOfMemory] pmacct-1.7.8/src/bmp/bmp_logdump.c:1490:22: note: Assuming allocation function fails pmacct-1.7.8/src/bmp/bmp_logdump.c:1490:22: note: Assignment 'se_ll_elem=malloc(sizeof(struct bmp_dump_se_ll_elem))', assigned value is 0 pmacct-1.7.8/src/bmp/bmp_logdump.c:1520:3: note: Null pointer dereference pmacct-1.7.8/src/bmp/bmp_logdump.c:1521:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: se_ll_elem [nullPointerOutOfMemory] pmacct-1.7.8/src/bmp/bmp_logdump.c:1490:22: note: Assuming allocation function fails pmacct-1.7.8/src/bmp/bmp_logdump.c:1490:22: note: Assignment 'se_ll_elem=malloc(sizeof(struct bmp_dump_se_ll_elem))', assigned value is 0 pmacct-1.7.8/src/bmp/bmp_logdump.c:1521:3: note: Null pointer dereference pmacct-1.7.8/src/bmp/bmp_logdump.c:358:15: style: Same expression on both sides of '|' because 'ret' and 'amqp_ret' represent the same value. [duplicateExpression] pmacct-1.7.8/src/bmp/bmp_logdump.c:43:13: note: 'ret' is assigned value '0' here. pmacct-1.7.8/src/bmp/bmp_logdump.c:43:27: note: 'amqp_ret' is assigned value '0' here. pmacct-1.7.8/src/bmp/bmp_logdump.c:358:15: note: Same expression on both sides of '|' because 'ret' and 'amqp_ret' represent the same value. pmacct-1.7.8/src/bmp/bmp_logdump.c:358:26: style: Same expression on both sides of '|' because 'kafka_ret' and 'amqp_ret' represent the same value. [duplicateExpression] pmacct-1.7.8/src/bmp/bmp_logdump.c:43:42: note: 'kafka_ret' is assigned value '0' here. pmacct-1.7.8/src/bmp/bmp_logdump.c:43:27: note: 'amqp_ret' is assigned value '0' here. pmacct-1.7.8/src/bmp/bmp_logdump.c:358:26: note: Same expression on both sides of '|' because 'kafka_ret' and 'amqp_ret' represent the same value. pmacct-1.7.8/src/bmp/bmp_logdump.c:1870:7: style: Local variable 'event_type' shadows outer variable [shadowVariable] pmacct-1.7.8/src/bmp/bmp_logdump.c:1637:8: note: Shadowed declaration pmacct-1.7.8/src/bmp/bmp_logdump.c:1870:7: note: Shadow variable pmacct-1.7.8/src/bmp/bmp_logdump.c:39:34: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:39:57: style: Parameter 'bdata' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:40:44: style: Parameter 'event_type' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:42:28: style: Variable 'bms' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:361:40: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:361:63: style: Parameter 'bdata' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:361:86: style: Parameter 'tlvs' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:361:114: style: Parameter 'blstats' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:361:129: style: Parameter 'event_type' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:361:159: style: Parameter 'vobj' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:570:39: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:570:62: style: Parameter 'bdata' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:570:85: style: Parameter 'tlvs' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:570:97: style: Parameter 'event_type' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:570:127: style: Parameter 'vobj' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:678:39: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:678:62: style: Parameter 'bdata' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:678:85: style: Parameter 'tlvs' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:678:97: style: Parameter 'event_type' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:678:127: style: Parameter 'vobj' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:812:42: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:812:65: style: Parameter 'bdata' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:812:88: style: Parameter 'tlvs' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:812:118: style: Parameter 'blpu' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:812:130: style: Parameter 'event_type' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:812:160: style: Parameter 'vobj' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:1069:44: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:1069:67: style: Parameter 'bdata' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:1069:90: style: Parameter 'tlvs' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:1069:122: style: Parameter 'blpd' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:1069:134: style: Parameter 'event_type' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:1069:164: style: Parameter 'vobj' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:1273:51: style: Parameter 'tlvs' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:1273:75: style: Parameter 'vobj' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:1333:50: style: Parameter 'null1' can be declared as pointer to const. However it seems that 'bmp_log_rm_tlv_path_marking' is a callback function, if 'null1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pmacct-1.7.8/src/bmp/bmp.h:314:42: note: You might need to cast the function pointer here pmacct-1.7.8/src/bmp/bmp_logdump.c:1333:50: note: Parameter 'null1' can be declared as pointer to const pmacct-1.7.8/src/bmp/bmp_logdump.c:1333:74: style: Parameter 'null2' can be declared as pointer to const. However it seems that 'bmp_log_rm_tlv_path_marking' is a callback function, if 'null2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pmacct-1.7.8/src/bmp/bmp.h:314:42: note: You might need to cast the function pointer here pmacct-1.7.8/src/bmp/bmp_logdump.c:1333:74: note: Parameter 'null2' can be declared as pointer to const pmacct-1.7.8/src/bmp/bmp_logdump.c:1333:99: style: Parameter 'null3' can be declared as pointer to const. However it seems that 'bmp_log_rm_tlv_path_marking' is a callback function, if 'null3' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pmacct-1.7.8/src/bmp/bmp.h:314:42: note: You might need to cast the function pointer here pmacct-1.7.8/src/bmp/bmp_logdump.c:1333:99: note: Parameter 'null3' can be declared as pointer to const pmacct-1.7.8/src/bmp/bmp_logdump.c:1333:112: style: Parameter 'null4' can be declared as pointer to const. However it seems that 'bmp_log_rm_tlv_path_marking' is a callback function, if 'null4' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pmacct-1.7.8/src/bmp/bmp.h:314:42: note: You might need to cast the function pointer here pmacct-1.7.8/src/bmp/bmp_logdump.c:1333:112: note: Parameter 'null4' can be declared as pointer to const pmacct-1.7.8/src/bmp/bmp_logdump.c:1333:137: style: Parameter 'vobj' can be declared as pointer to const. However it seems that 'bmp_log_rm_tlv_path_marking' is a callback function, if 'vobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pmacct-1.7.8/src/bmp/bmp.h:314:42: note: You might need to cast the function pointer here pmacct-1.7.8/src/bmp/bmp_logdump.c:1333:137: note: Parameter 'vobj' can be declared as pointer to const pmacct-1.7.8/src/bmp/bmp_logdump.c:1335:23: style: Variable 'tlv' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:1368:71: style: Parameter 'vobj' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:1480:68: style: Parameter 'bdata' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:1480:103: style: Parameter 'extra' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:1995:36: style: Parameter 'bdah' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_logdump.c:2052:36: style: Parameter 'bmkh' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_lookup.c:89:74: style: Parameter 'path_id' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_lookup.c:91:28: style: Variable 'bms' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bmp/bmp_lookup.c:111:20: style: Variable 'peer_local' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bmp/bmp_lookup.c:112:20: style: Variable 'peer_remote' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bmp/bmp_lookup.c:132:22: style: Variable 'bmed_bmp' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:52:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_rpat.c:148:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_rpat.c:158:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_rpat.c:166:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RD_LEN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_rpat.c:178:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_rpat.c:234:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_rpat.c:242:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_rpat.c:250:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_rpat.c:258:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_rpat.c:266:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_rpat.c:274:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_rpat.c:282:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_rpat.c:299:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_rpat.c:404:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_rpat.c:446:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_msg.c:42:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_msg.c:150:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_msg.c:227:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_msg.c:297:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_msg.c:524:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_msg.c:699:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_msg.c:866:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_msg.c:901:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_msg.c:1082:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_msg.c:1092:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_msg.c:1100:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_msg.c:1108:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_msg.c:1116:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_msg.c:1124:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_msg.c:1140:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_msg.c:1149:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RD_LEN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_msg.c:1189:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bgp/bgp_lookup.c:438:51: style: Array index 'nh_idx' is used before limits check. [arrayIndexThenCheck] pmacct-1.7.8/src/bgp/bgp_lookup.c:464:58: style: Array index 'nh_idx' is used before limits check. [arrayIndexThenCheck] pmacct-1.7.8/src/bgp/bgp_lookup.c:490:58: style: Array index 'nh_idx' is used before limits check. [arrayIndexThenCheck] pmacct-1.7.8/src/bgp/bgp_lookup.c:773:48: warning: Either the condition 'c' is redundant or there is possible null pointer dereference: c. [nullPointerRedundantCheck] pmacct-1.7.8/src/bgp/bgp_lookup.c:775:7: note: Assuming that condition 'c' is not redundant pmacct-1.7.8/src/bgp/bgp_lookup.c:773:48: note: Null pointer dereference pmacct-1.7.8/src/bmp/bmp_rpat.c:150:33: style: Variable '*family' is reassigned a value before the old one has been used. [redundantAssignment] pmacct-1.7.8/src/bmp/bmp_rpat.c:148:15: note: *family is assigned pmacct-1.7.8/src/bmp/bmp_rpat.c:150:33: note: *family is overwritten pmacct-1.7.8/src/bmp/bmp_rpat.c:142:65: style: Parameter 'brch' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:155:65: style: Parameter 'brch' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:163:61: style: Parameter 'brch' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:191:69: style: Parameter 'brch' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:196:62: style: Parameter 'breh' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:201:63: style: Parameter 'breh' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:216:64: style: Parameter 'breh' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:221:65: style: Parameter 'breh' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:231:69: style: Parameter 'brpth' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:239:69: style: Parameter 'brpth' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:247:69: style: Parameter 'brpth' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:255:50: style: Parameter 'np_flags' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:263:50: style: Parameter 'np_flags' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:271:69: style: Parameter 'brpth' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:295:39: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:295:62: style: Parameter 'bdata' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:295:85: style: Parameter 'tlvs' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:295:112: style: Parameter 'blrpat' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:295:126: style: Parameter 'event_type' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:295:156: style: Parameter 'vobj' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:398:43: style: Parameter 'peer' can be declared as pointer to const. However it seems that 'bmp_log_msg_rpat_vrf' is a callback function, if 'peer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pmacct-1.7.8/src/bmp/bmp_rpat.h:108:33: note: You might need to cast the function pointer here pmacct-1.7.8/src/bmp/bmp_rpat.c:398:43: note: Parameter 'peer' can be declared as pointer to const pmacct-1.7.8/src/bmp/bmp_rpat.c:398:66: style: Parameter 'bdata' can be declared as pointer to const. However it seems that 'bmp_log_msg_rpat_vrf' is a callback function, if 'bdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pmacct-1.7.8/src/bmp/bmp_rpat.h:108:33: note: You might need to cast the function pointer here pmacct-1.7.8/src/bmp/bmp_rpat.c:398:66: note: Parameter 'bdata' can be declared as pointer to const pmacct-1.7.8/src/bmp/bmp_rpat.c:398:101: style: Parameter 'event_type' can be declared as pointer to const. However it seems that 'bmp_log_msg_rpat_vrf' is a callback function, if 'event_type' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pmacct-1.7.8/src/bmp/bmp_rpat.h:108:33: note: You might need to cast the function pointer here pmacct-1.7.8/src/bmp/bmp_rpat.c:398:101: note: Parameter 'event_type' can be declared as pointer to const pmacct-1.7.8/src/bmp/bmp_rpat.c:398:131: style: Parameter 'vobj' can be declared as pointer to const. However it seems that 'bmp_log_msg_rpat_vrf' is a callback function, if 'vobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pmacct-1.7.8/src/bmp/bmp_rpat.h:108:33: note: You might need to cast the function pointer here pmacct-1.7.8/src/bmp/bmp_rpat.c:398:131: note: Parameter 'vobj' can be declared as pointer to const pmacct-1.7.8/src/bmp/bmp_rpat.c:400:24: style: Variable 'blrpat' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:401:23: style: Variable 'tlv' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:440:46: style: Parameter 'peer' can be declared as pointer to const. However it seems that 'bmp_log_msg_rpat_policy' is a callback function, if 'peer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pmacct-1.7.8/src/bmp/bmp_rpat.h:109:36: note: You might need to cast the function pointer here pmacct-1.7.8/src/bmp/bmp_rpat.c:440:46: note: Parameter 'peer' can be declared as pointer to const pmacct-1.7.8/src/bmp/bmp_rpat.c:440:69: style: Parameter 'bdata' can be declared as pointer to const. However it seems that 'bmp_log_msg_rpat_policy' is a callback function, if 'bdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pmacct-1.7.8/src/bmp/bmp_rpat.h:109:36: note: You might need to cast the function pointer here pmacct-1.7.8/src/bmp/bmp_rpat.c:440:69: note: Parameter 'bdata' can be declared as pointer to const pmacct-1.7.8/src/bmp/bmp_rpat.c:440:104: style: Parameter 'event_type' can be declared as pointer to const. However it seems that 'bmp_log_msg_rpat_policy' is a callback function, if 'event_type' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pmacct-1.7.8/src/bmp/bmp_rpat.h:109:36: note: You might need to cast the function pointer here pmacct-1.7.8/src/bmp/bmp_rpat.c:440:104: note: Parameter 'event_type' can be declared as pointer to const pmacct-1.7.8/src/bmp/bmp_rpat.c:440:134: style: Parameter 'vobj' can be declared as pointer to const. However it seems that 'bmp_log_msg_rpat_policy' is a callback function, if 'vobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pmacct-1.7.8/src/bmp/bmp_rpat.h:109:36: note: You might need to cast the function pointer here pmacct-1.7.8/src/bmp/bmp_rpat.c:440:134: note: Parameter 'vobj' can be declared as pointer to const pmacct-1.7.8/src/bmp/bmp_rpat.c:442:24: style: Variable 'blrpat' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bmp/bmp_rpat.c:443:23: style: Variable 'tlv' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_lookup.c:902:27: style: Local variable 'peers' shadows outer variable [shadowVariable] pmacct-1.7.8/src/bgp/bgp.h:410:25: note: Shadowed declaration pmacct-1.7.8/src/bgp/bgp_lookup.c:902:27: note: Shadow variable pmacct-1.7.8/src/bgp/bgp_lookup.c:34:26: style: Variable 'inter_domain_routing_db' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_lookup.c:38:20: style: Variable 'default_node' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_lookup.c:338:26: style: Variable 'inter_domain_routing_db' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_lookup.c:601:26: style: Variable 'inter_domain_routing_db' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_lookup.c:631:114: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_lookup.c:754:114: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_lookup.c:792:57: style: Parameter 'peer' can be declared as pointer to const. However it seems that 'bgp_route_info_modulo_pathid' is a callback function, if 'peer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pmacct-1.7.8/src/bgp/bgp_lookup.c:870:33: note: You might need to cast the function pointer here pmacct-1.7.8/src/bgp/bgp_lookup.c:792:57: note: Parameter 'peer' can be declared as pointer to const pmacct-1.7.8/src/bgp/bgp_lookup.c:792:74: style: Parameter 'path_id' can be declared as pointer to const. However it seems that 'bgp_route_info_modulo_pathid' is a callback function, if 'path_id' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pmacct-1.7.8/src/bgp/bgp_lookup.c:870:33: note: You might need to cast the function pointer here pmacct-1.7.8/src/bgp/bgp_lookup.c:792:74: note: Parameter 'path_id' can be declared as pointer to const pmacct-1.7.8/src/bgp/bgp_lookup.c:794:28: style: Variable 'bms' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_lookup.c:807:26: style: Variable 'inter_domain_routing_db' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_lookup.c:816:18: style: Variable 'rd_as4_ptr' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bmp/bmp_tlv.c:187:3: error: syntax error [syntaxError] pmacct-1.7.8/src/bmp/bmp_util.c:349:4: error: syntax error [syntaxError] pmacct-1.7.8/src/external_libs/libcdada/examples/bbitmap.c:11:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/examples/bbitmap.c:49:5: style: Variable 'rv' is reassigned a value before the old one has been used. [redundantAssignment] pmacct-1.7.8/src/external_libs/libcdada/examples/bbitmap.c:46:5: note: rv is assigned pmacct-1.7.8/src/external_libs/libcdada/examples/bbitmap.c:49:5: note: rv is overwritten pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/my_program_gen.c:45:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/my_program_gen.c:21:7: style: Variable 'val' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:24:19: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:24:37: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:28:19: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:28:37: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:33:19: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:33:37: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:37:19: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:37:37: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:48:26: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:49:19: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:52:26: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:54:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:58:26: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:60:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:64:26: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:66:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:70:26: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:72:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:77:26: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:79:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:84:26: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:86:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:91:26: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:93:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:97:26: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:99:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:103:26: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:105:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:110:26: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:112:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:116:26: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:118:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:122:26: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:124:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:128:26: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:130:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:134:26: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:136:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:142:26: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:144:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:150:26: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:152:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:157:33: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:159:25: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:188:25: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:189:18: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:192:25: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:194:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:198:25: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:200:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:204:25: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:206:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:210:25: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:212:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-macro/my_program.c:45:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:218:25: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:220:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:224:25: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:226:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:231:25: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:233:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:239:25: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:241:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:247:25: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:249:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:255:25: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:257:4: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:262:32: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:264:25: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:65:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:71:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:205:26: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-gen/cdada.cc:211:26: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/external_libs/libcdada/examples/custom-macro/my_program.c:21:7: style: Variable 'val' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/external_libs/libcdada/examples/list_u32.c:12:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/examples/list_u32.c:33:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/examples/map_struct.c:25:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/examples/map_struct.c:34:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/examples/map_struct.c:45:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/examples/queue_u32.c:24:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/examples/map_struct.c:57:2: warning: If memory allocation fails, then there is a possible null pointer dereference: val [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/examples/map_struct.c:53:25: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/examples/map_struct.c:53:8: note: Assignment 'val=(struct my_val_t*)malloc(sizeof(struct my_val_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/examples/map_struct.c:57:2: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/examples/map_struct.c:58:2: warning: If memory allocation fails, then there is a possible null pointer dereference: val [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/examples/map_struct.c:53:25: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/examples/map_struct.c:53:8: note: Assignment 'val=(struct my_val_t*)malloc(sizeof(struct my_val_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/examples/map_struct.c:58:2: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/examples/map_struct.c:76:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: val [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/examples/map_struct.c:64:25: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/examples/map_struct.c:64:8: note: Assignment 'val=(struct my_val_t*)malloc(sizeof(struct my_val_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/examples/map_struct.c:66:8: note: Assuming condition is false pmacct-1.7.8/src/external_libs/libcdada/examples/map_struct.c:76:2: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/examples/map_struct.c:77:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: val [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/examples/map_struct.c:64:25: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/examples/map_struct.c:64:8: note: Assignment 'val=(struct my_val_t*)malloc(sizeof(struct my_val_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/examples/map_struct.c:66:8: note: Assuming condition is false pmacct-1.7.8/src/external_libs/libcdada/examples/map_struct.c:77:2: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/examples/map_struct.c:22:12: style: Variable 'key' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/external_libs/libcdada/examples/map_struct.c:23:12: style: Variable 'val' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/external_libs/libcdada/examples/stack_u32.c:24:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/examples/str.c:9:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/examples/str.c:14:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/bbitmap.cc:15:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cdada_bbitmap_t [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/bbitmap.cc:39:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_SUCCESS [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/bbitmap.cc:47:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/bbitmap.cc:56:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_SUCCESS [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/bbitmap.cc:74:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/bbitmap.cc:84:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_SUCCESS [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/bbitmap.cc:99:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/bbitmap.cc:109:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/bbitmap.cc:145:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_MEM [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/bbitmap.cc:15:6: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/src/bbitmap.cc:21:11: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/src/bbitmap.cc:91:7: style: The scope of the variable 'set' can be reduced. [variableScope] pmacct-1.7.8/src/external_libs/libcdada/src/bbitmap.cc:92:7: style: The scope of the variable 'c' can be reduced. [variableScope] pmacct-1.7.8/src/external_libs/libcdada/src/bbitmap.cc:104:11: style: The scope of the variable 'i' can be reduced. [variableScope] pmacct-1.7.8/src/external_libs/libcdada/src/bbitmap.cc:135:11: style: The scope of the variable 'i' can be reduced. [variableScope] pmacct-1.7.8/src/external_libs/libcdada/src/bbitmap.cc:124:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/bbitmap.cc:144:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/bbitmap.cc:88:18: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:18:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __cdada_list_int_t [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:18:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __cdada_map_int_t [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:121:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_UNKNOWN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:121:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_UNKNOWN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:176:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_UNKNOWN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:176:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_UNKNOWN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:192:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_MAGIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:192:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_MAGIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:232:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_MAGIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:232:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_MAGIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:275:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:276:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:339:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:365:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:400:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_MAGIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:426:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:512:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_MEM [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:493:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:526:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:581:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:590:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:651:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:703:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_MEM [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:723:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:722:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_MAGIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:856:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_UNKNOWN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:775:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_MAGIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:828:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_MAGIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:885:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:955:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:1024:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:1157:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_UNKNOWN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:38:21: style: Condition 'key_size>2' is always true [knownConditionTrueFalse] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:35:21: note: Assuming that condition 'key_size==2' is not redundant pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:38:21: note: Condition 'key_size>2' is always true pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:19:9: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:18:32: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:18:6: note: Assignment 'm=(__cdada_map_int_t*)std::malloc(sizeof(__cdada_map_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:19:9: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:20:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:18:32: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:18:6: note: Assignment 'm=(__cdada_map_int_t*)std::malloc(sizeof(__cdada_map_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:20:2: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:21:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:18:32: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:18:6: note: Assignment 'm=(__cdada_map_int_t*)std::malloc(sizeof(__cdada_map_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:21:2: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:26:4: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:18:32: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:18:6: note: Assignment 'm=(__cdada_map_int_t*)std::malloc(sizeof(__cdada_map_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:26:4: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:26:17: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:18:32: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:18:6: note: Assignment 'm=(__cdada_map_int_t*)std::malloc(sizeof(__cdada_map_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:26:17: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:27:4: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:18:32: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:18:6: note: Assignment 'm=(__cdada_map_int_t*)std::malloc(sizeof(__cdada_map_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:27:4: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:28:6: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:18:32: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:18:6: note: Assignment 'm=(__cdada_map_int_t*)std::malloc(sizeof(__cdada_map_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:28:6: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:18:6: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:81:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:136:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:190:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:230:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:271:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:360:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:421:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:488:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:576:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:646:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:719:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:801:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:62:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:178:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:342:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:411:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:789:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/map.cc:861:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:18:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __cdada_queue_int_t [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:121:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_UNKNOWN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:38:21: style: Condition 'val_size>2' is always true [knownConditionTrueFalse] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:35:21: note: Assuming that condition 'val_size==2' is not redundant pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:38:21: note: Condition 'val_size>2' is always true pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:141:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:243:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_UNKNOWN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:250:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_MAGIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:293:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:355:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:414:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_MAGIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:463:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_MAGIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:473:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_MAGIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:488:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:621:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_UNKNOWN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:19:9: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:18:33: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:18:6: note: Assignment 'm=(__cdada_list_int_t*)std::malloc(sizeof(__cdada_list_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:19:9: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:20:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:18:33: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:18:6: note: Assignment 'm=(__cdada_list_int_t*)std::malloc(sizeof(__cdada_list_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:20:2: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:21:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:18:33: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:18:6: note: Assignment 'm=(__cdada_list_int_t*)std::malloc(sizeof(__cdada_list_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:21:2: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:26:4: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:18:33: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:18:6: note: Assignment 'm=(__cdada_list_int_t*)std::malloc(sizeof(__cdada_list_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:26:4: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:26:17: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:18:33: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:18:6: note: Assignment 'm=(__cdada_list_int_t*)std::malloc(sizeof(__cdada_list_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:26:17: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:27:4: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:18:33: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:18:6: note: Assignment 'm=(__cdada_list_int_t*)std::malloc(sizeof(__cdada_list_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:27:4: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:28:6: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:18:33: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:18:6: note: Assignment 'm=(__cdada_list_int_t*)std::malloc(sizeof(__cdada_list_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:28:6: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:18:6: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:81:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:136:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:190:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:230:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:270:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:334:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:398:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:463:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:521:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:585:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:654:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:720:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:773:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:826:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:880:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:950:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:1020:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:1102:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:62:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:178:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:324:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:387:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:511:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:575:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:636:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:702:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:1090:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/list.cc:1162:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:38:21: style: Condition 'val_size>2' is always true [knownConditionTrueFalse] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:35:21: note: Assuming that condition 'val_size==2' is not redundant pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:38:21: note: Condition 'val_size>2' is always true pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:19:9: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:18:34: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:18:6: note: Assignment 'm=(__cdada_queue_int_t*)std::malloc(sizeof(__cdada_queue_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:19:9: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:20:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:18:34: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:18:6: note: Assignment 'm=(__cdada_queue_int_t*)std::malloc(sizeof(__cdada_queue_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:20:2: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:21:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:18:34: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:18:6: note: Assignment 'm=(__cdada_queue_int_t*)std::malloc(sizeof(__cdada_queue_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:21:2: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:26:4: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:18:34: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:18:6: note: Assignment 'm=(__cdada_queue_int_t*)std::malloc(sizeof(__cdada_queue_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:26:4: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:26:17: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:18:34: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:18:6: note: Assignment 'm=(__cdada_queue_int_t*)std::malloc(sizeof(__cdada_queue_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:26:17: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:27:4: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:18:34: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:18:6: note: Assignment 'm=(__cdada_queue_int_t*)std::malloc(sizeof(__cdada_queue_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:27:4: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:28:6: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:18:34: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:18:6: note: Assignment 'm=(__cdada_queue_int_t*)std::malloc(sizeof(__cdada_queue_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:28:6: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:18:6: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:81:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:136:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:200:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:248:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:288:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:350:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:412:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:461:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:471:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:484:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:566:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:62:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:190:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:340:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:402:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:554:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:626:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/queue.cc:461:23: style: Variable 'm' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bmp/bmp_msg.c:1084:33: style: Variable '*family' is reassigned a value before the old one has been used. [redundantAssignment] pmacct-1.7.8/src/bmp/bmp_msg.c:1082:15: note: *family is assigned pmacct-1.7.8/src/bmp/bmp_msg.c:1084:33: note: *family is overwritten pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:18:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __cdada_set_int_t [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:126:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_UNKNOWN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:176:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_UNKNOWN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:192:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_MAGIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:235:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_MAGIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:280:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:344:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:403:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_MAGIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:458:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_MAGIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:527:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:596:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_msg.c:1047:52: style: Parameter 'bch' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:667:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_msg.c:1052:47: style: Parameter 'bth' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:800:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_UNKNOWN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/bmp/bmp_msg.c:1057:46: style: Parameter 'bth' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_msg.c:1064:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bmp/bmp_msg.c:1076:51: style: Parameter 'bph' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_msg.c:1089:51: style: Parameter 'bph' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_msg.c:1097:51: style: Parameter 'bph' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_msg.c:1105:51: style: Parameter 'bph' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_msg.c:1113:51: style: Parameter 'bph' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_msg.c:1137:51: style: Parameter 'bph' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_msg.c:1145:47: style: Parameter 'bph' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_msg.c:1159:51: style: Parameter 'bph' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_msg.c:1174:53: style: Parameter 'bph' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_msg.c:1179:54: style: Parameter 'bph' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_msg.c:1194:59: style: Parameter 'bpuh' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_msg.c:1199:59: style: Parameter 'bpuh' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_msg.c:1204:61: style: Parameter 'bpdh' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_msg.c:1211:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bmp/bmp_msg.c:1220:52: style: Parameter 'bsh' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_msg.c:1225:59: style: Parameter 'bsch' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_msg.c:1230:58: style: Parameter 'bsch' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bmp/bmp_msg.c:1237:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bmp/bmp_msg.c:1248:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bmp/bmp_msg.c:1259:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bmp/bmp_msg.c:205:11: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/bmp/bmp_msg.c:334:30: style: Variable 'ret2' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/bmp/bmp_msg.c:556:16: style: Variable 'ret2' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/bmp/bmp_msg.c:685:28: style: Variable 'ret2' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/bmp/bmp_msg.c:686:25: style: Variable 'bgp_msg_type' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:18:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __cdada_stack_int_t [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:121:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_UNKNOWN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:141:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:243:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_UNKNOWN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:250:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_MAGIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:293:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:351:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_MAGIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:400:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_MAGIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:410:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_MAGIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:425:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:558:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_UNKNOWN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:15:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __cdada_str_int_t [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:44:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_UNKNOWN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:61:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:87:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:110:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_MAGIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:126:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_MAGIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:142:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_MAGIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:161:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:205:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:242:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:276:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:300:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:327:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:353:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:376:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:399:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_SUCCESS [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:425:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:452:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_SUCCESS [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:487:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_MEM [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:512:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:543:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_INVALID [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:39:21: style: Condition 'key_size>2' is always true [knownConditionTrueFalse] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:36:21: note: Assuming that condition 'key_size==2' is not redundant pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:39:21: note: Condition 'key_size>2' is always true pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:19:9: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:18:32: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:18:6: note: Assignment 'm=(__cdada_set_int_t*)std::malloc(sizeof(__cdada_set_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:19:9: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:20:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:18:32: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:18:6: note: Assignment 'm=(__cdada_set_int_t*)std::malloc(sizeof(__cdada_set_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:20:2: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:21:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:18:32: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:18:6: note: Assignment 'm=(__cdada_set_int_t*)std::malloc(sizeof(__cdada_set_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:21:2: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:26:4: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:18:32: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:18:6: note: Assignment 'm=(__cdada_set_int_t*)std::malloc(sizeof(__cdada_set_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:26:4: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:26:17: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:18:32: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:18:6: note: Assignment 'm=(__cdada_set_int_t*)std::malloc(sizeof(__cdada_set_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:26:17: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:27:4: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:18:32: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:18:6: note: Assignment 'm=(__cdada_set_int_t*)std::malloc(sizeof(__cdada_set_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:27:4: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:28:6: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:18:32: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:18:6: note: Assignment 'm=(__cdada_set_int_t*)std::malloc(sizeof(__cdada_set_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:28:6: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:18:6: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:83:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:137:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:190:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:233:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:275:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:339:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:401:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:456:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:522:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:591:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:663:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:745:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:64:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:178:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:329:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:391:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:733:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/set.cc:805:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/utils.c:17:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_E_COUNT [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/utils.c:21:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_VERSION [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/utils.c:25:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_VERSION_MAJOR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/utils.c:29:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_VERSION_MINOR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/utils.c:33:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_VERSION_PATCH [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/utils.c:37:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDADA_BUILD [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:38:21: style: Condition 'val_size>2' is always true [knownConditionTrueFalse] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:35:21: note: Assuming that condition 'val_size==2' is not redundant pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:38:21: note: Condition 'val_size>2' is always true pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:19:9: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:18:34: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:18:6: note: Assignment 'm=(__cdada_stack_int_t*)std::malloc(sizeof(__cdada_stack_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:19:9: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:20:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:18:34: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:18:6: note: Assignment 'm=(__cdada_stack_int_t*)std::malloc(sizeof(__cdada_stack_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:20:2: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:21:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:18:34: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:18:6: note: Assignment 'm=(__cdada_stack_int_t*)std::malloc(sizeof(__cdada_stack_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:21:2: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:26:4: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:18:34: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:18:6: note: Assignment 'm=(__cdada_stack_int_t*)std::malloc(sizeof(__cdada_stack_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:26:4: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:26:17: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:18:34: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:18:6: note: Assignment 'm=(__cdada_stack_int_t*)std::malloc(sizeof(__cdada_stack_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:26:17: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:27:4: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:18:34: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:18:6: note: Assignment 'm=(__cdada_stack_int_t*)std::malloc(sizeof(__cdada_stack_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:27:4: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:28:6: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:18:34: note: Assuming allocation function fails pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:18:6: note: Assignment 'm=(__cdada_stack_int_t*)std::malloc(sizeof(__cdada_stack_int_t))', assigned value is 0 pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:28:6: note: Null pointer dereference pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:18:6: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:81:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:136:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:200:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:248:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:288:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:349:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:398:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:408:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:421:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:503:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:15:6: style: C-style pointer casting [cstyleCast] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:35:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:56:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:82:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:108:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:124:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:140:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:156:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:200:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:237:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:271:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:295:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:322:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:348:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:371:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:394:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:420:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:447:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:473:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:507:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:538:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:62:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:190:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:339:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:491:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:563:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/stack.cc:398:23: style: Variable 'm' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:210:10: style: The scope of the variable 'p' can be reduced. [variableScope] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:355:15: style: The scope of the variable 's' can be reduced. [variableScope] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:378:15: style: The scope of the variable 's' can be reduced. [variableScope] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:477:15: style: The scope of the variable 's' can be reduced. [variableScope] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:63:15: style: Variable 's' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:89:15: style: Variable 's' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:163:15: style: Variable 's' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:244:15: style: Variable 's' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:278:15: style: Variable 's' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:302:15: style: Variable 's' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:329:15: style: Variable 's' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:359:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:382:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:408:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:434:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:461:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:486:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:525:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/external_libs/libcdada/src/str.cc:556:20: style: Variable 'e' can be declared as reference to const [constVariableReference] pmacct-1.7.8/src/filters/bloom.c:120:33: style: Parameter 'bloom' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/checksum.c:58:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/isis/hash.c:35:3: warning: If memory allocation fails, then there is a possible null pointer dereference: hash [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/hash.c:34:16: note: Assuming allocation function fails pmacct-1.7.8/src/isis/hash.c:34:16: note: Assignment 'hash=calloc(1,sizeof(struct hash))', assigned value is 0 pmacct-1.7.8/src/isis/hash.c:35:3: note: Null pointer dereference pmacct-1.7.8/src/isis/hash.c:36:3: warning: If memory allocation fails, then there is a possible null pointer dereference: hash [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/hash.c:34:16: note: Assuming allocation function fails pmacct-1.7.8/src/isis/hash.c:34:16: note: Assignment 'hash=calloc(1,sizeof(struct hash))', assigned value is 0 pmacct-1.7.8/src/isis/hash.c:36:3: note: Null pointer dereference pmacct-1.7.8/src/isis/hash.c:37:3: warning: If memory allocation fails, then there is a possible null pointer dereference: hash [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/hash.c:34:16: note: Assuming allocation function fails pmacct-1.7.8/src/isis/hash.c:34:16: note: Assignment 'hash=calloc(1,sizeof(struct hash))', assigned value is 0 pmacct-1.7.8/src/isis/hash.c:37:3: note: Null pointer dereference pmacct-1.7.8/src/isis/hash.c:38:3: warning: If memory allocation fails, then there is a possible null pointer dereference: hash [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/hash.c:34:16: note: Assuming allocation function fails pmacct-1.7.8/src/isis/hash.c:34:16: note: Assignment 'hash=calloc(1,sizeof(struct hash))', assigned value is 0 pmacct-1.7.8/src/isis/hash.c:38:3: note: Null pointer dereference pmacct-1.7.8/src/isis/hash.c:39:3: warning: If memory allocation fails, then there is a possible null pointer dereference: hash [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/hash.c:34:16: note: Assuming allocation function fails pmacct-1.7.8/src/isis/hash.c:34:16: note: Assignment 'hash=calloc(1,sizeof(struct hash))', assigned value is 0 pmacct-1.7.8/src/isis/hash.c:39:3: note: Null pointer dereference pmacct-1.7.8/src/isis/hash.c:86:7: warning: If memory allocation fails, then there is a possible null pointer dereference: backet [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/hash.c:85:22: note: Assuming allocation function fails pmacct-1.7.8/src/isis/hash.c:85:22: note: Assignment 'backet=calloc(1,sizeof(struct hash_backet))', assigned value is 0 pmacct-1.7.8/src/isis/hash.c:86:7: note: Null pointer dereference pmacct-1.7.8/src/isis/hash.c:87:7: warning: If memory allocation fails, then there is a possible null pointer dereference: backet [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/hash.c:85:22: note: Assuming allocation function fails pmacct-1.7.8/src/isis/hash.c:85:22: note: Assignment 'backet=calloc(1,sizeof(struct hash_backet))', assigned value is 0 pmacct-1.7.8/src/isis/hash.c:87:7: note: Null pointer dereference pmacct-1.7.8/src/isis/hash.c:88:7: warning: If memory allocation fails, then there is a possible null pointer dereference: backet [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/hash.c:85:22: note: Assuming allocation function fails pmacct-1.7.8/src/isis/hash.c:85:22: note: Assignment 'backet=calloc(1,sizeof(struct hash_backet))', assigned value is 0 pmacct-1.7.8/src/isis/hash.c:88:7: note: Null pointer dereference pmacct-1.7.8/src/isis/hash.c:91:14: warning: If memory allocation fails, then there is a possible null pointer dereference: backet [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/hash.c:85:22: note: Assuming allocation function fails pmacct-1.7.8/src/isis/hash.c:85:22: note: Assignment 'backet=calloc(1,sizeof(struct hash_backet))', assigned value is 0 pmacct-1.7.8/src/isis/hash.c:91:14: note: Null pointer dereference pmacct-1.7.8/src/isis/hash.c:150:33: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/isis_adjacency.c:87:3: error: syntax error [syntaxError] pmacct-1.7.8/src/isis/isis_circuit.c:81:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/isis.c:63:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/isis.c:71:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/isis.c:242:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/isis.c:319:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLL_HDR_LEN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/isis.c:345:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/isis.c:367:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHERTYPE_IP [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/isis.c:432:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/isis.c:449:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/isis.c:474:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/isis.c:525:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/isis.c:576:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/isis.c:626:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chdlc_header [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/isis.c:809:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/isis.c:822:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/isis.c:829:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/isis.c:849:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/isis_csm.c:73:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/isis_dynhn.c:56:3: error: syntax error [syntaxError] pmacct-1.7.8/src/isis/isis_events.c:112:3: error: syntax error [syntaxError] pmacct-1.7.8/src/isis/isis_flags.c:84:10: style: Obsolescent function 'bcmp' called. It is recommended to use 'memcmp' instead. [prohibitedbcmpCalled] pmacct-1.7.8/src/isis/isis_flags.c:79:28: style: Parameter 'flags' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/isis_lsp.c:172:3: error: syntax error [syntaxError] pmacct-1.7.8/src/isis/isis_misc.c:449:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/isis_misc.c:60:24: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/isis_misc.c:208:30: style: Parameter 'nlpids' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/isis_misc.c:250:24: style: Parameter 'nlpids' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/isis_misc.c:309:22: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/isis_misc.c:341:23: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/isis_misc.c:459:28: style: Parameter 'prefix_start' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/isis_pdu.c:87:3: error: syntax error [syntaxError] pmacct-1.7.8/src/isis/isis_route.c:57:3: error: syntax error [syntaxError] pmacct-1.7.8/src/isis/dict.c:1058:23: style: The comparison 'dnode_red == 0' is always true. [knownConditionTrueFalse] pmacct-1.7.8/src/isis/dict.c:1058:43: style: The comparison 'dnode_black == 1' is always true. [knownConditionTrueFalse] pmacct-1.7.8/src/isis/dict.c:1176:6: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] pmacct-1.7.8/src/isis/dict.c:431:14: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/isis/dict.c:469:14: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/isis/dict.c:501:14: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/isis/dict.c:829:14: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/isis/dict.c:845:14: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/isis/dict.c:863:14: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/isis/dict.c:889:14: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/isis/dict.c:920:32: style: Parameter 'dict' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/dict.c:925:26: style: Parameter 'dict' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/dict.c:930:25: style: Parameter 'dict' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/dict.c:977:26: style: Parameter 'dnode' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/dict.c:982:35: style: Parameter 'dnode' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/dict.c:992:33: style: Parameter 'dnode' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/isis_spf.c:131:3: error: syntax error [syntaxError] pmacct-1.7.8/src/isis/isis_tlv.c:677:3: error: syntax error [syntaxError] pmacct-1.7.8/src/isis/isis.c:396:14: style: Condition 'area' is always true [knownConditionTrueFalse] pmacct-1.7.8/src/isis/isis.c:343:46: style: Parameter 'pptrs' can be declared as pointer to const. However it seems that 'iso_handler' is a callback function, if 'pptrs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pmacct-1.7.8/src/isis/isis.c:333:25: note: You might need to cast the function pointer here pmacct-1.7.8/src/isis/isis.c:343:46: note: Parameter 'pptrs' can be declared as pointer to const pmacct-1.7.8/src/isis/isis.c:352:8: style: Variable 'area_tag' can be declared as const array [constVariable] pmacct-1.7.8/src/isis/isis.c:837:68: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/isisd.c:138:3: error: syntax error [syntaxError] pmacct-1.7.8/src/isis/isis.c:280:6: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/isis/isis.c:759:17: style: Variable 'prefix_len' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/isis/sockunion.c:34:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/sockunion.c:50:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/sockunion.c:74:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/sockunion.c:89:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/sockunion.c:120:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/sockunion.c:135:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/sockunion.c:152:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/sockunion.c:186:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/sockunion.c:208:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/sockunion.c:242:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/sockunion.c:278:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/sockunion.c:296:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/sockunion.c:340:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/sockunion.c:388:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/sockunion.c:437:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/sockunion.c:454:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/sockunion.c:488:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/sockunion.c:529:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/sockunion.c:559:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in6_addr [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/sockunion.c:577:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/prefix.c:76:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/prefix.c:102:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/prefix.c:153:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/prefix.c:170:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/prefix.c:195:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/prefix.c:228:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/prefix.c:305:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/prefix.c:329:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/prefix.c:391:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in6_addr [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/prefix.c:463:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/prefix.c:490:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/prefix.c:550:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/sockunion.c:135:7: warning: If memory allocation fails, then there is a possible null pointer dereference: su [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/sockunion.c:542:18: note: Assuming allocation function fails pmacct-1.7.8/src/isis/sockunion.c:542:18: note: Assignment 'su=calloc(1,sizeof(union sockunion))', assigned value is 0 pmacct-1.7.8/src/isis/sockunion.c:544:35: note: Calling function 'sockunion_normalise_mapped', 1st argument 'su' value is 0 pmacct-1.7.8/src/isis/sockunion.c:135:7: note: Null pointer dereference pmacct-1.7.8/src/isis/sockunion.c:496:15: warning: If memory allocation fails, then there is a possible null pointer dereference: su [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/sockunion.c:495:18: note: Assuming allocation function fails pmacct-1.7.8/src/isis/sockunion.c:495:18: note: Assignment 'su=calloc(1,sizeof(union sockunion))', assigned value is 0 pmacct-1.7.8/src/isis/sockunion.c:496:15: note: Null pointer dereference pmacct-1.7.8/src/isis/sockunion.c:502:15: warning: If memory allocation fails, then there is a possible null pointer dereference: su [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/sockunion.c:501:18: note: Assuming allocation function fails pmacct-1.7.8/src/isis/sockunion.c:501:18: note: Assignment 'su=calloc(1,sizeof(union sockunion))', assigned value is 0 pmacct-1.7.8/src/isis/sockunion.c:502:15: note: Null pointer dereference pmacct-1.7.8/src/isis/sockunion.c:537:15: warning: If memory allocation fails, then there is a possible null pointer dereference: su [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/sockunion.c:536:18: note: Assuming allocation function fails pmacct-1.7.8/src/isis/sockunion.c:536:18: note: Assignment 'su=calloc(1,sizeof(union sockunion))', assigned value is 0 pmacct-1.7.8/src/isis/sockunion.c:537:15: note: Null pointer dereference pmacct-1.7.8/src/isis/sockunion.c:543:15: warning: If memory allocation fails, then there is a possible null pointer dereference: su [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/sockunion.c:542:18: note: Assuming allocation function fails pmacct-1.7.8/src/isis/sockunion.c:542:18: note: Assignment 'su=calloc(1,sizeof(union sockunion))', assigned value is 0 pmacct-1.7.8/src/isis/sockunion.c:543:15: note: Null pointer dereference pmacct-1.7.8/src/isis/sockunion.c:596:11: warning: If memory allocation fails, then there is a possible null pointer dereference: dup [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/sockunion.c:595:32: note: Assuming allocation function fails pmacct-1.7.8/src/isis/sockunion.c:595:32: note: Assignment 'dup=calloc(1,sizeof(union sockunion))', assigned value is 0 pmacct-1.7.8/src/isis/sockunion.c:596:11: note: Null pointer dereference pmacct-1.7.8/src/isis/sockunion.c:29:30: style: Parameter 'su' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/sockunion.c:72:33: style: Parameter 'su' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/sockunion.c:113:36: style: Parameter 'su' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/sockunion.c:178:36: style: Parameter 'su' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/sockunion.c:197:33: style: Parameter 'su' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/sockunion.c:222:45: style: Parameter 'peersu' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/sockunion.c:291:20: style: Parameter 'su_addr' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/sockunion.c:443:34: style: Parameter 'su1' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/sockunion.c:443:56: style: Parameter 'su2' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/sockunion.c:554:11: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/isis/sockunion.c:554:16: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/isis/sockunion.c:593:33: style: Parameter 'su' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/sockunion.c:478:10: style: union member 'Anonymous1::tmp_buffer' is never used. [unusedStructMember] pmacct-1.7.8/src/isis/sockunion.c:520:10: style: union member 'Anonymous2::tmp_buffer' is never used. [unusedStructMember] pmacct-1.7.8/src/isis/prefix.c:203:16: warning: If memory allocation fails, then there is a possible null pointer dereference: cp [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/prefix.c:202:18: note: Assuming allocation function fails pmacct-1.7.8/src/isis/prefix.c:202:18: note: Assignment 'cp=calloc(1,(pnt-str)+1)', assigned value is 0 pmacct-1.7.8/src/isis/prefix.c:203:16: note: Null pointer dereference pmacct-1.7.8/src/isis/prefix.c:205:24: warning: If memory allocation fails, then there is a possible null pointer dereference: cp [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/prefix.c:202:18: note: Assuming allocation function fails pmacct-1.7.8/src/isis/prefix.c:202:18: note: Assignment 'cp=calloc(1,(pnt-str)+1)', assigned value is 0 pmacct-1.7.8/src/isis/prefix.c:205:24: note: Null pointer dereference pmacct-1.7.8/src/isis/prefix.c:339:16: warning: If memory allocation fails, then there is a possible null pointer dereference: cp [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/prefix.c:338:18: note: Assuming allocation function fails pmacct-1.7.8/src/isis/prefix.c:338:18: note: Assignment 'cp=calloc(0,(pnt-str)+1)', assigned value is 0 pmacct-1.7.8/src/isis/prefix.c:339:16: note: Null pointer dereference pmacct-1.7.8/src/isis/prefix.c:341:34: warning: If memory allocation fails, then there is a possible null pointer dereference: cp [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/prefix.c:338:18: note: Assuming allocation function fails pmacct-1.7.8/src/isis/prefix.c:338:18: note: Assignment 'cp=calloc(0,(pnt-str)+1)', assigned value is 0 pmacct-1.7.8/src/isis/prefix.c:341:34: note: Null pointer dereference pmacct-1.7.8/src/isis/prefix.c:204:12: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pmacct-1.7.8/src/isis/prefix.c:202:18: note: Assuming allocation function fails pmacct-1.7.8/src/isis/prefix.c:202:18: note: Assignment 'cp=calloc(1,(pnt-str)+1)', assigned value is 0 pmacct-1.7.8/src/isis/prefix.c:204:12: note: Null pointer addition pmacct-1.7.8/src/isis/prefix.c:340:12: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pmacct-1.7.8/src/isis/prefix.c:338:18: note: Assuming allocation function fails pmacct-1.7.8/src/isis/prefix.c:338:18: note: Assignment 'cp=calloc(0,(pnt-str)+1)', assigned value is 0 pmacct-1.7.8/src/isis/prefix.c:340:12: note: Null pointer addition pmacct-1.7.8/src/isis/prefix.c:248:11: style: Variable 'end' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/isis/prefix.c:362:18: style: Variable 'pnt' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/isis/table.c:232:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prefix_ipv4 [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/table.c:246:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prefix_ipv6 [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:96:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:129:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:147:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:159:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:182:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:189:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:196:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:204:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:219:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:233:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:248:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:266:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:284:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:303:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:323:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:343:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:364:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:386:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:411:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:437:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:463:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:485:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:501:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:519:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:539:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:562:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:578:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:595:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:613:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:636:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:653:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:673:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:696:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:719:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:743:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:775:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:811:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:839:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:863:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:871:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:880:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:891:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/table.c:59:64: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/table.c:141:11: style: Variable 'np' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/isis/table.c:142:11: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/isis/table.c:423:63: style: Parameter 'limit' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/thread.c:189:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/thread.c:452:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/thread.c:475:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/thread.c:805:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/isis/stream.c:651:55: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/stream.c:669:58: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/thread.c:613:15: warning: Assert statement calls a function which may have desired side effects: 'FD_ISSET'. [assertWithSideEffect] pmacct-1.7.8/src/isis/thread.c:618:15: warning: Assert statement calls a function which may have desired side effects: 'FD_ISSET'. [assertWithSideEffect] pmacct-1.7.8/src/isis/thread.c:706:19: warning: Assert statement calls a function which may have desired side effects: 'FD_ISSET'. [assertWithSideEffect] pmacct-1.7.8/src/isis/thread.c:232:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/thread.c:231:15: note: Assuming allocation function fails pmacct-1.7.8/src/isis/thread.c:231:15: note: Assignment 'new=calloc(1,sizeof(struct cpu_thread_history))', assigned value is 0 pmacct-1.7.8/src/isis/thread.c:232:3: note: Null pointer dereference pmacct-1.7.8/src/isis/thread.c:233:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/thread.c:231:15: note: Assuming allocation function fails pmacct-1.7.8/src/isis/thread.c:231:15: note: Assignment 'new=calloc(1,sizeof(struct cpu_thread_history))', assigned value is 0 pmacct-1.7.8/src/isis/thread.c:233:3: note: Null pointer dereference pmacct-1.7.8/src/isis/thread.c:430:3: warning: If memory allocation fails, then there is a possible null pointer dereference: thread [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/thread.c:427:22: note: Assuming allocation function fails pmacct-1.7.8/src/isis/thread.c:427:22: note: Assignment 'thread=calloc(1,sizeof(struct thread))', assigned value is 0 pmacct-1.7.8/src/isis/thread.c:430:3: note: Null pointer dereference pmacct-1.7.8/src/isis/thread.c:431:3: warning: If memory allocation fails, then there is a possible null pointer dereference: thread [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/thread.c:427:22: note: Assuming allocation function fails pmacct-1.7.8/src/isis/thread.c:427:22: note: Assignment 'thread=calloc(1,sizeof(struct thread))', assigned value is 0 pmacct-1.7.8/src/isis/thread.c:431:3: note: Null pointer dereference pmacct-1.7.8/src/isis/thread.c:432:3: warning: If memory allocation fails, then there is a possible null pointer dereference: thread [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/thread.c:427:22: note: Assuming allocation function fails pmacct-1.7.8/src/isis/thread.c:427:22: note: Assignment 'thread=calloc(1,sizeof(struct thread))', assigned value is 0 pmacct-1.7.8/src/isis/thread.c:432:3: note: Null pointer dereference pmacct-1.7.8/src/isis/thread.c:433:3: warning: If memory allocation fails, then there is a possible null pointer dereference: thread [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/thread.c:427:22: note: Assuming allocation function fails pmacct-1.7.8/src/isis/thread.c:427:22: note: Assignment 'thread=calloc(1,sizeof(struct thread))', assigned value is 0 pmacct-1.7.8/src/isis/thread.c:433:3: note: Null pointer dereference pmacct-1.7.8/src/isis/thread.c:434:3: warning: If memory allocation fails, then there is a possible null pointer dereference: thread [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/thread.c:427:22: note: Assuming allocation function fails pmacct-1.7.8/src/isis/thread.c:427:22: note: Assignment 'thread=calloc(1,sizeof(struct thread))', assigned value is 0 pmacct-1.7.8/src/isis/thread.c:434:3: note: Null pointer dereference pmacct-1.7.8/src/isis/thread.c:436:3: warning: If memory allocation fails, then there is a possible null pointer dereference: thread [nullPointerOutOfMemory] pmacct-1.7.8/src/isis/thread.c:427:22: note: Assuming allocation function fails pmacct-1.7.8/src/isis/thread.c:427:22: note: Assignment 'thread=calloc(1,sizeof(struct thread))', assigned value is 0 pmacct-1.7.8/src/isis/thread.c:436:3: note: Null pointer dereference pmacct-1.7.8/src/isis/thread.c:849:33: style:inconclusive: Function 'thread_consumed_time' argument 1 names different: declaration 'after' definition 'now'. [funcArgNamesDifferent] pmacct-1.7.8/src/isis/thread.h:176:53: note: Function 'thread_consumed_time' argument 1 names different: declaration 'after' definition 'now'. pmacct-1.7.8/src/isis/thread.c:849:33: note: Function 'thread_consumed_time' argument 1 names different: declaration 'after' definition 'now'. pmacct-1.7.8/src/isis/thread.c:849:48: style:inconclusive: Function 'thread_consumed_time' argument 2 names different: declaration 'before' definition 'start'. [funcArgNamesDifferent] pmacct-1.7.8/src/isis/thread.h:176:70: note: Function 'thread_consumed_time' argument 2 names different: declaration 'before' definition 'start'. pmacct-1.7.8/src/isis/thread.c:849:48: note: Function 'thread_consumed_time' argument 2 names different: declaration 'before' definition 'start'. pmacct-1.7.8/src/isis/thread.c:849:70: style:inconclusive: Function 'thread_consumed_time' argument 3 names different: declaration 'cpu_time_elapsed' definition 'cputime'. [funcArgNamesDifferent] pmacct-1.7.8/src/isis/thread.h:176:93: note: Function 'thread_consumed_time' argument 3 names different: declaration 'cpu_time_elapsed' definition 'cputime'. pmacct-1.7.8/src/isis/thread.c:849:70: note: Function 'thread_consumed_time' argument 3 names different: declaration 'cpu_time_elapsed' definition 'cputime'. pmacct-1.7.8/src/isis/thread.c:215:49: style: Parameter 'a' can be declared as pointer to const. However it seems that 'cpu_record_hash_key' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pmacct-1.7.8/src/isis/thread.c:252:65: note: You might need to cast the function pointer here pmacct-1.7.8/src/isis/thread.c:215:49: note: Parameter 'a' can be declared as pointer to const pmacct-1.7.8/src/isis/thread.c:645:53: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/thread.c:692:54: style: Parameter 'fdset' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/thread.c:719:65: style: Parameter 'timenow' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/thread.c:849:33: style: Parameter 'now' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/thread.c:849:48: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/isis/thread.c:865:37: style: Parameter 'thread' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_msg.c:929:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] pmacct-1.7.8/src/bgp/bgp_msg.c:969:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] pmacct-1.7.8/src/bgp/bgp_msg.c:984:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] pmacct-1.7.8/src/bgp/bgp_msg.c:995:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] pmacct-1.7.8/src/bgp/bgp_msg.c:1318:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] pmacct-1.7.8/src/bgp/bgp_msg.c:1349:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] pmacct-1.7.8/src/bgp/bgp_msg.c:150:20: style: Variable 'bopen' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_msg.c:241:11: style: Variable 'cap_ptr' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_msg.c:259:9: style: Variable 'cap_ptr' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_msg.c:291:11: style: Variable 'cap_ptr' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_msg.c:445:41: style: Parameter 'bhdr' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_msg.c:470:41: style: Parameter 'cp_msg' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_msg.c:538:97: style: Parameter 'shutdown_msg' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/bgp/bgp_msg.c:584:20: style: Variable 'peer' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_msg.c:585:28: style: Variable 'bn' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_msg.c:586:41: style: Variable 'bnsm' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_msg.c:817:25: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_msg.c:1114:11: style: Variable 'lim' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/bgp/bgp_msg.c:152:23: style: Variable 'remote_as' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/bgp/bgp_msg.c:419:13: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/bgp/bgp_msg.c:473:43: style: Variable 'my_id' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/bgp/bgp_msg.c:587:17: style: Variable 'pkt_ptr' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/bgp/bgp_msg.c:611:10: style: Variable 'rem_len' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/bgp/bgp_msg.c:688:25: style: Variable 'end' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/bgp/bgp_msg.c:929:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/bgp/bgp_msg.c:969:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/bgp/bgp_msg.c:984:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/bgp/bgp_msg.c:995:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/bgp/bgp_msg.c:1180:19: style: Variable 'label_ptr' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/bgp/bgp_msg.c:1318:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/bgp/bgp_msg.c:1349:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/nfprobe_plugin/convtime.c:41:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/nfprobe_plugin/treetype.h:54:0: error: #error No flow tree type defined [preprocessorErrorDirective] pmacct-1.7.8/src/rpki/rpki.c:41:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki.c:51:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inter_domain_misc_dbs [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki.c:74:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reload_map_rpki_thread [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki.c:179:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rpki_roas_file [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_lookup.c:41:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bgp_peer [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_lookup.c:70:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aspath [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_lookup.c:91:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_util.c:31:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bgp_peer [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_util.c:40:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_util.c:47:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rpki_roa [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_util.c:79:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_util.c:117:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AFI_IP [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_util.c:123:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_BGP_INFO_PER_PEER_HASH [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_msg.c:33:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_msg.c:146:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_msg.c:191:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_msg.c:233:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_PEEK [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_msg.c:288:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_msg.c:326:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_msg.c:366:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_msg.c:406:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_msg.c:428:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_msg.c:455:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_msg.c:479:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_msg.c:500:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_msg.c:518:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_msg.c:539:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_msg.c:564:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_msg.c:623:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_msg.c:648:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_msg.c:692:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_util.c:51:29: style: Parameter 'roa_str' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/rpki/rpki_util.c:84:24: style: Variable 'retry_timeout' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/rpki/rpki_util.c:84:45: style: Variable 'refresh_timeout' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/sfprobe_plugin/sflow_agent.c:62:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFLADDRESSTYPE_IP_V4 [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sflow_agent.c:478:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sflow_agent.c:489:97: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sflow_agent.c:34:19: style: Parameter 'myIP' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_agent.c:189:59: style: Parameter 'pdsi1' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_agent.c:189:90: style: Parameter 'pdsi2' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_agent.c:448:60: style: Parameter 'receiver' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_agent.c:450:16: style: Variable 'rcv' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_agent.c:473:45: style: Parameter 'modName' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_agent.c:473:60: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_agent.c:486:48: style: Parameter 'modName' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_agent.c:486:63: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_poller.c:20:32: style: Parameter 'pdsi' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_poller.c:52:53: style: Parameter 'poller' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_poller.c:65:53: style: Parameter 'poller' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_sampler.c:32:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFL_DEFAULT_HEADER_SIZE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sflow_sampler.c:18:85: style: Parameter 'pdsi' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_sampler.c:51:55: style: Parameter 'sampler' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_sampler.c:62:65: style: Parameter 'sampler' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_sampler.c:68:64: style: Parameter 'sampler' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_sampler.c:81:56: style: Parameter 'sampler' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_sampler.c:84:55: style: Parameter 'sampler' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:48:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFL_DEFAULT_DATAGRAM_SIZE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:106:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFL_MIN_DATAGRAM_SIZE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:119:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFLADDRESSTYPE_IP_V4 [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:217:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFLADDRESSTYPE_IP_V4 [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:228:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFLADDRESSTYPE_IP_V6 [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:266:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:282:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable length [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:404:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PROTOCOL_LEN [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:485:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFLSampled_ethernet [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:548:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFLFLOW_SAMPLE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:719:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFLCOUNTERS_SAMPLE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:813:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFLADDRESSTYPE_IP_V6 [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:848:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFLADDRESSTYPE_IP_V6 [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/rpki/rpki_msg.c:669:32: warning: If memory allocation fails, then there is a possible null pointer dereference: rkmbuf [nullPointerOutOfMemory] pmacct-1.7.8/src/rpki/rpki_msg.c:668:22: note: Assuming allocation function fails pmacct-1.7.8/src/rpki/rpki_msg.c:668:22: note: Assignment 'rkmbuf=malloc(rem_len)', assigned value is 0 pmacct-1.7.8/src/rpki/rpki_msg.c:669:32: note: Null pointer dereference pmacct-1.7.8/src/rpki/rpki_msg.c:707:32: warning: If memory allocation fails, then there is a possible null pointer dereference: ermbuf [nullPointerOutOfMemory] pmacct-1.7.8/src/rpki/rpki_msg.c:706:22: note: Assuming allocation function fails pmacct-1.7.8/src/rpki/rpki_msg.c:706:22: note: Assignment 'ermbuf=malloc(rem_len+1)', assigned value is 0 pmacct-1.7.8/src/rpki/rpki_msg.c:707:32: note: Null pointer dereference pmacct-1.7.8/src/rpki/rpki_msg.c:138:28: style: Variable 'm_data' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/rpki/rpki_msg.c:182:28: style: Variable 'm_data' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/rpki/rpki_msg.c:560:18: style: Variable 'msglen' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/rpki/rpki_msg.c:561:21: style: Variable 'eodm_len' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:859:51: style:inconclusive: Function 'sflError' argument 2 names different: declaration 'errm' definition 'msg'. [funcArgNamesDifferent] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:28:51: note: Function 'sflError' argument 2 names different: declaration 'errm' definition 'msg'. pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:859:51: note: Function 'sflError' argument 2 names different: declaration 'errm' definition 'msg'. pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:85:53: style: Parameter 'receiver' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:95:55: style: Parameter 'receiver' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:101:70: style: Parameter 'receiver' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:112:75: style: Parameter 'sFlowRcvrAddress' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:131:55: style: Parameter 'receiver' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:195:58: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:208:57: style: Parameter 's' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:227:59: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:231:67: style: Parameter 'mac' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:324:65: style: Parameter 'labelStack' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:389:76: style: Parameter 'ldpfec' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sflow_receiver.c:402:80: style: Parameter 'class_elem' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:80:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:95:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_addr [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:122:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFINDEX_STATIC [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:168:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:183:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:223:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:335:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nfprobe_direction [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:604:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nfprobe_ifindex_type [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:641:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/tee_plugin/tee_plugin.c:51:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/tee_plugin/tee_recvs.c:40:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tee_max_receiver_pools [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/tee_plugin/tee_plugin.c:326:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/tee_plugin/tee_recvs.c:83:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tee_max_receivers [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/tee_plugin/tee_plugin.c:412:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/tee_plugin/tee_recvs.c:118:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/tee_plugin/tee_plugin.c:582:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tee_max_receivers [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/tee_plugin/tee_recvs.c:149:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/tee_plugin/tee_plugin.c:621:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_NUMERICHOST [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/tee_plugin/tee_recvs.c:170:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/tee_plugin/tee_plugin.c:724:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/tee_plugin/tee_recvs.c:245:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/tee_plugin/tee_plugin.c:776:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/tee_plugin/tee_plugin.c:840:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/tee_plugin/tee_plugin.c:862:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/tee_plugin/tee_plugin.c:891:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NETFLOW_MSG_SIZE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/tee_plugin/tee_recvs.c:32:72: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/tee_plugin/tee_recvs.c:245:13: style: Variable 'valid' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/telemetry/telemetry.c:58:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/telemetry/telemetry.c:103:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKT_MSG_SIZE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/telemetry/telemetry.c:1025:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/telemetry/telemetry.c:1035:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:402:15: error: Array 'sp->counters[4096]' accessed at index 4096, which is out of bounds. [arrayIndexOutOfBounds] pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:392:23: note: Assuming that condition 'idx<4096' is not redundant pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:402:15: note: Array index out of bounds pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:92:25: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:671:9: style: Local variable 'ret' shadows outer variable [shadowVariable] pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:636:24: note: Shadowed declaration pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:671:9: note: Shadow variable pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:90:25: style: Parameter 'domainName' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/telemetry/telemetry_logdump.c:41:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGP_LOGDUMP_ET_NONE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:155:34: style: Parameter 'magic' can be declared as pointer to const. However it seems that 'agentCB_alloc' is a callback function, if 'magic' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:240:83: note: You might need to cast the function pointer here pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:155:34: note: Parameter 'magic' can be declared as pointer to const pmacct-1.7.8/src/telemetry/telemetry_logdump.c:160:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNC_TYPE_TELEMETRY [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:155:51: style: Parameter 'agent' can be declared as pointer to const. However it seems that 'agentCB_alloc' is a callback function, if 'agent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:240:83: note: You might need to cast the function pointer here pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:155:51: note: Parameter 'agent' can be declared as pointer to const pmacct-1.7.8/src/telemetry/telemetry_logdump.c:273:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNC_TYPE_TELEMETRY [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/sfprobe_plugin/sfprobe_plugin.c:629:56: style: Parameter 'cfgptr' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/telemetry/telemetry_logdump.c:348:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNC_TYPE_TELEMETRY [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/telemetry/telemetry_logdump.c:619:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/telemetry/telemetry_logdump.c:646:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/telemetry/telemetry_msg.c:50:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable telemetry_msglog_output [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/telemetry/telemetry_msg.c:123:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable telemetry_decoder_id [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/telemetry/telemetry_msg.c:140:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/telemetry/telemetry_msg.c:178:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/telemetry/telemetry_msg.c:201:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/telemetry/telemetry_msg.c:247:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tmp_telemetry_decode_cisco_v1_json_string [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/telemetry/telemetry_msg.c:277:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/telemetry/telemetry_msg.c:286:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/telemetry/telemetry_msg.c:377:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/telemetry/telemetry.c:382:11: style: Local variable 'yes' shadows outer variable [shadowVariable] pmacct-1.7.8/src/telemetry/telemetry.c:76:36: note: Shadowed declaration pmacct-1.7.8/src/telemetry/telemetry.c:382:11: note: Shadow variable pmacct-1.7.8/src/telemetry/telemetry.c:660:6: style: Local variable 'peers_idx' shadows outer variable [shadowVariable] pmacct-1.7.8/src/telemetry/telemetry.c:76:16: note: Shadowed declaration pmacct-1.7.8/src/telemetry/telemetry.c:660:6: note: Shadow variable pmacct-1.7.8/src/telemetry/telemetry.c:680:28: style: Variable 'peer_timeout' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/telemetry/telemetry.c:858:26: style: Variable 'tpc_peer' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/telemetry/telemetry_logdump.c:172:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: se_ll_elem [nullPointerOutOfMemory] pmacct-1.7.8/src/telemetry/telemetry_logdump.c:166:22: note: Assuming allocation function fails pmacct-1.7.8/src/telemetry/telemetry_logdump.c:166:22: note: Assignment 'se_ll_elem=malloc(sizeof(struct telemetry_dump_se_ll_elem))', assigned value is 0 pmacct-1.7.8/src/telemetry/telemetry_logdump.c:172:10: note: Null pointer dereference pmacct-1.7.8/src/telemetry/telemetry_logdump.c:174:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: se_ll_elem [nullPointerOutOfMemory] pmacct-1.7.8/src/telemetry/telemetry_logdump.c:166:22: note: Assuming allocation function fails pmacct-1.7.8/src/telemetry/telemetry_logdump.c:166:22: note: Assignment 'se_ll_elem=malloc(sizeof(struct telemetry_dump_se_ll_elem))', assigned value is 0 pmacct-1.7.8/src/telemetry/telemetry_logdump.c:174:3: note: Null pointer dereference pmacct-1.7.8/src/telemetry/telemetry.c:553:13: style: Variable 'select_fd' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/telemetry/telemetry_logdump.c:175:8: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: se_ll_elem [nullPointerOutOfMemory] pmacct-1.7.8/src/telemetry/telemetry_logdump.c:166:22: note: Assuming allocation function fails pmacct-1.7.8/src/telemetry/telemetry_logdump.c:166:22: note: Assignment 'se_ll_elem=malloc(sizeof(struct telemetry_dump_se_ll_elem))', assigned value is 0 pmacct-1.7.8/src/telemetry/telemetry_logdump.c:175:8: note: Null pointer dereference pmacct-1.7.8/src/telemetry/telemetry_logdump.c:149:15: style: Same expression on both sides of '|' because 'ret' and 'amqp_ret' represent the same value. [duplicateExpression] pmacct-1.7.8/src/telemetry/telemetry_logdump.c:41:13: note: 'ret' is assigned value '0' here. pmacct-1.7.8/src/telemetry/telemetry_logdump.c:41:27: note: 'amqp_ret' is assigned value '0' here. pmacct-1.7.8/src/telemetry/telemetry_logdump.c:149:15: note: Same expression on both sides of '|' because 'ret' and 'amqp_ret' represent the same value. pmacct-1.7.8/src/telemetry/telemetry_logdump.c:149:26: style: Same expression on both sides of '|' because 'kafka_ret' and 'amqp_ret' represent the same value. [duplicateExpression] pmacct-1.7.8/src/telemetry/telemetry_logdump.c:41:42: note: 'kafka_ret' is assigned value '0' here. pmacct-1.7.8/src/telemetry/telemetry_logdump.c:41:27: note: 'amqp_ret' is assigned value '0' here. pmacct-1.7.8/src/telemetry/telemetry_logdump.c:149:26: note: Same expression on both sides of '|' because 'kafka_ret' and 'amqp_ret' represent the same value. pmacct-1.7.8/src/telemetry/telemetry_logdump.c:37:39: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/telemetry/telemetry_logdump.c:37:68: style: Parameter 't_data' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/telemetry/telemetry_logdump.c:37:104: style: Parameter 'log_data' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/telemetry/telemetry_logdump.c:38:71: style: Parameter 'event_type' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/telemetry/telemetry_logdump.c:40:27: style: Variable 'tms' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/telemetry/telemetry_logdump.c:590:42: style: Parameter 'tdkh' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/telemetry/telemetry_logdump.c:644:42: style: Parameter 'tdkh' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/telemetry/telemetry_util.c:62:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable telemetry_port_udp [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/telemetry/telemetry_util.c:137:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable telemetry_max_peers [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/telemetry/telemetry_util.c:167:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRINT_OUTPUT_JSON [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/telemetry/telemetry_util.c:186:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/telemetry/telemetry_util.c:204:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] pmacct-1.7.8/src/telemetry/telemetry_util.c:45:27: style: Variable 'tms' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/telemetry/telemetry_util.c:74:58: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/telemetry/telemetry_util.c:84:59: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/telemetry/telemetry_util.c:94:58: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/telemetry/telemetry_util.c:104:59: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/telemetry/telemetry_util.c:114:60: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/tee_plugin/tee_plugin.c:806:61: error: Memory leak: res [memleak] pmacct-1.7.8/src/tee_plugin/tee_plugin.c:808:31: error: Memory leak: res [memleak] pmacct-1.7.8/src/tee_plugin/tee_plugin.c:74:9: style: Local variable 'ret' shadows outer variable [shadowVariable] pmacct-1.7.8/src/tee_plugin/tee_plugin.c:42:24: note: Shadowed declaration pmacct-1.7.8/src/tee_plugin/tee_plugin.c:74:9: note: Shadow variable pmacct-1.7.8/src/tee_plugin/tee_plugin.c:37:52: style: Parameter 'cfgptr' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/tee_plugin/tee_plugin.c:316:20: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/tee_plugin/tee_plugin.c:319:24: style: Variable 'sa6' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/tee_plugin/tee_plugin.c:573:24: style: Variable 'target' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/tee_plugin/tee_plugin.c:858:20: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/tee_plugin/tee_plugin.c:869:71: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] pmacct-1.7.8/src/tee_plugin/tee_plugin.c:883:23: style: Variable 'hdr_flowset' can be declared as pointer to const [constVariablePointer] pmacct-1.7.8/src/tee_plugin/tee_plugin.c:806:13: style: Variable 'herr' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/tee_plugin/tee_plugin.c:837:23: style: Variable 'bucket' is assigned a value that is never used. [unreadVariable] pmacct-1.7.8/src/tee_plugin/tee_plugin.c:886:23: style: Variable 'flowsetNo' is assigned a value that is never used. [unreadVariable] diff: head pmacct-1.7.8/src/bgp/bgp_aspath.c:354:41: style: Parameter 'seg' can be declared as pointer to const [constParameterPointer] head pmacct-1.7.8/src/bgp/bgp_aspath.c:375:21: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] head pmacct-1.7.8/src/bgp/bgp_aspath.c:393:21: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] head pmacct-1.7.8/src/bgp/bgp_aspath.c:417:21: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] head pmacct-1.7.8/src/bgp/bgp_aspath.c:451:21: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] head pmacct-1.7.8/src/bgp/bgp_aspath.c:468:21: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] head pmacct-1.7.8/src/bgp/bgp_aspath.c:822:21: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] head pmacct-1.7.8/src/bgp/bgp_aspath.c:847:21: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] head pmacct-1.7.8/src/bgp/bgp_ecommunity.c:220:29: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'ecommunity_hash_make' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pmacct-1.7.8/src/bgp/bgp_ecommunity.c:251:43: note: You might need to cast the function pointer here pmacct-1.7.8/src/bgp/bgp_ecommunity.c:220:29: note: Parameter 'arg' can be declared as pointer to const head pmacct-1.7.8/src/bgp/bgp_lcommunity.c:217:29: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'lcommunity_hash_make' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pmacct-1.7.8/src/bgp/bgp_lcommunity.c:248:43: note: You might need to cast the function pointer here pmacct-1.7.8/src/bgp/bgp_lcommunity.c:217:29: note: Parameter 'arg' can be declared as pointer to const head pmacct-1.7.8/src/bgp/bgp_util.c:1002:39: style: Variable 'auxptr' can be declared as pointer to const [constVariablePointer] 2.18.0 pmacct-1.7.8/src/nfprobe_plugin/treetype.h:54:2: error: #error No flow tree type defined [preprocessorErrorDirective] 2.18.0 pmacct-1.7.8/src/pmacct.h:431:2: error: #error [preprocessorErrorDirective] head pmacct-1.7.8/src/sfprobe_plugin/sflow_agent.c:450:16: style: Variable 'rcv' can be declared as pointer to const [constVariablePointer] DONE