2025-05-09 21:14 ftp://ftp.de.debian.org/debian/pool/main/c/colorhug-client/colorhug-client_0.2.8.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --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: b3c7f00 (2025-05-09 17:59:20 +0200) count: 173 226 elapsed-time: 2.7 2.8 head-timing-info: old-timing-info: head results: colorhug-client-0.2.8/src/ch-ambient.c:105:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GdkRGBA [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ambient.c:150:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GdkRGBA [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ambient.c:181:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GdkRGBA [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ambient.c:222:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ambient.c:352:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_FREQ_SCALE_20 [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ambient.c:412:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ambient.c:439:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BUS_TYPE_SYSTEM [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ambient.c:491:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BUS_TYPE_SYSTEM [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ambient.c:516:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ch_ambient_parent_class [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ambient.c:314:2: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] colorhug-client-0.2.8/src/ch-ambient.c:410:3: error: Memory leak: dir [memleak] colorhug-client-0.2.8/src/ch-ambient.c:413:3: error: Memory leak: dev [memleak] colorhug-client-0.2.8/src/ch-ambient.c:413:3: error: Memory leak: dir [memleak] colorhug-client-0.2.8/src/ch-ambient.c:414:2: error: Memory leak: dir [memleak] colorhug-client-0.2.8/src/ch-ambient.c:294:20: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-backlight-resources.c:9:68: style: union member 'Anonymous0::alignment' is never used. [unusedStructMember] colorhug-client-0.2.8/src/ch-backlight-resources.c:9:92: style: union member 'Anonymous0::ptr' is never used. [unusedStructMember] colorhug-client-0.2.8/src/ch-backlight.c:69:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-backlight.c:177:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-backlight.c:208:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-backlight.c:697:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SETTINGS_BIND_DEFAULT [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-backlight.c:744:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OPTION_ARG_NONE [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-backlight.c:583:3: error: Memory leak: str [memleak] colorhug-client-0.2.8/src/ch-backlight.c:591:3: error: Memory leak: str [memleak] colorhug-client-0.2.8/src/ch-backlight.c:598:3: error: Memory leak: str [memleak] colorhug-client-0.2.8/src/ch-backlight.c:165:36: style: Variable 'retval' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-backlight.c:237:31: style: Variable 'error' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-backlight.c:237:31: style: Variable 'error' is assigned a value that is never used. [unreadVariable] colorhug-client-0.2.8/src/ch-ccmx-resources.c:9:68: style: union member 'Anonymous0::alignment' is never used. [unusedStructMember] colorhug-client-0.2.8/src/ch-ccmx-resources.c:9:92: style: union member 'Anonymous0::ptr' is never used. [unusedStructMember] colorhug-client-0.2.8/src/ch-ccmx.c:110:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:256:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_CALIBRATION_TYPE_ALL [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:450:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_CALIBRATION_MAX [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:536:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUP_METHOD_GET [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:560:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_YES [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:590:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:626:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:666:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_CALIBRATION_TYPE_LCD [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:760:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_CALIBRATION_MAX [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:818:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:929:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_CALIBRATION_TYPE_ALL [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:992:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_CALIBRATION_MAX [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1064:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_ELLIPSIZE_END [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1113:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_CALIBRATION_MAX [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1238:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUP_METHOD_GET [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1306:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1389:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CD_SENSOR_METADATA_IMAGE_CALIBRATE [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1477:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_INTEGRAL_TIME_VALUE_MAX [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1525:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CD_DEVICE_METADATA_XRANDR_NAME [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1574:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CD_SENSOR_METADATA_IMAGE_ATTACH [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1679:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CD_SENSOR_KIND_COLORHUG [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1713:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUP_FORM_MIME_TYPE_MULTIPART [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1756:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1879:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUP_METHOD_GET [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1930:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CD_SENSOR_KIND_COLORHUG [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:2158:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CURRENT_TIME [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:2181:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_CALIBRATION_MAX [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:2308:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CD_IT8_KIND_TI1 [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:2567:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OPTION_ARG_NONE [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:530:8: warning: %i in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-ccmx.c:2245:2: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-ccmx.c:1215:3: error: Memory leak: basename [memleak] colorhug-client-0.2.8/src/ch-ccmx.c:1215:3: error: Memory leak: location [memleak] colorhug-client-0.2.8/src/ch-ccmx.c:1224:1: error: Memory leak: basename [memleak] colorhug-client-0.2.8/src/ch-ccmx.c:1224:1: error: Memory leak: location [memleak] colorhug-client-0.2.8/src/ch-ccmx.c:1684:2: error: Memory leak: tmp [memleak] colorhug-client-0.2.8/src/ch-ccmx.c:363:25: style: Variable 'location_tmp' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-ccmx.c:415:24: style: Variable 'location' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-ccmx.c:418:11: style: Variable 'uri' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-ccmx.c:517:24: style: Variable 'server_uri' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-ccmx.c:1181:24: style: Variable 'location' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-ccmx.c:1266:24: style: Variable 'location' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-ccmx.c:1300:25: style: Variable 'filename_tmp' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-ccmx.c:1307:26: style: Variable 'uri_tmp' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-ccmx.c:1527:25: style: Variable 'plug_name' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-ccmx.c:2172:24: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-ccmx.c:2549:37: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'ch_ccmx_ignore_cb' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] colorhug-client-0.2.8/src/ch-ccmx.c:2628:8: note: You might need to cast the function pointer here colorhug-client-0.2.8/src/ch-ccmx.c:2549:37: note: Parameter 'user_data' can be declared as pointer to const colorhug-client-0.2.8/src/ch-flash-md.c:384:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MARKUP_PREFIX_ERROR_POSITION [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash-md.c:423:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MARKUP_PREFIX_ERROR_POSITION [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash-resources.c:9:68: style: union member 'Anonymous0::alignment' is never used. [unusedStructMember] colorhug-client-0.2.8/src/ch-flash-resources.c:9:92: style: union member 'Anonymous0::ptr' is never used. [unusedStructMember] colorhug-client-0.2.8/src/ch-flash.c:82:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash.c:520:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CHECKSUM_SHA1 [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash.c:567:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUP_STATUS_OK [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash.c:611:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash.c:710:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUP_METHOD_GET [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash.c:1058:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUP_METHOD_GET [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash.c:1233:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash.c:1267:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CURRENT_TIME [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash.c:1402:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUP_SESSION_USER_AGENT [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash.c:1519:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OPTION_ARG_NONE [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash.c:933:15: warning: %i in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-flash.c:1479:2: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-flash.c:530:3: error: Memory leak: checksum_tmp [memleak] colorhug-client-0.2.8/src/ch-flash.c:755:3: error: Memory leak: split [memleak] colorhug-client-0.2.8/src/ch-flash.c:1353:3: error: Memory leak: string [memleak] colorhug-client-0.2.8/src/ch-flash.c:1380:3: error: Memory leak: string [memleak] colorhug-client-0.2.8/src/ch-flash.c:1391:3: error: Memory leak: string [memleak] colorhug-client-0.2.8/src/ch-flash.c:1408:3: error: Memory leak: string [memleak] colorhug-client-0.2.8/src/ch-flash.c:498:24: style: Variable 'checksum_tmp' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-flash.c:499:24: style: Variable 'message' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-flash.c:735:39: style: Parameter 'ver' can be declared as pointer to const [constParameterPointer] colorhug-client-0.2.8/src/ch-flash.c:930:24: style: Variable 'user_agent' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-flash.c:1467:38: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'ch_flash_ignore_cb' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] colorhug-client-0.2.8/src/ch-flash.c:1577:8: note: You might need to cast the function pointer here colorhug-client-0.2.8/src/ch-flash.c:1467:38: note: Parameter 'user_data' can be declared as pointer to const colorhug-client-0.2.8/src/ch-graph-widget.c:181:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-graph-widget.c:234:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_ptr_array_unref [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-graph-widget.c:281:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ch_graph_widget_parent_class [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-graph-widget.c:761:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-graph-widget.c:174:2: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] colorhug-client-0.2.8/src/ch-graph-widget.c:761:2: error: Memory leak: tmp [memleak] colorhug-client-0.2.8/src/ch-graph-widget.c:292:82: style:inconclusive: Function 'ch_graph_widget_assign' argument 3 names different: declaration 'array' definition 'data'. [funcArgNamesDifferent] colorhug-client-0.2.8/src/ch-graph-widget.h:81:21: note: Function 'ch_graph_widget_assign' argument 3 names different: declaration 'array' definition 'data'. colorhug-client-0.2.8/src/ch-graph-widget.c:292:82: note: Function 'ch_graph_widget_assign' argument 3 names different: declaration 'array' definition 'data'. colorhug-client-0.2.8/src/ch-graph-widget.c:88:83: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'up_graph_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] colorhug-client-0.2.8/src/ch-graph-widget.c:170:31: note: You might need to cast the function pointer here colorhug-client-0.2.8/src/ch-graph-widget.c:88:83: note: Parameter 'pspec' can be declared as pointer to const colorhug-client-0.2.8/src/ch-graph-widget.c:90:17: style: Variable 'graph' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-graph-widget.c:123:89: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'up_graph_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] colorhug-client-0.2.8/src/ch-graph-widget.c:171:31: note: You might need to cast the function pointer here colorhug-client-0.2.8/src/ch-graph-widget.c:123:89: note: Parameter 'pspec' can be declared as pointer to const colorhug-client-0.2.8/src/ch-graph-widget.c:292:82: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] colorhug-client-0.2.8/src/ch-graph-widget.c:610:14: style: Variable 'point' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-graph-widget.c:757:24: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-graph-widget.c:451:18: style: Variable 'offsetx' is assigned a value that is never used. [unreadVariable] colorhug-client-0.2.8/src/ch-graph-widget.c:452:18: style: Variable 'offsety' is assigned a value that is never used. [unreadVariable] colorhug-client-0.2.8/src/ch-main.c:1702:22: error: There is an unknown macro here somewhere. Configuration is required. If G_GUINT32_FORMAT is a macro then please configure it. [unknownMacro] colorhug-client-0.2.8/src/ch-markdown.c:785:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ch_markdown_parent_class [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-markdown.c:751:2: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] colorhug-client-0.2.8/src/ch-markdown.c:705:32: style:inconclusive: Function 'ch_markdown_parse' argument 1 names different: declaration 'self' definition 'markdown'. [funcArgNamesDifferent] colorhug-client-0.2.8/src/ch-markdown.h:53:43: note: Function 'ch_markdown_parse' argument 1 names different: declaration 'self' definition 'markdown'. colorhug-client-0.2.8/src/ch-markdown.c:705:32: note: Function 'ch_markdown_parse' argument 1 names different: declaration 'self' definition 'markdown'. colorhug-client-0.2.8/src/ch-markdown.c:273:9: style: Variable 'start' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-markdown.c:274:9: style: Variable 'middle' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-markdown.c:275:9: style: Variable 'end' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-markdown.c:318:55: style: Parameter 'markdown' can be declared as pointer to const [constParameterPointer] colorhug-client-0.2.8/src/ch-refresh-resources.c:9:68: style: union member 'Anonymous0::alignment' is never used. [unusedStructMember] colorhug-client-0.2.8/src/ch-refresh-resources.c:9:92: style: union member 'Anonymous0::ptr' is never used. [unusedStructMember] colorhug-client-0.2.8/src/ch-refresh-utils.c:135:4: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-refresh-utils.c:146:3: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-refresh-utils.c:205:4: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-refresh-utils.c:216:3: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-refresh-utils.c:267:4: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-refresh-utils.c:278:3: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-refresh-utils.c:332:4: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-refresh-utils.c:339:3: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-refresh-utils.c:339:3: warning: %i in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-refresh-utils.c:345:5: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-refresh-utils.c:376:24: style: Variable 'str' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh-utils.c:391:24: style: Variable 'str' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh-utils.c:406:24: style: Variable 'str' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh-utils.c:421:24: style: Variable 'str' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh-utils.c:436:24: style: Variable 'str' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh-utils.c:451:24: style: Variable 'str' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh-utils.c:466:24: style: Variable 'str' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh.c:83:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-refresh.c:354:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-refresh.c:532:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-refresh.c:996:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CD_IT8_KIND_TI3 [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-refresh.c:1147:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-refresh.c:1185:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_DEVICE_MODE_UNKNOWN [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-refresh.c:1456:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_DEVICE_MODE_FIRMWARE2 [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-refresh.c:1473:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_DEVICE_MODE_FIRMWARE2 [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-refresh.c:1495:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OPTION_ARG_NONE [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-refresh.c:1028:2: error: Memory leak: basename [memleak] colorhug-client-0.2.8/src/ch-refresh.c:1033:1: error: Memory leak: title [memleak] colorhug-client-0.2.8/src/ch-refresh.c:419:25: style: Variable 'str' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh.c:431:25: style: Variable 'str' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh.c:443:25: style: Variable 'str' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh.c:773:24: style: Variable 'usb_jitter_str' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh.c:804:31: style: Variable 'error' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh.c:1025:25: style: Variable 'basename' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh.c:1045:24: style: Variable 'svg_data' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh.c:1142:24: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh.c:773:24: style: Variable 'usb_jitter_str' is assigned a value that is never used. [unreadVariable] colorhug-client-0.2.8/src/ch-refresh.c:804:31: style: Variable 'error' is assigned a value that is never used. [unreadVariable] colorhug-client-0.2.8/src/ch-self-test.c:39:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-self-test.c:168:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-self-test.c:44:3: error: Memory leak: path [memleak] colorhug-client-0.2.8/src/ch-self-test.c:45:2: error: Memory leak: path [memleak] colorhug-client-0.2.8/src/ch-self-test.c:38:9: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-self-test.c:40:24: style: Variable 'path' can be declared as pointer to const [constVariablePointer] diff: head colorhug-client-0.2.8/src/ch-ccmx.c:1181:24: style: Variable 'location' can be declared as pointer to const [constVariablePointer] 2.17.0 colorhug-client-0.2.8/src/ch-ccmx.c:1299:14: warning: If memory allocation fails, then there is a possible null pointer dereference: lines [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-ccmx.c:1298:21: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-ccmx.c:1298:21: note: Assignment 'lines=g_strsplit(msg->response_body->data,"\n",-1)', assigned value is 0 colorhug-client-0.2.8/src/ch-ccmx.c:1299:14: note: Null pointer dereference head colorhug-client-0.2.8/src/ch-ccmx.c:1300:25: style: Variable 'filename_tmp' can be declared as pointer to const [constVariablePointer] 2.17.0 colorhug-client-0.2.8/src/ch-ccmx.c:1301:7: warning: If memory allocation fails, then there is a possible null pointer dereference: lines [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-ccmx.c:1298:21: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-ccmx.c:1298:21: note: Assignment 'lines=g_strsplit(msg->response_body->data,"\n",-1)', assigned value is 0 colorhug-client-0.2.8/src/ch-ccmx.c:1301:7: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-ccmx.c:1305:46: warning: If memory allocation fails, then there is a possible null pointer dereference: lines [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-ccmx.c:1298:21: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-ccmx.c:1298:21: note: Assignment 'lines=g_strsplit(msg->response_body->data,"\n",-1)', assigned value is 0 colorhug-client-0.2.8/src/ch-ccmx.c:1301:19: note: Assuming condition is false colorhug-client-0.2.8/src/ch-ccmx.c:1305:46: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-ccmx.c:209:25: warning: If memory allocation fails, then there is a possible null pointer dereference: filename [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-ccmx.c:367:35: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-ccmx.c:367:35: note: Assignment 'location_tmp=g_build_filename(location,tmp,NULL)', assigned value is 0 colorhug-client-0.2.8/src/ch-ccmx.c:368:38: note: Calling function 'ch_ccmx_add_local_file', 2nd argument 'location_tmp' value is 0 colorhug-client-0.2.8/src/ch-ccmx.c:209:25: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-flash-md.c:320:6: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-flash-md.c:318:23: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-flash-md.c:318:23: note: Assignment 'text_cpy=g_strndup(text,text_len)', assigned value is 0 colorhug-client-0.2.8/src/ch-flash-md.c:319:8: note: Assignment 'tmp=g_strchomp(g_strchug(text_cpy))', assigned value is 0 colorhug-client-0.2.8/src/ch-flash-md.c:320:6: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-flash.c:1370:26: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-flash.c:1346:24: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-flash.c:1346:24: note: Assignment 'string=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-flash.c:1351:13: note: Assuming condition is false colorhug-client-0.2.8/src/ch-flash.c:1370:26: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-flash.c:1371:39: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-flash.c:1346:24: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-flash.c:1346:24: note: Assignment 'string=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-flash.c:1351:13: note: Assuming condition is false colorhug-client-0.2.8/src/ch-flash.c:1371:39: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-graph-widget.c:760:24: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-graph-widget.c:759:18: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-graph-widget.c:759:18: note: Assignment 'tmp=g_strndup((const char*)data,length)', assigned value is 0 colorhug-client-0.2.8/src/ch-graph-widget.c:760:24: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-markdown.c:103:7: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-markdown.c:100:18: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-markdown.c:100:18: note: Assignment 'copy=g_strdup(line)', assigned value is 0 colorhug-client-0.2.8/src/ch-markdown.c:103:7: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-markdown.c:384:12: warning: If memory allocation fails, then there is a possible null pointer dereference: codes [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-markdown.c:382:21: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-markdown.c:382:21: note: Assignment 'codes=g_strsplit(line,"`",-1)', assigned value is 0 colorhug-client-0.2.8/src/ch-markdown.c:384:12: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-markdown.c:417:58: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-markdown.c:411:18: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-markdown.c:411:18: note: Assignment 'copy=g_strdup(line)', assigned value is 0 colorhug-client-0.2.8/src/ch-markdown.c:417:58: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-markdown.c:530:12: warning: If memory allocation fails, then there is a possible null pointer dereference: words [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-markdown.c:527:21: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-markdown.c:527:21: note: Assignment 'words=g_strsplit(text," ",-1)', assigned value is 0 colorhug-client-0.2.8/src/ch-markdown.c:530:12: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-markdown.c:531:33: warning: If memory allocation fails, then there is a possible null pointer dereference: words [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-markdown.c:527:21: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-markdown.c:527:21: note: Assignment 'words=g_strsplit(text," ",-1)', assigned value is 0 colorhug-client-0.2.8/src/ch-markdown.c:531:33: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-markdown.c:725:53: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: lines [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-markdown.c:720:21: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-markdown.c:720:21: note: Assignment 'lines=g_strsplit(text,"\n",-1)', assigned value is 0 colorhug-client-0.2.8/src/ch-markdown.c:725:53: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1027:64: warning: If memory allocation fails, then there is a possible null pointer dereference: basename [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1026:34: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1026:34: note: Assignment 'basename=g_path_get_basename(filename)', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1027:64: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1061:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1061:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1064:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1064:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1065:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1065:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1066:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1066:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1071:26: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1071:26: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1074:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1074:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1075:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1075:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1076:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1076:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1077:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1077:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1078:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1078:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1079:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1079:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1080:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1080:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1081:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1081:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1082:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1082:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1083:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1083:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1084:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1084:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1085:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1085:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1086:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1086:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1087:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1087:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1088:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1088:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1089:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1089:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1090:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1090:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1091:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1091:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1092:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1092:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1093:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1093:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1096:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1096:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1097:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1097:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1101:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1101:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1102:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1102:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1106:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1106:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1107:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1107:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1108:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1108:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1109:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1109:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1114:27: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1112:11: note: Assuming condition is false colorhug-client-0.2.8/src/ch-refresh.c:1114:27: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1121:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1112:11: note: Assuming condition is false colorhug-client-0.2.8/src/ch-refresh.c:1121:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1122:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1112:11: note: Assuming condition is false colorhug-client-0.2.8/src/ch-refresh.c:1122:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1125:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1112:11: note: Assuming condition is false colorhug-client-0.2.8/src/ch-refresh.c:1125:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1126:19: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1112:11: note: Assuming condition is false colorhug-client-0.2.8/src/ch-refresh.c:1126:19: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-refresh.c:1127:40: warning: If memory allocation fails, then there is a possible null pointer dereference: html [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-refresh.c:1060:22: note: Assignment 'html=g_string_new("")', assigned value is 0 colorhug-client-0.2.8/src/ch-refresh.c:1112:11: note: Assuming condition is false colorhug-client-0.2.8/src/ch-refresh.c:1127:40: note: Null pointer dereference 2.17.0 colorhug-client-0.2.8/src/ch-self-test.c:42:18: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] colorhug-client-0.2.8/src/ch-self-test.c:41:26: note: Assuming allocation function fails colorhug-client-0.2.8/src/ch-self-test.c:41:26: note: Assignment 'path=g_build_filename(TESTDATADIR,filename,NULL)', assigned value is 0 colorhug-client-0.2.8/src/ch-self-test.c:42:18: note: Null pointer dereference DONE