2026-05-02 08:42 ftp://ftp.de.debian.org/debian/pool/main/g/gpstrans/gpstrans_0.41.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 153 126 elapsed-time: 3.1 2.7 head-timing-info: old-timing-info: head results: gpstrans-0.41/src/getline/getline.c:382:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/getline/getline.c:783:29: style: Array index 'pos' is used before limits check. [arrayIndexThenCheck] gpstrans-0.41/src/getline/getline.c:1320:13: style: Same expression on both sides of '=='. [duplicateExpression] gpstrans-0.41/src/getline/getline.c:346:10: style:inconclusive: Function 'gl_putc' argument 1 names different: declaration '' definition 'c'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/getline/getline.c:362:12: style:inconclusive: Function 'gl_puts' argument 1 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/getline/getline.c:375:12: style:inconclusive: Function 'gl_error' argument 1 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/getline/getline.c:411:10: style:inconclusive: Function 'gl_setwidth' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/getline/getline.c:426:12: style:inconclusive: Function 'getline' argument 1 names different: declaration '' definition 'prompt'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/getline/getline.c:631:10: style:inconclusive: Function 'gl_addchar' argument 1 names different: declaration '' definition 'c'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/getline/getline.c:738:10: style:inconclusive: Function 'gl_del' argument 1 names different: declaration '' definition 'loc'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/getline/getline.c:759:10: style:inconclusive: Function 'gl_kill' argument 1 names different: declaration '' definition 'pos'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/getline/getline.c:774:10: style:inconclusive: Function 'gl_word' argument 1 names different: declaration '' definition 'direction'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/getline/getline.c:813:12: style:inconclusive: Function 'gl_fixup' argument 1 names different: declaration '' definition 'prompt'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/getline/getline.c:814:10: style:inconclusive: Function 'gl_fixup' argument 2 names different: declaration '' definition 'change'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/getline/getline.c:814:18: style:inconclusive: Function 'gl_fixup' argument 3 names different: declaration '' definition 'cursor'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/getline/getline.c:972:12: style:inconclusive: Function 'gl_tab' argument 1 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/getline/getline.c:973:10: style:inconclusive: Function 'gl_tab' argument 2 names different: declaration '' definition 'offset'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/getline/getline.c:974:11: style:inconclusive: Function 'gl_tab' argument 3 names different: declaration '' definition 'loc'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/getline/getline.c:1022:12: style:inconclusive: Function 'gl_histadd' argument 1 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/getline/getline.c:1097:12: style:inconclusive: Function 'hist_save' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/getline/getline.c:1174:10: style:inconclusive: Function 'search_addchar' argument 1 names different: declaration '' definition 'c'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/getline/getline.c:1226:10: style:inconclusive: Function 'search_back' argument 1 names different: declaration '' definition 'new_search'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/getline/getline.c:1269:10: style:inconclusive: Function 'search_forw' argument 1 names different: declaration '' definition 'new_search'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/getline/getline.c:1314:12: style:inconclusive: Function 'getlinenoecho' argument 1 names different: declaration '' definition 'prompt'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/getline/getline.c:362:12: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gpstrans-0.41/src/getline/getline.c:375:12: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gpstrans-0.41/src/getline/getline.c:1024:16: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] gpstrans-0.41/src/getline/getline.c:1025:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gpstrans-0.41/src/getline/getline.c:1097:12: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gpstrans-0.41/src/getline/getline.c:1102:9: style: Variable 'nl' can be declared as pointer to const [constVariablePointer] gpstrans-0.41/src/getline/getline.c:1176:9: style: Variable 'loc' can be declared as pointer to const [constVariablePointer] gpstrans-0.41/src/getline/getline.c:1229:13: style: Variable 'loc' can be declared as pointer to const [constVariablePointer] gpstrans-0.41/src/getline/getline.c:1272:13: style: Variable 'loc' can be declared as pointer to const [constVariablePointer] gpstrans-0.41/src/getline/getline.c:341:10: error: Uninitialized variable: c [uninitvar] gpstrans-0.41/src/getline/getline.c:282:7: style: Variable 'c' is not assigned a value. [unassignedVariable] gpstrans-0.41/src/getline/testgl.c:4:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gpstrans-0.41/src/getline/testgl.c:15:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/gps/calendar.c:119:17: style:inconclusive: Function 'days2date' argument 1 names different: declaration 'julian' definition 'days'. [funcArgNamesDifferent] gpstrans-0.41/src/gps/calendar.c:39:29: note: Function 'days2date' argument 1 names different: declaration 'julian' definition 'days'. gpstrans-0.41/src/gps/calendar.c:119:17: note: Function 'days2date' argument 1 names different: declaration 'julian' definition 'days'. gpstrans-0.41/src/gps/calendar.c:76:16: style: Parameter 'dt' can be declared as pointer to const [constParameterPointer] gpstrans-0.41/src/gps/dms.c:75:21: style: Parameter 'dms' can be declared as pointer to const [constParameterPointer] gpstrans-0.41/src/gps/dms.c:126:20: style: Parameter 'dms' can be declared as pointer to const [constParameterPointer] gpstrans-0.41/src/gps/garmincomm.c:62:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LENGTH [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/gps/garmincomm.c:118:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GARMIN [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/gps/garmincomm.c:203:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMEOUT [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/gps/garmincomm.c:271:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debugging [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/gps/garmincomm.c:171:18: style: Same expression on both sides of '=='. [duplicateExpression] gpstrans-0.41/src/gps/garmincomm.c:62:8: style: Local variable 'gGarminMessage' shadows outer variable [shadowVariable] gpstrans-0.41/src/gps/garmincomm.c:42:6: note: Shadowed declaration gpstrans-0.41/src/gps/garmincomm.c:62:8: note: Shadow variable gpstrans-0.41/src/gps/garmincomm.c:58:24: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] gpstrans-0.41/src/gps/garmincomm.c:118:12: style: Variable 'err' is assigned a value that is never used. [unreadVariable] gpstrans-0.41/src/gps/garmincomm.c:148:9: style: Variable 'igot' is assigned a value that is never used. [unreadVariable] gpstrans-0.41/src/gps/garmincomm.c:220:9: style: Variable 'igot' is assigned a value that is never used. [unreadVariable] gpstrans-0.41/src/gps/garminserial.c:58:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/gps/garminserial.c:107:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIONREAD [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/gps/getgpsinfo.c:104:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/gps/getgpsinfo.c:281:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GARMIN [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/gps/getgpsinfo.c:517:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GARMIN [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/gps/getgpsinfo.c:595:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GARMIN [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/gps/getgpsinfo.c:694:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file_format [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/gps/getgpsinfo.c:765:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file_format [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/gps/getgpsinfo.c:834:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file_format [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/gps/getgpsinfo.c:880:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debugging [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/gps/getgpsinfo.c:1354:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file_format [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/gps/getgpsinfo.c:280:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gpstrans-0.41/src/gps/getgpsinfo.c:325:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gpstrans-0.41/src/gps/getgpsinfo.c:476:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gpstrans-0.41/src/gps/getgpsinfo.c:556:9: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] gpstrans-0.41/src/gps/getgpsinfo.c:778:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gpstrans-0.41/src/gps/getgpsinfo.c:347:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gpstrans-0.41/src/gps/getgpsinfo.c:339:23: note: Assuming allocation function fails gpstrans-0.41/src/gps/getgpsinfo.c:339:15: note: Assignment 'p=protocols=xmalloc(5*n/3+1)', assigned value is 0 gpstrans-0.41/src/gps/getgpsinfo.c:340:13: note: Assuming condition is false gpstrans-0.41/src/gps/getgpsinfo.c:347:5: note: Null pointer dereference gpstrans-0.41/src/gps/getgpsinfo.c:1388:13: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] gpstrans-0.41/src/gps/getgpsinfo.c:1703:14: portability: Casting from float * to signed long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gpstrans-0.41/src/gps/getgpsinfo.c:706:7: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] gpstrans-0.41/src/gps/getgpsinfo.c:709:7: note: Found duplicate branches for 'if' and 'else'. gpstrans-0.41/src/gps/getgpsinfo.c:706:7: note: Found duplicate branches for 'if' and 'else'. gpstrans-0.41/src/gps/getgpsinfo.c:451:39: style: Variable 'next' can be declared as pointer to const [constVariablePointer] gpstrans-0.41/src/gps/getgpsinfo.c:584:9: style: Variable 'rType' can be declared as pointer to const [constVariablePointer] gpstrans-0.41/src/gps/getgpsinfo.c:745:13: style: Variable 'd' can be declared as pointer to const [constVariablePointer] gpstrans-0.41/src/gps/getgpsinfo.c:856:9: style: Variable 'color_name' can be declared as const array [constVariable] gpstrans-0.41/src/gps/getgpsinfo.c:1669:25: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gpstrans-0.41/src/gps/getgpsinfo.c:1686:16: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gpstrans-0.41/src/gps/getgpsinfo.c:1700:17: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gpstrans-0.41/src/gps/getgpsinfo.c:1714:17: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gpstrans-0.41/src/gps/getgpsinfo.c:1727:18: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] gpstrans-0.41/src/gps/getgpsinfo.c:323:39: error: Undefined behavior: Variable 'GPSVersionStr' is used as parameter and destination in sprintf(). [sprintfOverlappingData] gpstrans-0.41/src/gps/getgpsinfo.c:1626:7: error: Uninitialized struct member: pkt.wn [uninitStructMember] gpstrans-0.41/src/gps/getgpsinfo.c:517:12: style: Variable 'err' is assigned a value that is never used. [unreadVariable] gpstrans-0.41/src/gps/latlong.c:56:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dx [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/gps/latlong.c:92:6: style: Variable 'b1' is assigned a value that is never used. [unreadVariable] gpstrans-0.41/src/gps/sendgpsinfo.c:100:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GARMIN [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/gps/sendgpsinfo.c:134:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/gps/sendgpsinfo.c:643:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debugging [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/gps/sendgpsinfo.c:1059:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pid_Trk_Data [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/gps/sendgpsinfo.c:1163:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/gps/sendgpsinfo.c:1393:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file_format [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/gps/sendgpsinfo.c:332:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] gpstrans-0.41/src/gps/sendgpsinfo.c:1402:7: warning:inconclusive: Width 7 given in format string (no. 1) is smaller than destination buffer 'fmt[10]'. [invalidScanfFormatWidth_smaller] gpstrans-0.41/src/gps/sendgpsinfo.c:1407:7: warning:inconclusive: Width 3 given in format string (no. 1) is smaller than destination buffer 'fmt[10]'. [invalidScanfFormatWidth_smaller] gpstrans-0.41/src/gps/sendgpsinfo.c:581:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gpstrans-0.41/src/gps/sendgpsinfo.c:587:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gpstrans-0.41/src/gps/sendgpsinfo.c:593:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gpstrans-0.41/src/gps/sendgpsinfo.c:1018:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gpstrans-0.41/src/gps/sendgpsinfo.c:1024:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gpstrans-0.41/src/gps/sendgpsinfo.c:1030:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gpstrans-0.41/src/gps/sendgpsinfo.c:1290:14: portability: Casting from float * to signed long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gpstrans-0.41/src/gps/sendgpsinfo.c:1169:3: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] gpstrans-0.41/src/gps/sendgpsinfo.c:319:20: style:inconclusive: Function 'mxmap_route' argument 1 names different: declaration '' definition 'Datastring'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/gps/sendgpsinfo.c:319:36: style:inconclusive: Function 'mxmap_route' argument 2 names different: declaration '' definition 'mrec'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/gps/sendgpsinfo.c:389:19: style:inconclusive: Function 'strconvert' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/gps/sendgpsinfo.c:1244:20: style:inconclusive: Function 'sendRecords' argument 1 names different: declaration '' definition 'recs'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/gps/sendgpsinfo.c:1308:14: style:inconclusive: Function 'field' argument 1 names different: declaration 'a' definition 'str'. [funcArgNamesDifferent] gpstrans-0.41/src/gps/sendgpsinfo.c:67:27: note: Function 'field' argument 1 names different: declaration 'a' definition 'str'. gpstrans-0.41/src/gps/sendgpsinfo.c:1308:14: note: Function 'field' argument 1 names different: declaration 'a' definition 'str'. gpstrans-0.41/src/gps/sendgpsinfo.c:1385:22: style:inconclusive: Function 'getFileFormat' argument 1 names different: declaration '' definition 'first'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/gps/sendgpsinfo.c:1385:35: style:inconclusive: Function 'getFileFormat' argument 2 names different: declaration '' definition 'second'. [funcArgNamesDifferentUnnamed] gpstrans-0.41/src/gps/sendgpsinfo.c:91:23: style: Local variable 'gPrefs' shadows outer variable [shadowVariable] gpstrans-0.41/src/gps/sendgpsinfo.c:43:21: note: Shadowed declaration gpstrans-0.41/src/gps/sendgpsinfo.c:91:23: note: Shadow variable gpstrans-0.41/src/gps/sendgpsinfo.c:132:9: style: Variable 'rType' can be declared as pointer to const [constVariablePointer] gpstrans-0.41/src/gps/sendgpsinfo.c:321:16: style: Variable 'month' can be declared as const array [constVariable] gpstrans-0.41/src/gps/sendgpsinfo.c:325:13: style: Variable 'r' can be declared as pointer to const [constVariablePointer] gpstrans-0.41/src/gps/sendgpsinfo.c:329:14: style: Variable 'ts' can be declared as pointer to const [constVariablePointer] gpstrans-0.41/src/gps/sendgpsinfo.c:820:24: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gpstrans-0.41/src/gps/sendgpsinfo.c:820:36: style: Parameter 'protocol' can be declared as pointer to const [constParameterPointer] gpstrans-0.41/src/gps/sendgpsinfo.c:822:9: style: Variable 'color_name' can be declared as const array [constVariable] gpstrans-0.41/src/gps/sendgpsinfo.c:1290:9: style: Variable 'lp' can be declared as pointer to const [constVariablePointer] gpstrans-0.41/src/gps/sendgpsinfo.c:1333:25: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] gpstrans-0.41/src/gps/sendgpsinfo.c:950:10: style: struct member 'Anonymous13::type' is never used. [unusedStructMember] gpstrans-0.41/src/gps/sendgpsinfo.c:100:12: style: Variable 'err' is assigned a value that is never used. [unreadVariable] gpstrans-0.41/src/gps/sendgpsinfo.c:1055:7: style: Variable 'lat' is assigned a value that is never used. [unreadVariable] gpstrans-0.41/src/gps/sendgpsinfo.c:1056:7: style: Variable 'lon' is assigned a value that is never used. [unreadVariable] gpstrans-0.41/src/grid/bng.c:92:17: style: Parameter 'zone' can be declared as pointer to const [constParameterPointer] gpstrans-0.41/src/grid/gridutils.c:43:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ellipsoid [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/grid/itm.c:87:17: style: Parameter 'zone' can be declared as pointer to const [constParameterPointer] gpstrans-0.41/src/grid/tm.c:56:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Degree [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/grid/tm.c:95:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Degree [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/grid/ups.c:47:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Degree [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/grid/ups.c:90:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Degree [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/grid/ups.c:119:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pi [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/main.c:61:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/main.c:73:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/main.c:95:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/main.c:135:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/main.c:174:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/main.c:267:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/main.c:292:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/main.c:380:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAYKO [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/prefs.c:144:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PrefFileName [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/prefs.c:177:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DMS [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/prefs.c:243:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/prefs.c:261:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/prefs.c:78:18: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] gpstrans-0.41/src/prefs.c:132:13: style: Same expression on both sides of '=='. [duplicateExpression] gpstrans-0.41/src/prefs.c:56:12: style: Parameter 'ch' can be declared as pointer to const [constParameterPointer] gpstrans-0.41/src/prefs.c:60:18: style: Variable 'pwdentry' can be declared as pointer to const [constVariablePointer] gpstrans-0.41/src/prefs.c:257:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gpstrans-0.41/src/util.c:51:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/util.c:66:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/util.c:77:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gpstrans-0.41/src/util.c:64:16: style: Parameter 'txt' can be declared as pointer to const [constParameterPointer] gpstrans-0.41/src/util.c:75:14: style: Parameter 'txt' can be declared as pointer to const [constParameterPointer] diff: head gpstrans-0.41/src/getline/getline.c:1022:12: style:inconclusive: Function 'gl_histadd' argument 1 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/getline/getline.c:1097:12: style:inconclusive: Function 'hist_save' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/getline/getline.c:1174:10: style:inconclusive: Function 'search_addchar' argument 1 names different: declaration '' definition 'c'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/getline/getline.c:1226:10: style:inconclusive: Function 'search_back' argument 1 names different: declaration '' definition 'new_search'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/getline/getline.c:1269:10: style:inconclusive: Function 'search_forw' argument 1 names different: declaration '' definition 'new_search'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/getline/getline.c:1314:12: style:inconclusive: Function 'getlinenoecho' argument 1 names different: declaration '' definition 'prompt'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/getline/getline.c:346:10: style:inconclusive: Function 'gl_putc' argument 1 names different: declaration '' definition 'c'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/getline/getline.c:362:12: style:inconclusive: Function 'gl_puts' argument 1 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/getline/getline.c:375:12: style:inconclusive: Function 'gl_error' argument 1 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/getline/getline.c:411:10: style:inconclusive: Function 'gl_setwidth' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/getline/getline.c:426:12: style:inconclusive: Function 'getline' argument 1 names different: declaration '' definition 'prompt'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/getline/getline.c:631:10: style:inconclusive: Function 'gl_addchar' argument 1 names different: declaration '' definition 'c'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/getline/getline.c:738:10: style:inconclusive: Function 'gl_del' argument 1 names different: declaration '' definition 'loc'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/getline/getline.c:759:10: style:inconclusive: Function 'gl_kill' argument 1 names different: declaration '' definition 'pos'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/getline/getline.c:774:10: style:inconclusive: Function 'gl_word' argument 1 names different: declaration '' definition 'direction'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/getline/getline.c:813:12: style:inconclusive: Function 'gl_fixup' argument 1 names different: declaration '' definition 'prompt'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/getline/getline.c:814:10: style:inconclusive: Function 'gl_fixup' argument 2 names different: declaration '' definition 'change'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/getline/getline.c:814:18: style:inconclusive: Function 'gl_fixup' argument 3 names different: declaration '' definition 'cursor'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/getline/getline.c:972:12: style:inconclusive: Function 'gl_tab' argument 1 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/getline/getline.c:973:10: style:inconclusive: Function 'gl_tab' argument 2 names different: declaration '' definition 'offset'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/getline/getline.c:974:11: style:inconclusive: Function 'gl_tab' argument 3 names different: declaration '' definition 'loc'. [funcArgNamesDifferentUnnamed] 2.20.0 gpstrans-0.41/src/gps/getgpsinfo.c:345:15: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gpstrans-0.41/src/gps/getgpsinfo.c:339:23: note: Assuming allocation function fails gpstrans-0.41/src/gps/getgpsinfo.c:339:15: note: Assignment 'p=protocols=xmalloc(5*n/3+1)', assigned value is 0 gpstrans-0.41/src/gps/getgpsinfo.c:345:15: note: Null pointer addition head gpstrans-0.41/src/gps/getgpsinfo.c:347:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gpstrans-0.41/src/gps/getgpsinfo.c:339:23: note: Assuming allocation function fails gpstrans-0.41/src/gps/getgpsinfo.c:339:15: note: Assignment 'p=protocols=xmalloc(5*n/3+1)', assigned value is 0 gpstrans-0.41/src/gps/getgpsinfo.c:340:13: note: Assuming condition is false gpstrans-0.41/src/gps/getgpsinfo.c:347:5: note: Null pointer dereference head gpstrans-0.41/src/gps/sendgpsinfo.c:1244:20: style:inconclusive: Function 'sendRecords' argument 1 names different: declaration '' definition 'recs'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/gps/sendgpsinfo.c:1385:22: style:inconclusive: Function 'getFileFormat' argument 1 names different: declaration '' definition 'first'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/gps/sendgpsinfo.c:1385:35: style:inconclusive: Function 'getFileFormat' argument 2 names different: declaration '' definition 'second'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/gps/sendgpsinfo.c:319:20: style:inconclusive: Function 'mxmap_route' argument 1 names different: declaration '' definition 'Datastring'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/gps/sendgpsinfo.c:319:36: style:inconclusive: Function 'mxmap_route' argument 2 names different: declaration '' definition 'mrec'. [funcArgNamesDifferentUnnamed] head gpstrans-0.41/src/gps/sendgpsinfo.c:389:19: style:inconclusive: Function 'strconvert' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] DONE