2024-04-14 11:29 ftp://ftp.de.debian.org/debian/pool/main/a/aprx/aprx_2.9.1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-102-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.55 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.13.0 head-info: 01c049d (2024-04-13 21:28:19 +0200) count: 261 215 elapsed-time: 38.7 155.9 head-timing-info: old-timing-info: head results: aprx-2.9.1/aprsis.c:298:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] aprx-2.9.1/aprsis.c:429:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] aprx-2.9.1/aprsis.c:661:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] aprx-2.9.1/aprsis.c:685:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLERR [valueFlowBailoutIncompleteVar] aprx-2.9.1/aprsis.c:771:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] aprx-2.9.1/aprsis.c:984:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] aprx-2.9.1/aprsis.c:1036:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] aprx-2.9.1/aprsis.c:582:3: error: Common realloc mistake: 'buf' nulled but not freed upon failure [memleakOnRealloc] aprx-2.9.1/aprsis.c:846:2: error: Common realloc mistake: 'AISh' nulled but not freed upon failure [memleakOnRealloc] aprx-2.9.1/aprsis.c:1279:3: error: Common realloc mistake: 'AISh' nulled but not freed upon failure [memleakOnRealloc] aprx-2.9.1/aprsis.c:341:10: style: Variable 'sin_ptr' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/aprsis.c:395:5: style: Variable 's' is assigned a value that is never used. [unreadVariable] aprx-2.9.1/aprx-stat.c:256:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] aprx-2.9.1/aprx-stat.c:252:35: style:inconclusive: Function 'aprx_syslog_init' argument 1 names different: declaration 'syslog_fac' definition 'p'. [funcArgNamesDifferent] aprx-2.9.1/aprx.h:184:42: note: Function 'aprx_syslog_init' argument 1 names different: declaration 'syslog_fac' definition 'p'. aprx-2.9.1/aprx-stat.c:252:35: note: Function 'aprx_syslog_init' argument 1 names different: declaration 'syslog_fac' definition 'p'. aprx-2.9.1/aprx-stat.c:251:22: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/aprx.c:69:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] aprx-2.9.1/aprx.c:98:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] aprx-2.9.1/aprx.c:123:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] aprx-2.9.1/aprx.c:174:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] aprx-2.9.1/aprx.c:535:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DAEMON [valueFlowBailoutIncompleteVar] aprx-2.9.1/aprx.c:587:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fmt [valueFlowBailoutIncompleteVar] aprx-2.9.1/aprx.c:654:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] aprx-2.9.1/aprx.c:327:4: warning: Return value of function dup() is not used. [ignoredReturnValue] aprx-2.9.1/aprx.c:290:6: style: The if condition is the same as the previous if condition [duplicateCondition] aprx-2.9.1/aprx.c:264:6: note: First condition aprx-2.9.1/aprx.c:290:6: note: Second condition aprx-2.9.1/aprx.c:393:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] aprx-2.9.1/aprx.c:390:5: note: i is assigned aprx-2.9.1/aprx.c:393:5: note: i is overwritten aprx-2.9.1/aprx.c:396:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] aprx-2.9.1/aprx.c:393:5: note: i is assigned aprx-2.9.1/aprx.c:396:5: note: i is overwritten aprx-2.9.1/aprx.c:406:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] aprx-2.9.1/aprx.c:396:5: note: i is assigned aprx-2.9.1/aprx.c:406:5: note: i is overwritten aprx-2.9.1/aprx.c:408:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] aprx-2.9.1/aprx.c:406:5: note: i is assigned aprx-2.9.1/aprx.c:408:5: note: i is overwritten aprx-2.9.1/aprx.c:410:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] aprx-2.9.1/aprx.c:408:5: note: i is assigned aprx-2.9.1/aprx.c:410:5: note: i is overwritten aprx-2.9.1/aprx.c:412:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] aprx-2.9.1/aprx.c:410:5: note: i is assigned aprx-2.9.1/aprx.c:412:5: note: i is overwritten aprx-2.9.1/aprx.c:415:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] aprx-2.9.1/aprx.c:412:5: note: i is assigned aprx-2.9.1/aprx.c:415:5: note: i is overwritten aprx-2.9.1/aprx.c:417:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] aprx-2.9.1/aprx.c:415:5: note: i is assigned aprx-2.9.1/aprx.c:417:5: note: i is overwritten aprx-2.9.1/aprx.c:438:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] aprx-2.9.1/aprx.c:417:5: note: i is assigned aprx-2.9.1/aprx.c:438:5: note: i is overwritten aprx-2.9.1/aprx.c:442:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] aprx-2.9.1/aprx.c:438:5: note: i is assigned aprx-2.9.1/aprx.c:442:5: note: i is overwritten aprx-2.9.1/aprx.c:443:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] aprx-2.9.1/aprx.c:442:5: note: i is assigned aprx-2.9.1/aprx.c:443:5: note: i is overwritten aprx-2.9.1/aprx.c:451:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] aprx-2.9.1/aprx.c:443:5: note: i is assigned aprx-2.9.1/aprx.c:451:5: note: i is overwritten aprx-2.9.1/aprx.c:453:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] aprx-2.9.1/aprx.c:451:5: note: i is assigned aprx-2.9.1/aprx.c:453:5: note: i is overwritten aprx-2.9.1/aprx.c:454:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] aprx-2.9.1/aprx.c:453:5: note: i is assigned aprx-2.9.1/aprx.c:454:5: note: i is overwritten aprx-2.9.1/aprx.c:455:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] aprx-2.9.1/aprx.c:454:5: note: i is assigned aprx-2.9.1/aprx.c:455:5: note: i is overwritten aprx-2.9.1/aprx.c:456:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] aprx-2.9.1/aprx.c:455:5: note: i is assigned aprx-2.9.1/aprx.c:456:5: note: i is overwritten aprx-2.9.1/aprx.c:458:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] aprx-2.9.1/aprx.c:456:5: note: i is assigned aprx-2.9.1/aprx.c:458:5: note: i is overwritten aprx-2.9.1/aprx.c:459:5: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] aprx-2.9.1/aprx.c:458:5: note: i is assigned aprx-2.9.1/aprx.c:459:5: note: i is overwritten aprx-2.9.1/aprx.c:532:35: style:inconclusive: Function 'aprx_syslog_init' argument 1 names different: declaration 'syslog_fac' definition 'syslog_facility_name'. [funcArgNamesDifferent] aprx-2.9.1/aprx.h:184:42: note: Function 'aprx_syslog_init' argument 1 names different: declaration 'syslog_fac' definition 'syslog_facility_name'. aprx-2.9.1/aprx.c:532:35: note: Function 'aprx_syslog_init' argument 1 names different: declaration 'syslog_fac' definition 'syslog_facility_name'. aprx-2.9.1/aprx.c:102:7: style: Variable '__i' is assigned a value that is never used. [unreadVariable] aprx-2.9.1/aprx.c:134:19: style: Variable 'delta' is assigned a value that is never used. [unreadVariable] aprx-2.9.1/aprx.c:459:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] aprx-2.9.1/aprxpolls.c:35:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pollfd [valueFlowBailoutIncompleteVar] aprx-2.9.1/ax25.c:145:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] aprx-2.9.1/ax25.c:110:43: style:inconclusive: Redundant condition: The condition '*text != '*'' is redundant since '*text >= '0'' is sufficient. [redundantCondition] aprx-2.9.1/ax25.c:106:36: style: Condition '*text!=0' is always true [knownConditionTrueFalse] aprx-2.9.1/ax25.c:232:11: style: Condition 's[0]==0x03' is always true [knownConditionTrueFalse] aprx-2.9.1/ax25.c:224:11: note: Assuming that condition 's[0]!=0x03' is not redundant aprx-2.9.1/ax25.c:232:11: note: Condition 's[0]==0x03' is always true aprx-2.9.1/ax25.c:186:4: style: Redundant initialization for 's'. The initialized value is overwritten before it is read. [redundantInitialization] aprx-2.9.1/ax25.c:138:19: note: s is initialized aprx-2.9.1/ax25.c:186:4: note: s is overwritten aprx-2.9.1/beacon.c:848:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] aprx-2.9.1/beacon.c:945:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] aprx-2.9.1/beacon.c:1174:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] aprx-2.9.1/beacon.c:1204:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] aprx-2.9.1/beacon.c:69:15: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] aprx-2.9.1/beacon.c:937:9: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] aprx-2.9.1/beacon.c:980:19: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] aprx-2.9.1/beacon.c:1051:19: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] aprx-2.9.1/beacon.c:516:14: style: Redundant condition: code. '!code || (code && strlen(code)!=2)' is equivalent to '!code || strlen(code)!=2' [redundantCondition] aprx-2.9.1/beacon.c:518:13: style: Redundant condition: lat. '!lat || (lat && strlen(lat)!=8)' is equivalent to '!lat || strlen(lat)!=8' [redundantCondition] aprx-2.9.1/beacon.c:520:13: style: Redundant condition: lon. '!lon || (lon && strlen(lon)!=9)' is equivalent to '!lon || strlen(lon)!=9' [redundantCondition] aprx-2.9.1/beacon.c:677:11: error: Common realloc mistake: 'bsets' nulled but not freed upon failure [memleakOnRealloc] aprx-2.9.1/beacon.c:58:43: style: Parameter 'cf' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/beacon.c:15:9: style: struct member 'beaconmsg::interval' is never used. [unusedStructMember] aprx-2.9.1/beacon.c:1021:12: style: Variable 'dp' is assigned a value that is never used. [unreadVariable] aprx-2.9.1/beacon.c:1023:12: style: Variable 'dp' is assigned a value that is never used. [unreadVariable] aprx-2.9.1/beacon.c:1026:12: style: Variable 'dp' is assigned a value that is never used. [unreadVariable] aprx-2.9.1/beacon.c:1123:12: style: Variable 'dp' is assigned a value that is never used. [unreadVariable] aprx-2.9.1/beacon.c:1125:12: style: Variable 'dp' is assigned a value that is never used. [unreadVariable] aprx-2.9.1/beacon.c:1128:12: style: Variable 'dp' is assigned a value that is never used. [unreadVariable] aprx-2.9.1/cellmalloc.c:90:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] aprx-2.9.1/cellmalloc.c:217:31: style:inconclusive: Function 'cellmalloc' argument 1 names different: declaration 'cellarena' definition 'ca'. [funcArgNamesDifferent] aprx-2.9.1/cellmalloc.h:26:38: note: Function 'cellmalloc' argument 1 names different: declaration 'cellarena' definition 'ca'. aprx-2.9.1/cellmalloc.c:217:31: note: Function 'cellmalloc' argument 1 names different: declaration 'cellarena' definition 'ca'. aprx-2.9.1/cellmalloc.c:247:35: style:inconclusive: Function 'cellmallocmany' argument 1 names different: declaration 'cellarena' definition 'ca'. [funcArgNamesDifferent] aprx-2.9.1/cellmalloc.h:27:42: note: Function 'cellmallocmany' argument 1 names different: declaration 'cellarena' definition 'ca'. aprx-2.9.1/cellmalloc.c:247:35: note: Function 'cellmallocmany' argument 1 names different: declaration 'cellarena' definition 'ca'. aprx-2.9.1/cellmalloc.c:289:29: style:inconclusive: Function 'cellfree' argument 1 names different: declaration 'cellarena' definition 'ca'. [funcArgNamesDifferent] aprx-2.9.1/cellmalloc.h:28:36: note: Function 'cellfree' argument 1 names different: declaration 'cellarena' definition 'ca'. aprx-2.9.1/cellmalloc.c:289:29: note: Function 'cellfree' argument 1 names different: declaration 'cellarena' definition 'ca'. aprx-2.9.1/cellmalloc.c:324:33: style:inconclusive: Function 'cellfreemany' argument 1 names different: declaration 'cellarena' definition 'ca'. [funcArgNamesDifferent] aprx-2.9.1/cellmalloc.h:29:40: note: Function 'cellfreemany' argument 1 names different: declaration 'cellarena' definition 'ca'. aprx-2.9.1/cellmalloc.c:324:33: note: Function 'cellfreemany' argument 1 names different: declaration 'cellarena' definition 'ca'. aprx-2.9.1/config.c:789:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] aprx-2.9.1/config.c:766:17: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] aprx-2.9.1/config.c:146:10: style: Condition '*Y' is always true [knownConditionTrueFalse] aprx-2.9.1/config.c:142:19: note: Assuming that condition '*Y=='x'' is not redundant aprx-2.9.1/config.c:146:10: note: Condition '*Y' is always true aprx-2.9.1/config.c:186:28: style:inconclusive: Function 'config_STRLOWER' argument 1 names different: declaration 'Y' definition 's'. [funcArgNamesDifferent] aprx-2.9.1/aprx.h:359:36: note: Function 'config_STRLOWER' argument 1 names different: declaration 'Y' definition 's'. aprx-2.9.1/config.c:186:28: note: Function 'config_STRLOWER' argument 1 names different: declaration 'Y' definition 's'. aprx-2.9.1/config.c:197:28: style:inconclusive: Function 'config_STRUPPER' argument 1 names different: declaration 'Y' definition 's'. [funcArgNamesDifferent] aprx-2.9.1/aprx.h:360:36: note: Function 'config_STRUPPER' argument 1 names different: declaration 'Y' definition 's'. aprx-2.9.1/config.c:197:28: note: Function 'config_STRUPPER' argument 1 names different: declaration 'Y' definition 's'. aprx-2.9.1/config.c:779:28: style:inconclusive: Function 'readconfig' argument 1 names different: declaration 'cfgfile' definition 'name'. [funcArgNamesDifferent] aprx-2.9.1/aprx.h:356:37: note: Function 'readconfig' argument 1 names different: declaration 'cfgfile' definition 'name'. aprx-2.9.1/config.c:779:28: note: Function 'readconfig' argument 1 names different: declaration 'cfgfile' definition 'name'. aprx-2.9.1/config.c:760:46: style: Parameter 'cf' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/config.c:33:9: style: Variable 'c' is assigned a value that is never used. [unreadVariable] aprx-2.9.1/crc.c:196:54: style:inconclusive: Function 'calc_crc_ccitt' argument 2 names different: declaration 'buf' definition 'buffer'. [funcArgNamesDifferent] aprx-2.9.1/aprx.h:565:61: note: Function 'calc_crc_ccitt' argument 2 names different: declaration 'buf' definition 'buffer'. aprx-2.9.1/crc.c:196:54: note: Function 'calc_crc_ccitt' argument 2 names different: declaration 'buf' definition 'buffer'. aprx-2.9.1/crc.c:261:39: style:inconclusive: Function 'calc_crc_flex' argument 1 names different: declaration 'buf' definition 'cp'. [funcArgNamesDifferent] aprx-2.9.1/aprx.h:564:46: note: Function 'calc_crc_flex' argument 1 names different: declaration 'buf' definition 'cp'. aprx-2.9.1/crc.c:261:39: note: Function 'calc_crc_flex' argument 1 names different: declaration 'buf' definition 'cp'. aprx-2.9.1/crc.c:261:47: style:inconclusive: Function 'calc_crc_flex' argument 2 names different: declaration 'n' definition 'size'. [funcArgNamesDifferent] aprx-2.9.1/aprx.h:564:55: note: Function 'calc_crc_flex' argument 2 names different: declaration 'n' definition 'size'. aprx-2.9.1/crc.c:261:47: note: Function 'calc_crc_flex' argument 2 names different: declaration 'n' definition 'size'. aprx-2.9.1/digipeater.c:114:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] aprx-2.9.1/digipeater.c:377:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOMATCH [valueFlowBailoutIncompleteVar] aprx-2.9.1/digipeater.c:1457:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] aprx-2.9.1/digipeater.c:111:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] aprx-2.9.1/digipeater.c:640:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] aprx-2.9.1/digipeater.c:641:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] aprx-2.9.1/digipeater.c:455:20: style: Condition '*p!=':'' is always true [knownConditionTrueFalse] aprx-2.9.1/digipeater.c:644:5: error: Common realloc mistake: 'keywords' nulled but not freed upon failure [memleakOnRealloc] aprx-2.9.1/digipeater.c:647:5: error: Common realloc mistake: 'keylens' nulled but not freed upon failure [memleakOnRealloc] aprx-2.9.1/digipeater.c:1086:5: error: Common realloc mistake: 'sources' nulled but not freed upon failure [memleakOnRealloc] aprx-2.9.1/digipeater.c:1177:3: error: Common realloc mistake: 'digis' nulled but not freed upon failure [memleakOnRealloc] aprx-2.9.1/digipeater.c:341:9: style: Local variable 'stat' shadows outer variable [shadowVariable] aprx-2.9.1/digipeater.c:325:6: note: Shadowed declaration aprx-2.9.1/digipeater.c:341:9: note: Shadow variable aprx-2.9.1/digipeater.c:353:9: style: Local variable 'stat' shadows outer variable [shadowVariable] aprx-2.9.1/digipeater.c:325:6: note: Shadowed declaration aprx-2.9.1/digipeater.c:353:9: note: Shadow variable aprx-2.9.1/digipeater.c:365:9: style: Local variable 'stat' shadows outer variable [shadowVariable] aprx-2.9.1/digipeater.c:325:6: note: Shadowed declaration aprx-2.9.1/digipeater.c:365:9: note: Shadow variable aprx-2.9.1/digipeater.c:79:48: style: Parameter 'cf' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/digipeater.c:183:66: style: Parameter 'txif' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/digipeater.c:309:25: style: Variable 'aif' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/digipeater.c:322:29: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/dprsgw.c:410:8: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] aprx-2.9.1/dprsgw.c:438:8: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] aprx-2.9.1/dprsgw.c:466:8: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] aprx-2.9.1/dprsgw.c:683:10: style: Variable 'b' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/dprsgw.c:823:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/dprsgw.c:921:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/dprsgw.c:977:39: style: Parameter 'app' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/dprsgw.c:982:40: style: Parameter 'app' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/dprsgw.c:134:7: style: struct member 'gps2apr_syms::flags' is never used. [unusedStructMember] aprx-2.9.1/dprsgw.c:718:23: style: Variable 'tnc2body' is assigned a value that is never used. [unreadVariable] aprx-2.9.1/dupecheck.c:65:2: error: Common realloc mistake: 'dupecheckers' nulled but not freed upon failure [memleakOnRealloc] aprx-2.9.1/dupecheck.c:181:44: style:inconclusive: Function 'dupecheck_aprs' argument 1 names different: declaration 'dp' definition 'dpc'. [funcArgNamesDifferent] aprx-2.9.1/aprx.h:551:51: note: Function 'dupecheck_aprs' argument 1 names different: declaration 'dp' definition 'dpc'. aprx-2.9.1/dupecheck.c:181:44: note: Function 'dupecheck_aprs' argument 1 names different: declaration 'dp' definition 'dpc'. aprx-2.9.1/dupecheck.c:282:44: style:inconclusive: Function 'dupecheck_pbuf' argument 1 names different: declaration 'dp' definition 'dpc'. [funcArgNamesDifferent] aprx-2.9.1/aprx.h:552:51: note: Function 'dupecheck_pbuf' argument 1 names different: declaration 'dp' definition 'dpc'. aprx-2.9.1/dupecheck.c:282:44: note: Function 'dupecheck_pbuf' argument 1 names different: declaration 'dp' definition 'dpc'. aprx-2.9.1/erlang.c:604:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] aprx-2.9.1/erlang.c:258:3: error: Common realloc mistake: 'erlang_mmap' nulled but not freed upon failure [memleakOnRealloc] aprx-2.9.1/erlang.c:267:2: error: Common realloc mistake: 'ErlangLines' nulled but not freed upon failure [memleakOnRealloc] aprx-2.9.1/filter.c:809:7: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] aprx-2.9.1/filter.c:808:9: note: outer condition: *p aprx-2.9.1/filter.c:809:7: note: identical inner condition: *p aprx-2.9.1/filter.c:683:50: style:inconclusive: Function 'filter_preprocess_dupefilter' argument 1 names different: declaration 'pb' definition 'pbuf'. [funcArgNamesDifferent] aprx-2.9.1/aprx.h:769:57: note: Function 'filter_preprocess_dupefilter' argument 1 names different: declaration 'pb' definition 'pbuf'. aprx-2.9.1/filter.c:683:50: note: Function 'filter_preprocess_dupefilter' argument 1 names different: declaration 'pb' definition 'pbuf'. aprx-2.9.1/filter.c:691:51: style:inconclusive: Function 'filter_postprocess_dupefilter' argument 1 names different: declaration 'pb' definition 'pbuf'. [funcArgNamesDifferent] aprx-2.9.1/aprx.h:770:58: note: Function 'filter_postprocess_dupefilter' argument 1 names different: declaration 'pb' definition 'pbuf'. aprx-2.9.1/filter.c:691:51: note: Function 'filter_postprocess_dupefilter' argument 1 names different: declaration 'pb' definition 'pbuf'. aprx-2.9.1/filter.c:1471:35: style:inconclusive: Function 'filter_free' argument 1 names different: declaration 'c' definition 'f'. [funcArgNamesDifferent] aprx-2.9.1/aprx.h:766:42: note: Function 'filter_free' argument 1 names different: declaration 'c' definition 'f'. aprx-2.9.1/filter.c:1471:35: note: Function 'filter_free' argument 1 names different: declaration 'c' definition 'f'. aprx-2.9.1/filter.c:683:50: style: Parameter 'pbuf' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/filter.c:701:19: style: Variable 'hist' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/filter.c:726:69: style: Parameter 'ref' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/filter.c:1548:48: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/filter.c:1583:48: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/filter.c:1606:48: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/filter.c:1684:48: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/filter.c:1707:18: style: Variable 'history' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/filter.c:1764:48: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/filter.c:1835:48: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/filter.c:1871:48: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/filter.c:1972:48: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/filter.c:2069:48: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/filter.c:2141:19: style: Variable 'history' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/filter.c:2200:48: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/filter.c:933:7: style: Variable 'len1' is assigned a value that is never used. [unreadVariable] aprx-2.9.1/filter.c:933:14: style: Variable 'len2' is assigned a value that is never used. [unreadVariable] aprx-2.9.1/historydb.c:205:22: style: Assignment '*s=' '' is redundant with condition '*s==' ''. [duplicateConditionalAssign] aprx-2.9.1/historydb.c:205:11: note: Condition '*s==' '' aprx-2.9.1/historydb.c:205:22: note: Assignment '*s=' '' is redundant aprx-2.9.1/historydb.c:58:2: error: Common realloc mistake: '_dbs' nulled but not freed upon failure [memleakOnRealloc] aprx-2.9.1/historydb.c:260:14: style: Variable 'cp' is reassigned a value before the old one has been used. [redundantAssignment] aprx-2.9.1/historydb.c:256:5: note: cp is assigned aprx-2.9.1/historydb.c:260:14: note: cp is overwritten aprx-2.9.1/historydb.c:298:21: style: Variable 'cp->flags' is reassigned a value before the old one has been used. [redundantAssignment] aprx-2.9.1/historydb.c:295:20: note: cp->flags is assigned aprx-2.9.1/historydb.c:298:21: note: cp->flags is overwritten aprx-2.9.1/historydb.c:607:42: style: Parameter 'app' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/hlog.c:178:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] aprx-2.9.1/hlog.c:213:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] aprx-2.9.1/hlog.c:263:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] aprx-2.9.1/hlog.c:330:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] aprx-2.9.1/hlog.c:437:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] aprx-2.9.1/hlog.c:452:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] aprx-2.9.1/hlog.c:499:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] aprx-2.9.1/hlog.c:525:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] aprx-2.9.1/hlog.c:564:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] aprx-2.9.1/hlog.c:154:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/hlog.c:343:10: style: Variable 'w' is assigned a value that is never used. [unreadVariable] aprx-2.9.1/hlog.c:498:10: style: Variable 'w' is assigned a value that is never used. [unreadVariable] aprx-2.9.1/igate.c:149:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] aprx-2.9.1/igate.c:501:13: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] aprx-2.9.1/igate.c:160:122: style:inconclusive: Function 'igate_to_aprsis' argument 6 names different: declaration 'discard' definition 'discard0'. [funcArgNamesDifferent] aprx-2.9.1/aprx.h:384:129: note: Function 'igate_to_aprsis' argument 6 names different: declaration 'discard' definition 'discard0'. aprx-2.9.1/igate.c:160:122: note: Function 'igate_to_aprsis' argument 6 names different: declaration 'discard' definition 'discard0'. aprx-2.9.1/igate.c:160:142: style:inconclusive: Function 'igate_to_aprsis' argument 7 names different: declaration 'strictax25' definition 'strictax25_'. [funcArgNamesDifferent] aprx-2.9.1/aprx.h:384:148: note: Function 'igate_to_aprsis' argument 7 names different: declaration 'strictax25' definition 'strictax25_'. aprx-2.9.1/igate.c:160:142: note: Function 'igate_to_aprsis' argument 7 names different: declaration 'strictax25' definition 'strictax25_'. aprx-2.9.1/igate.c:432:8: style: Variable 'e' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/igate.c:434:11: style: Variable 'p0' is assigned a value that is never used. [unreadVariable] aprx-2.9.1/interface.c:760:23: debug: Scope::checkVariable found variable 'bool' with varid 0. [varid0] aprx-2.9.1/interface.c:777:23: debug: Scope::checkVariable found variable 'bool' with varid 0. [varid0] aprx-2.9.1/interface.c:787:23: debug: Scope::checkVariable found variable 'bool' with varid 0. [varid0] aprx-2.9.1/interface.c:1148:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] aprx-2.9.1/interface.c:1425:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] aprx-2.9.1/interface.c:1788:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] aprx-2.9.1/interface.c:343:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] aprx-2.9.1/interface.c:344:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] aprx-2.9.1/interface.c:851:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] aprx-2.9.1/interface.c:856:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] aprx-2.9.1/interface.c:1154:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] aprx-2.9.1/interface.c:1934:12: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] aprx-2.9.1/interface.c:1409:35: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] aprx-2.9.1/interface.c:1408:73: note: outer condition: digisrc->msg_path!=NULL aprx-2.9.1/interface.c:1409:35: note: identical inner condition: digisrc->msg_path!=NULL aprx-2.9.1/interface.c:1450:37: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] aprx-2.9.1/interface.c:1449:75: note: outer condition: digisrc->msg_path!=NULL aprx-2.9.1/interface.c:1450:37: note: identical inner condition: digisrc->msg_path!=NULL aprx-2.9.1/interface.c:171:2: error: Common realloc mistake: 'all_interfaces' nulled but not freed upon failure [memleakOnRealloc] aprx-2.9.1/interface.c:347:7: error: Common realloc mistake: 'aliases' nulled but not freed upon failure [memleakOnRealloc] aprx-2.9.1/interface.c:80:58: style:inconclusive: Function 'interface_is_beaconable' argument 1 names different: declaration 'iface' definition 'aif'. [funcArgNamesDifferent] aprx-2.9.1/aprx.h:726:66: note: Function 'interface_is_beaconable' argument 1 names different: declaration 'iface' definition 'aif'. aprx-2.9.1/interface.c:80:58: note: Function 'interface_is_beaconable' argument 1 names different: declaration 'iface' definition 'aif'. aprx-2.9.1/interface.c:98:60: style:inconclusive: Function 'interface_is_telemetrable' argument 1 names different: declaration 'iface' definition 'aif'. [funcArgNamesDifferent] aprx-2.9.1/aprx.h:727:67: note: Function 'interface_is_telemetrable' argument 1 names different: declaration 'iface' definition 'aif'. aprx-2.9.1/interface.c:98:60: note: Function 'interface_is_telemetrable' argument 1 names different: declaration 'iface' definition 'aif'. aprx-2.9.1/interface.c:1812:129: style:inconclusive: Function 'interface_transmit_beacon' argument 5 names different: declaration 'tncbuf' definition 'txbuf'. [funcArgNamesDifferent] aprx-2.9.1/aprx.h:732:137: note: Function 'interface_transmit_beacon' argument 5 names different: declaration 'tncbuf' definition 'txbuf'. aprx-2.9.1/interface.c:1812:129: note: Function 'interface_transmit_beacon' argument 5 names different: declaration 'tncbuf' definition 'txbuf'. aprx-2.9.1/interface.c:1812:146: style:inconclusive: Function 'interface_transmit_beacon' argument 6 names different: declaration 'tnclen' definition 'txlen'. [funcArgNamesDifferent] aprx-2.9.1/aprx.h:732:155: note: Function 'interface_transmit_beacon' argument 6 names different: declaration 'tnclen' definition 'txlen'. aprx-2.9.1/interface.c:1812:146: note: Function 'interface_transmit_beacon' argument 6 names different: declaration 'tnclen' definition 'txlen'. aprx-2.9.1/interface.c:1388:25: style: Local variable 'srcif' shadows outer variable [shadowVariable] aprx-2.9.1/interface.c:1372:10: note: Shadowed declaration aprx-2.9.1/interface.c:1388:25: note: Shadow variable aprx-2.9.1/interface.c:120:73: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/interface.c:589:11: style: Variable 'host' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/interface.c:1068:10: style: Variable 'srcif' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/interface.c:1126:73: style: Parameter 'axaddr' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/interface.c:1368:30: style: Variable 'tx_aif' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/interface.c:1372:10: style: Variable 'srcif' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/interface.c:1574:14: style: Variable 'v' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/interface.c:1603:22: style: Variable 'hist_rx' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/interface.c:1645:22: style: Variable 'hist_tx' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/interface.c:1661:12: style: Variable 'v' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/keyhash.c:42:58: style:inconclusive: Function 'keyhash' argument 1 names different: declaration 's' definition 'p'. [funcArgNamesDifferent] aprx-2.9.1/keyhash.h:14:41: note: Function 'keyhash' argument 1 names different: declaration 's' definition 'p'. aprx-2.9.1/keyhash.c:42:58: note: Function 'keyhash' argument 1 names different: declaration 's' definition 'p'. aprx-2.9.1/keyhash.c:42:65: style:inconclusive: Function 'keyhash' argument 2 names different: declaration 'slen' definition 'len'. [funcArgNamesDifferent] aprx-2.9.1/keyhash.h:14:48: note: Function 'keyhash' argument 2 names different: declaration 'slen' definition 'len'. aprx-2.9.1/keyhash.c:42:65: note: Function 'keyhash' argument 2 names different: declaration 'slen' definition 'len'. aprx-2.9.1/keyhash.c:42:79: style:inconclusive: Function 'keyhash' argument 3 names different: declaration 'hash0' definition 'hash'. [funcArgNamesDifferent] aprx-2.9.1/keyhash.h:14:67: note: Function 'keyhash' argument 3 names different: declaration 'hash0' definition 'hash'. aprx-2.9.1/keyhash.c:42:79: note: Function 'keyhash' argument 3 names different: declaration 'hash0' definition 'hash'. aprx-2.9.1/keyhash.c:67:60: style:inconclusive: Function 'keyhashuc' argument 1 names different: declaration 's' definition 'p'. [funcArgNamesDifferent] aprx-2.9.1/keyhash.h:15:43: note: Function 'keyhashuc' argument 1 names different: declaration 's' definition 'p'. aprx-2.9.1/keyhash.c:67:60: note: Function 'keyhashuc' argument 1 names different: declaration 's' definition 'p'. aprx-2.9.1/keyhash.c:67:67: style:inconclusive: Function 'keyhashuc' argument 2 names different: declaration 'slen' definition 'len'. [funcArgNamesDifferent] aprx-2.9.1/keyhash.h:15:50: note: Function 'keyhashuc' argument 2 names different: declaration 'slen' definition 'len'. aprx-2.9.1/keyhash.c:67:67: note: Function 'keyhashuc' argument 2 names different: declaration 'slen' definition 'len'. aprx-2.9.1/keyhash.c:67:81: style:inconclusive: Function 'keyhashuc' argument 3 names different: declaration 'hash0' definition 'hash'. [funcArgNamesDifferent] aprx-2.9.1/keyhash.h:15:69: note: Function 'keyhashuc' argument 3 names different: declaration 'hash0' definition 'hash'. aprx-2.9.1/keyhash.c:67:81: note: Function 'keyhashuc' argument 3 names different: declaration 'hash0' definition 'hash'. aprx-2.9.1/kiss.c:200:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] aprx-2.9.1/kiss.c:579:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] aprx-2.9.1/kiss.c:663:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] aprx-2.9.1/kiss.c:91:11: style: Variable 'ke' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/netresolver.c:60:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] aprx-2.9.1/netresolver.c:32:2: error: Common realloc mistake: 'nr' nulled but not freed upon failure [memleakOnRealloc] aprx-2.9.1/netresolver.c:94:22: style: Variable 'n->ai.ai_addrlen' is reassigned a value before the old one has been used. [redundantAssignment] aprx-2.9.1/netresolver.c:93:22: note: n->ai.ai_addrlen is assigned aprx-2.9.1/netresolver.c:94:22: note: n->ai.ai_addrlen is overwritten aprx-2.9.1/parse_aprs.c:516:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] aprx-2.9.1/parse_aprs.c:1152:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] aprx-2.9.1/parse_aprs.c:1353:8: style: Local variable 'rc' shadows outer variable [shadowVariable] aprx-2.9.1/parse_aprs.c:1082:6: note: Shadowed declaration aprx-2.9.1/parse_aprs.c:1353:8: note: Shadow variable aprx-2.9.1/parse_aprs.c:1360:8: style: Local variable 'rc' shadows outer variable [shadowVariable] aprx-2.9.1/parse_aprs.c:1082:6: note: Shadowed declaration aprx-2.9.1/parse_aprs.c:1360:8: note: Shadow variable aprx-2.9.1/parse_aprs.c:234:51: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/parse_aprs.c:561:44: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/parse_aprs.c:1261:20: style: Variable 'history' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/pbuf.c:181:15: style: Condition 'info_end<=info_start' is always false [knownConditionTrueFalse] aprx-2.9.1/pbuf.c:175:17: note: Assuming that condition 'info_start>=packet_end' is not redundant aprx-2.9.1/pbuf.c:180:11: note: info_end is assigned 'packet_end' here. aprx-2.9.1/pbuf.c:181:15: note: Condition 'info_end<=info_start' is always false aprx-2.9.1/pbuf.c:137:8: style: Variable 'dstcall_end_or_ssid' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/pbuf.c:226:13: style: Variable 'packet_end' is assigned a value that is never used. [unreadVariable] aprx-2.9.1/telemetry.c:308:16: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] aprx-2.9.1/telemetry.c:308:16: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] aprx-2.9.1/telemetry.c:380:16: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] aprx-2.9.1/telemetry.c:380:16: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] aprx-2.9.1/telemetry.c:534:5: error: Common realloc mistake: 'sources' nulled but not freed upon failure [memleakOnRealloc] aprx-2.9.1/telemetry.c:559:3: error: Common realloc mistake: 'rftelemetry' nulled but not freed upon failure [memleakOnRealloc] aprx-2.9.1/telemetry.c:139:26: style: Variable 'sourceaif' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/telemetry.c:345:22: style: Variable 'E' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/telemetry.c:346:26: style: Variable 'sourceaif' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/telemetry.c:431:23: style: Variable 'rftlm' can be declared as pointer to const [constVariablePointer] aprx-2.9.1/test.c:17:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] aprx-2.9.1/timercmp.c:43:41: style:inconclusive: Function 'tv_timeradd_millis' argument 1 names different: declaration 'res' definition 'ret'. [funcArgNamesDifferent] aprx-2.9.1/aprx.h:305:48: note: Function 'tv_timeradd_millis' argument 1 names different: declaration 'res' definition 'ret'. aprx-2.9.1/timercmp.c:43:41: note: Function 'tv_timeradd_millis' argument 1 names different: declaration 'res' definition 'ret'. aprx-2.9.1/timercmp.c:63:42: style:inconclusive: Function 'tv_timeradd_seconds' argument 1 names different: declaration 'res' definition 'ret'. [funcArgNamesDifferent] aprx-2.9.1/aprx.h:306:49: note: Function 'tv_timeradd_seconds' argument 1 names different: declaration 'res' definition 'ret'. aprx-2.9.1/timercmp.c:63:42: note: Function 'tv_timeradd_seconds' argument 1 names different: declaration 'res' definition 'ret'. aprx-2.9.1/timercmp.c:28:42: style: Parameter '_now' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/timercmp.c:28:64: style: Parameter '_target' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/timercmp.c:43:62: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/timercmp.c:63:63: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/timercmp.c:91:40: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/timercmp.c:91:66: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/timestamp.c:20:41: style: Parameter 'tv' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/timestamp.c:33:38: style: Parameter 'tv' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/timestamp.c:50:39: style: Parameter 'tv' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/timestamp.c:64:42: style: Parameter 'tv' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/timestamp.c:77:42: style: Parameter 'tv' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/timestamp.c:126:37: style: Parameter 'timestamp' can be declared as const array [constParameter] aprx-2.9.1/ttyreader.c:315:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] aprx-2.9.1/ttyreader.c:388:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] aprx-2.9.1/ttyreader.c:625:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] aprx-2.9.1/ttyreader.c:690:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLOUT [valueFlowBailoutIncompleteVar] aprx-2.9.1/ttyreader.c:710:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAXBEL [valueFlowBailoutIncompleteVar] aprx-2.9.1/ttyreader.c:730:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B1200 [valueFlowBailoutIncompleteVar] aprx-2.9.1/ttyreader.c:833:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B1200 [valueFlowBailoutIncompleteVar] aprx-2.9.1/ttyreader.c:1013:2: error: Common realloc mistake: 'ttys' nulled but not freed upon failure [memleakOnRealloc] aprx-2.9.1/ttyreader.c:434:10: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] aprx-2.9.1/ttyreader.c:432:5: note: i is assigned aprx-2.9.1/ttyreader.c:434:10: note: i is overwritten aprx-2.9.1/ttyreader.c:76:39: style:inconclusive: Function 'ttyreader_getc' argument 1 names different: declaration 'tty' definition 'S'. [funcArgNamesDifferent] aprx-2.9.1/aprx.h:294:47: note: Function 'ttyreader_getc' argument 1 names different: declaration 'tty' definition 'S'. aprx-2.9.1/ttyreader.c:76:39: note: Function 'ttyreader_getc' argument 1 names different: declaration 'tty' definition 'S'. aprx-2.9.1/ttyreader.c:450:7: style: Local variable 'i' shadows outer variable [shadowVariable] aprx-2.9.1/ttyreader.c:376:6: note: Shadowed declaration aprx-2.9.1/ttyreader.c:450:7: note: Shadow variable aprx-2.9.1/ttyreader.c:757:51: style: Parameter 'cf' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/ttyreader.c:809:50: style: Parameter 'cf' can be declared as pointer to const [constParameterPointer] aprx-2.9.1/ttyreader.c:487:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] aprx-2.9.1/ttyreader.c:759:15: style: Variable 'param1' is assigned a value that is never used. [unreadVariable] aprx-2.9.1/ttyreader.c:814:15: style: Variable 'param1' is assigned a value that is never used. [unreadVariable] diff: head aprx-2.9.1/aprsis.c:1036:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] head aprx-2.9.1/aprsis.c:429:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head aprx-2.9.1/aprsis.c:661:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] head aprx-2.9.1/aprsis.c:685:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLERR [valueFlowBailoutIncompleteVar] head aprx-2.9.1/aprsis.c:771:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] head aprx-2.9.1/aprsis.c:984:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head aprx-2.9.1/aprx-stat.c:251:22: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] head aprx-2.9.1/aprx.c:123:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] head aprx-2.9.1/aprx.c:174:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] head aprx-2.9.1/aprx.c:535:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DAEMON [valueFlowBailoutIncompleteVar] head aprx-2.9.1/aprx.c:587:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fmt [valueFlowBailoutIncompleteVar] head aprx-2.9.1/aprx.c:654:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head aprx-2.9.1/aprx.c:98:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] head aprx-2.9.1/beacon.c:1174:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] head aprx-2.9.1/beacon.c:1204:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] head aprx-2.9.1/beacon.c:945:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] head aprx-2.9.1/digipeater.c:1457:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head aprx-2.9.1/digipeater.c:377:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOMATCH [valueFlowBailoutIncompleteVar] head aprx-2.9.1/dprsgw.c:977:39: style: Parameter 'app' can be declared as pointer to const [constParameterPointer] head aprx-2.9.1/dprsgw.c:982:40: style: Parameter 'app' can be declared as pointer to const [constParameterPointer] head aprx-2.9.1/filter.c:683:50: style: Parameter 'pbuf' can be declared as pointer to const [constParameterPointer] head aprx-2.9.1/filter.c:726:69: style: Parameter 'ref' can be declared as pointer to const [constParameterPointer] head aprx-2.9.1/historydb.c:607:42: style: Parameter 'app' can be declared as pointer to const [constParameterPointer] head aprx-2.9.1/hlog.c:213:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] head aprx-2.9.1/hlog.c:263:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head aprx-2.9.1/hlog.c:330:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head aprx-2.9.1/hlog.c:437:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] head aprx-2.9.1/hlog.c:452:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] head aprx-2.9.1/hlog.c:499:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] head aprx-2.9.1/hlog.c:525:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] head aprx-2.9.1/hlog.c:564:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] head aprx-2.9.1/interface.c:1425:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head aprx-2.9.1/interface.c:1788:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] head aprx-2.9.1/kiss.c:579:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head aprx-2.9.1/kiss.c:663:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head aprx-2.9.1/parse_aprs.c:561:44: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] head aprx-2.9.1/timercmp.c:63:63: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] head aprx-2.9.1/timestamp.c:20:41: style: Parameter 'tv' can be declared as pointer to const [constParameterPointer] head aprx-2.9.1/timestamp.c:33:38: style: Parameter 'tv' can be declared as pointer to const [constParameterPointer] head aprx-2.9.1/timestamp.c:50:39: style: Parameter 'tv' can be declared as pointer to const [constParameterPointer] head aprx-2.9.1/ttyreader.c:388:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] head aprx-2.9.1/ttyreader.c:625:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] head aprx-2.9.1/ttyreader.c:690:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLOUT [valueFlowBailoutIncompleteVar] head aprx-2.9.1/ttyreader.c:710:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAXBEL [valueFlowBailoutIncompleteVar] head aprx-2.9.1/ttyreader.c:730:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B1200 [valueFlowBailoutIncompleteVar] head aprx-2.9.1/ttyreader.c:833:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B1200 [valueFlowBailoutIncompleteVar] DONE