2025-05-10 20:01 ftp://ftp.de.debian.org/debian/pool/main/g/geoip/geoip_1.6.12.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-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: beb3362 (2025-05-10 14:33:23 +0200) count: 102 101 elapsed-time: 4.2 4.4 head-timing-info: old-timing-info: head results: geoip-api-c-1.6.12/apps/geoiplookup.c:34:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/apps/geoiplookup.c:50:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOIP_CHARSET_UTF8 [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/apps/geoiplookup.c:253:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GeoIPDBDescription [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/apps/geoiplookup.c:225:5: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] geoip-api-c-1.6.12/apps/geoiplookup.c:222:10: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] geoip-api-c-1.6.12/apps/geoiplookup.c:201:12: warning: Uninitialized variable: ptr [uninitvar] geoip-api-c-1.6.12/apps/geoiplookup.c:213:58: note: Calling function '__num_to_addr_r', 2nd argument 'ipaddr' value is geoip-api-c-1.6.12/apps/geoiplookup.c:201:12: note: Uninitialized variable: ptr geoip-api-c-1.6.12/apps/geoiplookup6.c:27:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/apps/geoiplookup6.c:78:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOIP_STANDARD [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/apps/geoiplookup6.c:134:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GeoIPDBDescription [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/apps/geoiplookup6.c:128:18: style: Variable 'gir' can be declared as pointer to const [constVariablePointer] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:860:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOIPDATADIR [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1220:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1443:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1453:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1538:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1640:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1862:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2746:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1838:15: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1745:19: style: Condition 'gi->cache' is always true [knownConditionTrueFalse] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:902:16: warning: If memory allocation fails, then there is a possible null pointer dereference: GeoIPDBFileName [nullPointerOutOfMemory] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:901:33: note: Assuming allocation function fails geoip-api-c-1.6.12/libGeoIP/GeoIP.c:901:33: note: Assignment 'GeoIPDBFileName=malloc(sizeof(char*)*(38+1))', assigned value is 0 geoip-api-c-1.6.12/libGeoIP/GeoIP.c:902:16: note: Null pointer dereference geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2106:20: warning: Either the condition 'gi==NULL' is redundant or there is possible null pointer dereference: gi. [nullPointerRedundantCheck] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2109:12: note: Assuming that condition 'gi==NULL' is not redundant geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2106:20: note: Null pointer dereference geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2453:21: warning: If memory allocation fails, then there is a possible null pointer dereference: org_buf [nullPointerOutOfMemory] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2452:29: note: Assuming allocation function fails geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2452:29: note: Assignment 'org_buf=malloc(len)', assigned value is 0 geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2453:21: note: Null pointer dereference geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2462:21: warning: If memory allocation fails, then there is a possible null pointer dereference: org_buf [nullPointerOutOfMemory] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2461:29: note: Assuming allocation function fails geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2461:29: note: Assignment 'org_buf=malloc(len)', assigned value is 0 geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2462:21: note: Null pointer dereference geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2511:21: warning: If memory allocation fails, then there is a possible null pointer dereference: org_buf [nullPointerOutOfMemory] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2510:29: note: Assuming allocation function fails geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2510:29: note: Assignment 'org_buf=malloc(len)', assigned value is 0 geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2511:21: note: Null pointer dereference geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2520:21: warning: If memory allocation fails, then there is a possible null pointer dereference: org_buf [nullPointerOutOfMemory] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2519:29: note: Assuming allocation function fails geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2519:29: note: Assignment 'org_buf=malloc(len)', assigned value is 0 geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2520:21: note: Null pointer dereference geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1840:28: style: The comparison 'result != 0' is always false. [knownConditionTrueFalse] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1812:18: note: 'result' is assigned value '0' here. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1840:28: note: The comparison 'result != 0' is always false. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1761:57: style:inconclusive: Function 'GeoIP_country_code_by_name_v6_gl' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:236:57: note: Function 'GeoIP_country_code_by_name_v6_gl' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1761:57: note: Function 'GeoIP_country_code_by_name_v6_gl' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1768:54: style:inconclusive: Function 'GeoIP_country_code_by_name_gl' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:208:54: note: Function 'GeoIP_country_code_by_name_gl' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1768:54: note: Function 'GeoIP_country_code_by_name_gl' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1775:59: style:inconclusive: Function 'GeoIP_country_code3_by_name_v6_gl' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:240:58: note: Function 'GeoIP_country_code3_by_name_v6_gl' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1775:59: note: Function 'GeoIP_country_code3_by_name_v6_gl' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1783:55: style:inconclusive: Function 'GeoIP_country_code3_by_name_gl' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:212:55: note: Function 'GeoIP_country_code3_by_name_gl' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1783:55: note: Function 'GeoIP_country_code3_by_name_gl' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1790:57: style:inconclusive: Function 'GeoIP_country_name_by_name_v6_gl' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:244:57: note: Function 'GeoIP_country_name_by_name_v6_gl' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1790:57: note: Function 'GeoIP_country_name_by_name_v6_gl' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1797:54: style:inconclusive: Function 'GeoIP_country_name_by_name_gl' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:216:54: note: Function 'GeoIP_country_name_by_name_gl' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1797:54: note: Function 'GeoIP_country_name_by_name_gl' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1880:48: style:inconclusive: Function 'GeoIP_id_by_name_gl' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:247:58: note: Function 'GeoIP_id_by_name_gl' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1880:48: note: Function 'GeoIP_id_by_name_gl' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1902:51: style:inconclusive: Function 'GeoIP_id_by_name_v6_gl' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:254:47: note: Function 'GeoIP_id_by_name_v6_gl' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1902:51: note: Function 'GeoIP_id_by_name_v6_gl' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2173:54: style:inconclusive: Function 'GeoIP_assign_region_by_inetaddr_gl' argument 3 names different: declaration 'gir' definition 'region'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:277:64: note: Function 'GeoIP_assign_region_by_inetaddr_gl' argument 3 names different: declaration 'gir' definition 'region'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2173:54: note: Function 'GeoIP_assign_region_by_inetaddr_gl' argument 3 names different: declaration 'gir' definition 'region'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2229:57: style:inconclusive: Function 'GeoIP_assign_region_by_inetaddr_v6_gl' argument 3 names different: declaration 'gir' definition 'region'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:281:67: note: Function 'GeoIP_assign_region_by_inetaddr_v6_gl' argument 3 names different: declaration 'gir' definition 'region'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2229:57: note: Function 'GeoIP_assign_region_by_inetaddr_v6_gl' argument 3 names different: declaration 'gir' definition 'region'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2341:48: style:inconclusive: Function 'GeoIP_region_by_name_gl' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:261:48: note: Function 'GeoIP_region_by_name_gl' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2341:48: note: Function 'GeoIP_region_by_name_gl' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2360:51: style:inconclusive: Function 'GeoIP_region_by_name_v6_gl' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:268:51: note: Function 'GeoIP_region_by_name_v6_gl' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2360:51: note: Function 'GeoIP_region_by_name_v6_gl' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2637:52: style:inconclusive: Function 'GeoIP_name_by_name_gl' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:290:46: note: Function 'GeoIP_name_by_name_gl' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2637:52: note: Function 'GeoIP_name_by_name_gl' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2660:45: style: Parameter 'gi' can be declared as pointer to const [constParameterPointer] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2672:25: style: Parameter 'gi' can be declared as pointer to const [constParameterPointer] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2677:26: style: Parameter 'gi' can be declared as pointer to const [constParameterPointer] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2704:45: style: Parameter 'gi' can be declared as pointer to const [constParameterPointer] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2572:10: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2580:14: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:2589:14: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1453:48: error: Uninitialized variable: ipnum [uninitvar] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1877:12: error: Uninitialized variable: ipnum [uninitvar] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1806:25: style: Variable 'phe' is assigned a value that is never used. [unreadVariable] geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1866:17: style: Variable 'gaierr' is assigned a value that is never used. [unreadVariable] geoip-api-c-1.6.12/libGeoIP/GeoIPCity.c:72:12: warning: If memory allocation fails, then there is a possible null pointer dereference: record [nullPointerOutOfMemory] geoip-api-c-1.6.12/libGeoIP/GeoIPCity.c:71:20: note: Assuming allocation function fails geoip-api-c-1.6.12/libGeoIP/GeoIPCity.c:71:20: note: Assignment 'record=malloc(sizeof(struct GeoIPRecord))', assigned value is 0 geoip-api-c-1.6.12/libGeoIP/GeoIPCity.c:72:12: note: Null pointer dereference geoip-api-c-1.6.12/libGeoIP/GeoIPCity.c:73:5: warning: If memory allocation fails, then there is a possible null pointer dereference: record [nullPointerOutOfMemory] geoip-api-c-1.6.12/libGeoIP/GeoIPCity.c:71:20: note: Assuming allocation function fails geoip-api-c-1.6.12/libGeoIP/GeoIPCity.c:71:20: note: Assignment 'record=malloc(sizeof(struct GeoIPRecord))', assigned value is 0 geoip-api-c-1.6.12/libGeoIP/GeoIPCity.c:73:5: note: Null pointer dereference geoip-api-c-1.6.12/libGeoIP/GeoIPCity.c:261:58: style:inconclusive: Function 'GeoIP_record_by_name' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIPCity.h:53:68: note: Function 'GeoIP_record_by_name' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIPCity.c:261:58: note: Function 'GeoIP_record_by_name' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIPCity.c:270:61: style:inconclusive: Function 'GeoIP_record_by_name_v6' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIPCity.h:57:71: note: Function 'GeoIP_record_by_name_v6' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIPCity.c:270:61: note: Function 'GeoIP_record_by_name_v6' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIPCity.c:66:20: style: Variable 'bytes_read' is assigned a value that is never used. [unreadVariable] geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:24:48: style:inconclusive: Function 'GeoIP_org_by_name' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:429:58: note: Function 'GeoIP_org_by_name' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:24:48: note: Function 'GeoIP_org_by_name' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:46:66: style:inconclusive: Function 'GeoIP_country_code_by_name_v6' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:380:65: note: Function 'GeoIP_country_code_by_name_v6' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:46:66: note: Function 'GeoIP_country_code_by_name_v6' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:51:63: style:inconclusive: Function 'GeoIP_country_code_by_name' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:358:73: note: Function 'GeoIP_country_code_by_name' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:51:63: note: Function 'GeoIP_country_code_by_name' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:56:67: style:inconclusive: Function 'GeoIP_country_code3_by_name_v6' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:384:66: note: Function 'GeoIP_country_code3_by_name_v6' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:56:67: note: Function 'GeoIP_country_code3_by_name_v6' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:61:64: style:inconclusive: Function 'GeoIP_country_code3_by_name' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:360:74: note: Function 'GeoIP_country_code3_by_name' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:61:64: note: Function 'GeoIP_country_code3_by_name' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:66:66: style:inconclusive: Function 'GeoIP_country_name_by_name_v6' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:388:65: note: Function 'GeoIP_country_name_by_name_v6' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:66:66: note: Function 'GeoIP_country_name_by_name_v6' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:71:63: style:inconclusive: Function 'GeoIP_country_name_by_name' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:362:73: note: Function 'GeoIP_country_name_by_name' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:71:63: note: Function 'GeoIP_country_name_by_name' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:76:45: style:inconclusive: Function 'GeoIP_id_by_name' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:391:55: note: Function 'GeoIP_id_by_name' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:76:45: note: Function 'GeoIP_id_by_name' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:80:48: style:inconclusive: Function 'GeoIP_id_by_name_v6' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:395:58: note: Function 'GeoIP_id_by_name_v6' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:80:48: note: Function 'GeoIP_id_by_name_v6' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:179:51: style:inconclusive: Function 'GeoIP_assign_region_by_inetaddr' argument 3 names different: declaration 'gir' definition 'region'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:408:61: note: Function 'GeoIP_assign_region_by_inetaddr' argument 3 names different: declaration 'gir' definition 'region'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:179:51: note: Function 'GeoIP_assign_region_by_inetaddr' argument 3 names different: declaration 'gir' definition 'region'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:186:54: style:inconclusive: Function 'GeoIP_assign_region_by_inetaddr_v6' argument 3 names different: declaration 'gir' definition 'region'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:411:64: note: Function 'GeoIP_assign_region_by_inetaddr_v6' argument 3 names different: declaration 'gir' definition 'region'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:186:54: note: Function 'GeoIP_assign_region_by_inetaddr_v6' argument 3 names different: declaration 'gir' definition 'region'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:200:58: style:inconclusive: Function 'GeoIP_region_by_name' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:399:68: note: Function 'GeoIP_region_by_name' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:200:58: note: Function 'GeoIP_region_by_name' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:204:61: style:inconclusive: Function 'GeoIP_region_by_name_v6' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:403:71: note: Function 'GeoIP_region_by_name_v6' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:204:61: note: Function 'GeoIP_region_by_name_v6' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:240:49: style:inconclusive: Function 'GeoIP_name_by_name' argument 2 names different: declaration 'host' definition 'name'. [funcArgNamesDifferent] geoip-api-c-1.6.12/libGeoIP/GeoIP.h:415:59: note: Function 'GeoIP_name_by_name' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:240:49: note: Function 'GeoIP_name_by_name' argument 2 names different: declaration 'host' definition 'name'. geoip-api-c-1.6.12/libGeoIP/GeoIP_deprecated.c:34:31: style: Parameter 'gi' can be declared as pointer to const [constParameterPointer] geoip-api-c-1.6.12/test/benchmark.c:71:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOIP_SILENCE [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/test/benchmark.c:89:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOIP_SILENCE [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/test/benchmark.c:108:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOIP_SILENCE [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/test/benchmark.c:128:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOIP_SILENCE [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/test/benchmark.c:145:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOIP_CHECK_CACHE [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/test/test-geoip-asnum.c:31:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOIP_STANDARD [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/test/test-geoip-asnum.c:45:12: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] geoip-api-c-1.6.12/test/test-geoip-asnum.c:28:11: style: Variable 'org' can be declared as pointer to const [constVariablePointer] geoip-api-c-1.6.12/test/test-geoip-city.c:34:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOIP_INDEX_CACHE [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/test/test-geoip-city.c:48:12: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] geoip-api-c-1.6.12/test/test-geoip-domain.c:32:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOIP_INDEX_CACHE [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/test/test-geoip-domain.c:47:12: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] geoip-api-c-1.6.12/test/test-geoip-invalid-file.c:4:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SRCDIR [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/test/test-geoip-isp.c:31:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOIP_STANDARD [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/test/test-geoip-isp.c:45:12: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] geoip-api-c-1.6.12/test/test-geoip-netspeed.c:29:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOIP_STANDARD [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/test/test-geoip-netspeed.c:43:12: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] geoip-api-c-1.6.12/test/test-geoip-org.c:32:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOIP_INDEX_CACHE [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/test/test-geoip-org.c:47:12: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] geoip-api-c-1.6.12/test/test-geoip-region.c:57:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOIP_MEMORY_CACHE [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/test/test-geoip-region.c:39:12: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] geoip-api-c-1.6.12/test/test-geoip-region.c:78:12: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] geoip-api-c-1.6.12/test/test-geoip.c:38:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SRCDIR [valueFlowBailoutIncompleteVar] geoip-api-c-1.6.12/test/test-geoip.c:77:13: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] geoip-api-c-1.6.12/test/test-geoip.c:128:16: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] geoip-api-c-1.6.12/test/test-geoip.c:54:72: warning: Either the condition '!db_info' is redundant or there is possible null pointer dereference: db_info. [nullPointerRedundantCheck] geoip-api-c-1.6.12/test/test-geoip.c:51:13: note: Assuming that condition '!db_info' is not redundant geoip-api-c-1.6.12/test/test-geoip.c:54:72: note: Null pointer dereference geoip-api-c-1.6.12/test/test-geoip.c:86:25: warning: Either the condition 'returnedCountry==NULL' is redundant or there is possible null pointer dereference: returnedCountry. [nullPointerRedundantCheck] geoip-api-c-1.6.12/test/test-geoip.c:80:33: note: Assuming that condition 'returnedCountry==NULL' is not redundant geoip-api-c-1.6.12/test/test-geoip.c:86:25: note: Null pointer dereference geoip-api-c-1.6.12/test/test-geoip.c:97:25: warning: Either the condition 'returnedCountry==NULL' is redundant or there is possible null pointer dereference: returnedCountry. [nullPointerRedundantCheck] geoip-api-c-1.6.12/test/test-geoip.c:91:33: note: Assuming that condition 'returnedCountry==NULL' is not redundant geoip-api-c-1.6.12/test/test-geoip.c:97:25: note: Null pointer dereference geoip-api-c-1.6.12/test/test-geoip.c:108:25: warning: Either the condition 'returnedCountry==NULL' is redundant or there is possible null pointer dereference: returnedCountry. [nullPointerRedundantCheck] geoip-api-c-1.6.12/test/test-geoip.c:102:33: note: Assuming that condition 'returnedCountry==NULL' is not redundant geoip-api-c-1.6.12/test/test-geoip.c:108:25: note: Null pointer dereference geoip-api-c-1.6.12/test/test-geoip.c:119:25: warning: Either the condition 'returnedCountry==NULL' is redundant or there is possible null pointer dereference: returnedCountry. [nullPointerRedundantCheck] geoip-api-c-1.6.12/test/test-geoip.c:113:33: note: Assuming that condition 'returnedCountry==NULL' is not redundant geoip-api-c-1.6.12/test/test-geoip.c:119:25: note: Null pointer dereference geoip-api-c-1.6.12/test/test-geoip.c:136:25: warning: Either the condition 'returnedCountry==NULL' is redundant or there is possible null pointer dereference: returnedCountry. [nullPointerRedundantCheck] geoip-api-c-1.6.12/test/test-geoip.c:130:33: note: Assuming that condition 'returnedCountry==NULL' is not redundant geoip-api-c-1.6.12/test/test-geoip.c:136:25: note: Null pointer dereference diff: head geoip-api-c-1.6.12/libGeoIP/GeoIP.c:1453:48: error: Uninitialized variable: ipnum [uninitvar] DONE