2025-07-02 18:05 ftp://ftp.de.debian.org/debian/pool/main/e/etherape/etherape_0.9.20.orig.tar.gz 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 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 90b0e14 (2025-07-02 15:41:51 +0200) count: 206 221 elapsed-time: 1.7 1.6 head-timing-info: old-timing-info: head results: etherape-0.9.20/src/capture/cap-util.c:45:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/cap-util.c:61:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/cap-util.c:78:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/common.h:134:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/appdata.c:43:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_LIVE [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/appdata.c:62:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_LIVE [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/appdata.c:79:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLADEDIR [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/callbacks.c:30:46: style: Parameter 'allocation' can be declared as pointer to const [constParameterPointer] etherape-0.9.20/src/callbacks.c:44:49: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] etherape-0.9.20/src/callbacks.c:45:54: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] etherape-0.9.20/src/callbacks.c:46:47: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] etherape-0.9.20/src/appdata.c:86:5: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] etherape-0.9.20/src/capture/capture.c:85:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capture.c:93:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capture.c:148:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capture.c:184:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capture.c:332:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capture.c:357:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capture.c:390:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capture.c:424:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capctl.c:77:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_LIVE [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capctl.c:131:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capctl.c:148:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capctl.c:173:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capctl.c:282:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capctl.c:296:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capctl.c:348:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capctl.c:410:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capctl.c:416:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capctl.c:445:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capctl.c:508:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capctl.c:522:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capctl.c:557:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capctl.c:638:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capctl.c:666:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capctl.c:688:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capctl.c:706:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capctl.c:760:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/capture/capctl.c:773:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/datastructs.c:245:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/export.c:44:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_FILE [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/export.c:73:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/export.c:50:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] etherape-0.9.20/src/export.c:98:22: style: Parameter 'ofile' can be declared as pointer to const [constParameterPointer] etherape-0.9.20/src/datastructs.c:382:17: portability: Non reentrant function 'getservent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservent_r'. [prohibitedgetserventCalled] etherape-0.9.20/src/capture/capctl.c:139:8: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] etherape-0.9.20/src/datastructs.c:280:5: warning: If memory allocation fails, then there is a possible null pointer dereference: compacted [nullPointerOutOfMemory] etherape-0.9.20/src/datastructs.c:276:21: note: Assuming allocation function fails etherape-0.9.20/src/datastructs.c:276:21: note: Assignment 'compacted=malloc(sizeof(char*)*(g_list_length(work)+1))', assigned value is 0 etherape-0.9.20/src/datastructs.c:280:5: note: Null pointer dereference etherape-0.9.20/src/datastructs.c:283:3: warning: If memory allocation fails, then there is a possible null pointer dereference: compacted [nullPointerOutOfMemory] etherape-0.9.20/src/datastructs.c:276:21: note: Assuming allocation function fails etherape-0.9.20/src/datastructs.c:276:21: note: Assignment 'compacted=malloc(sizeof(char*)*(g_list_length(work)+1))', assigned value is 0 etherape-0.9.20/src/datastructs.c:283:3: note: Null pointer dereference etherape-0.9.20/src/datastructs.c:319:74: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'services_port_cmp' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.20/src/datastructs.c:380:34: note: You might need to cast the function pointer here etherape-0.9.20/src/datastructs.c:319:74: note: Parameter 'unused' can be declared as pointer to const etherape-0.9.20/src/datastructs.c:334:74: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'services_name_cmp' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.20/src/datastructs.c:378:35: note: You might need to cast the function pointer here etherape-0.9.20/src/datastructs.c:334:74: note: Parameter 'unused' can be declared as pointer to const etherape-0.9.20/src/datastructs.c:345:58: style: Parameter 'value' can be declared as pointer to const. However it seems that 'services_port_trv' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.20/src/datastructs.c:397:32: note: You might need to cast the function pointer here etherape-0.9.20/src/datastructs.c:345:58: note: Parameter 'value' can be declared as pointer to const etherape-0.9.20/src/capture/capctl.c:634:7: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] etherape-0.9.20/src/capture/capctl.c:650:5: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] etherape-0.9.20/src/datastructs.c:299:13: style: Variable 'cur' is assigned a value that is never used. [unreadVariable] etherape-0.9.20/src/main.c:177:34: error: There is an unknown macro here somewhere. Configuration is required. If PIXMAPS_DIR is a macro then please configure it. [unknownMacro] etherape-0.9.20/src/names/dns.c:56:35: style:inconclusive: Function 'dns_lookup' argument 1 names different: declaration 'address' definition 'addr'. [funcArgNamesDifferent] etherape-0.9.20/src/names/dns.h:31:35: note: Function 'dns_lookup' argument 1 names different: declaration 'address' definition 'addr'. etherape-0.9.20/src/names/dns.c:56:35: note: Function 'dns_lookup' argument 1 names different: declaration 'address' definition 'addr'. etherape-0.9.20/src/names/ares_resolve.c:83:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/names/ares_resolve.c:98:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARES_LIB_INIT_ALL [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/names/eth_resolv.c:93:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/names/ares_resolve.c:123:79: style: Parameter 'hostent' can be declared as pointer to const. However it seems that 'rdns_ares_cb' is a callback function, if 'hostent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.20/src/names/ares_resolve.c:168:22: note: You might need to cast the function pointer here etherape-0.9.20/src/names/ares_resolve.c:123:79: note: Parameter 'hostent' can be declared as pointer to const etherape-0.9.20/src/names/ip-cache.c:117:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name_res [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/names/names_netbios.c:223:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDNAME [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/menus.c:104:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/menus.c:133:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/menus.c:175:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_LIVE [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/menus.c:346:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/menus.c:426:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_FILE [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/menus.c:590:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONS_OK [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/menus.c:599:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_FILE [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/names/thread_resolve.c:153:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/names/thread_resolve.c:206:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_DETACHED [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/names/names_netbios.c:190:62: style:inconclusive: Function 'process_netbios_name' argument 2 names different: declaration 'name_ret' definition 'outname'. [funcArgNamesDifferent] etherape-0.9.20/src/names/names_netbios.c:91:62: note: Function 'process_netbios_name' argument 2 names different: declaration 'name_ret' definition 'outname'. etherape-0.9.20/src/names/names_netbios.c:190:62: note: Function 'process_netbios_name' argument 2 names different: declaration 'name_ret' definition 'outname'. etherape-0.9.20/src/names/names_netbios.c:190:78: style:inconclusive: Function 'process_netbios_name' argument 3 names different: declaration 'maxname' definition 'outname_size'. [funcArgNamesDifferent] etherape-0.9.20/src/names/names_netbios.c:91:79: note: Function 'process_netbios_name' argument 3 names different: declaration 'maxname' definition 'outname_size'. etherape-0.9.20/src/names/names_netbios.c:190:78: note: Function 'process_netbios_name' argument 3 names different: declaration 'maxname' definition 'outname_size'. etherape-0.9.20/src/names/names.c:203:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node_id_t [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/names/names.c:274:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name_res [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/names/names.c:285:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINK6 [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/names/names.c:302:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_FDDI [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/names/names.c:337:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/names/names.c:350:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/names/names.c:370:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/names/names.c:403:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name_res [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/names/names.c:429:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/names/names.c:512:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDNAME [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/names/names.c:560:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDNAME [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/names/names.c:628:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node_name_id_compare [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/names/thread_resolve.c:112:9: style: Condition '!request_stop_thread' is always true [knownConditionTrueFalse] etherape-0.9.20/src/names/thread_resolve.c:109:10: note: Assuming that condition '!request_stop_thread' is not redundant etherape-0.9.20/src/names/thread_resolve.c:112:9: note: Condition '!request_stop_thread' is always true etherape-0.9.20/src/names/thread_resolve.c:262:3: warning: If memory allocation fails, then there is a possible null pointer dereference: newitm [nullPointerOutOfMemory] etherape-0.9.20/src/names/thread_resolve.c:261:66: note: Assuming allocation function fails etherape-0.9.20/src/names/thread_resolve.c:261:35: note: Assignment 'newitm=(struct ipresolve_link*)malloc(sizeof(struct ipresolve_link))', assigned value is 0 etherape-0.9.20/src/names/thread_resolve.c:262:3: note: Null pointer dereference etherape-0.9.20/src/names/thread_resolve.c:263:3: warning: If memory allocation fails, then there is a possible null pointer dereference: newitm [nullPointerOutOfMemory] etherape-0.9.20/src/names/thread_resolve.c:261:66: note: Assuming allocation function fails etherape-0.9.20/src/names/thread_resolve.c:261:35: note: Assignment 'newitm=(struct ipresolve_link*)malloc(sizeof(struct ipresolve_link))', assigned value is 0 etherape-0.9.20/src/names/thread_resolve.c:263:3: note: Null pointer dereference etherape-0.9.20/src/names/thread_resolve.c:307:38: style:inconclusive: Function 'thread_lookup' argument 1 names different: declaration 'address' definition 'ip'. [funcArgNamesDifferent] etherape-0.9.20/src/names/thread_resolve.h:27:38: note: Function 'thread_lookup' argument 1 names different: declaration 'address' definition 'ip'. etherape-0.9.20/src/names/thread_resolve.c:307:38: note: Function 'thread_lookup' argument 1 names different: declaration 'address' definition 'ip'. etherape-0.9.20/src/names/thread_resolve.c:103:20: style: Variable 'saptr' can be declared as pointer to const [constVariablePointer] etherape-0.9.20/src/names/thread_resolve.c:250:44: style: Parameter 'ip' can be declared as pointer to const [constParameterPointer] etherape-0.9.20/src/menus.c:499:5: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] etherape-0.9.20/src/menus.c:554:5: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] etherape-0.9.20/src/menus.c:187:10: style: Variable 'filter' can be declared as pointer to const [constVariablePointer] etherape-0.9.20/src/menus.c:262:48: style: Parameter 'menuitem' can be declared as pointer to const [constParameterPointer] etherape-0.9.20/src/menus.c:262:67: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] etherape-0.9.20/src/menus.c:396:10: style: Variable 'errorbuf' can be declared as pointer to const [constVariablePointer] etherape-0.9.20/src/diagram.c:282:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/diagram.c:617:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_FILE [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/diagram.c:651:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GOO_CANVAS_ANCHOR_NORTH_WEST [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/diagram.c:956:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GOO_CANVAS_ANCHOR_CENTER [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/diagram.c:1095:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/diagram.c:1776:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/node_windows.c:54:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/node_windows.c:407:14: style: Local variable 'nodes_check' shadows outer variable [shadowVariable] etherape-0.9.20/src/node_windows.c:43:26: note: Shadowed declaration etherape-0.9.20/src/node_windows.c:407:14: note: Shadow variable etherape-0.9.20/src/node_windows.c:312:60: style: Parameter 'value' can be declared as pointer to const. However it seems that 'nodes_table_iterate' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.20/src/node_windows.c:375:25: note: You might need to cast the function pointer here etherape-0.9.20/src/node_windows.c:312:60: note: Parameter 'value' can be declared as pointer to const etherape-0.9.20/src/node_windows.c:391:47: style: Parameter 'wdg' can be declared as pointer to const [constParameterPointer] etherape-0.9.20/src/node_windows.c:391:62: style: Parameter 'evt' can be declared as pointer to const [constParameterPointer] etherape-0.9.20/src/node_windows.c:391:76: style: Parameter 'ud' can be declared as pointer to const [constParameterPointer] etherape-0.9.20/src/info_windows.c:119:5: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] etherape-0.9.20/src/info_windows.c:802:5: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] etherape-0.9.20/src/info_windows.c:622:62: style:inconclusive: Function 'on_delete_protocol_window' argument 2 names different: declaration 'e' definition 'evt'. [funcArgNamesDifferent] etherape-0.9.20/src/info_windows.h:37:62: note: Function 'on_delete_protocol_window' argument 2 names different: declaration 'e' definition 'evt'. etherape-0.9.20/src/info_windows.c:622:62: note: Function 'on_delete_protocol_window' argument 2 names different: declaration 'e' definition 'evt'. etherape-0.9.20/src/info_windows.c:652:75: style:inconclusive: Function 'on_prot_list_select_row' argument 3 names different: declaration 'ud' definition 'user_data'. [funcArgNamesDifferent] etherape-0.9.20/src/info_windows.h:36:43: note: Function 'on_prot_list_select_row' argument 3 names different: declaration 'ud' definition 'user_data'. etherape-0.9.20/src/info_windows.c:652:75: note: Function 'on_prot_list_select_row' argument 3 names different: declaration 'ud' definition 'user_data'. etherape-0.9.20/src/info_windows.c:920:53: style:inconclusive: Function 'update_node_protocols_window' argument 1 names different: declaration 'node_window' definition 'window'. [funcArgNamesDifferent] etherape-0.9.20/src/info_windows.c:82:53: note: Function 'update_node_protocols_window' argument 1 names different: declaration 'node_window' definition 'window'. etherape-0.9.20/src/info_windows.c:920:53: note: Function 'update_node_protocols_window' argument 1 names different: declaration 'node_window' definition 'window'. etherape-0.9.20/src/info_windows.c:622:47: style: Parameter 'wdg' can be declared as pointer to const [constParameterPointer] etherape-0.9.20/src/info_windows.c:622:62: style: Parameter 'evt' can be declared as pointer to const [constParameterPointer] etherape-0.9.20/src/info_windows.c:622:76: style: Parameter 'ud' can be declared as pointer to const [constParameterPointer] etherape-0.9.20/src/preferences.c:364:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/pref_dialog.c:144:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/basic_stats.c:137:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable total_mem_packets [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/basic_stats.c:160:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/basic_stats.c:184:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/basic_stats.c:239:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/preferences.c:279:7: error: Memory leak: gkey [memleak] etherape-0.9.20/src/preferences.c:387:38: style:inconclusive: Function 'free_config' argument 1 names different: declaration 't' definition 'p'. [funcArgNamesDifferent] etherape-0.9.20/src/preferences.h:102:38: note: Function 'free_config' argument 1 names different: declaration 't' definition 'p'. etherape-0.9.20/src/preferences.c:387:38: note: Function 'free_config' argument 1 names different: declaration 't' definition 'p'. etherape-0.9.20/src/stats/conversations.c:125:10: style: Variable 'item' can be declared as pointer to const [constVariablePointer] etherape-0.9.20/src/names/names.c:535:19: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] etherape-0.9.20/src/names/names.c:590:19: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] etherape-0.9.20/src/names/names.c:609:35: style:inconclusive: Function 'add_name' argument 1 names different: declaration 'numeric' definition 'numeric_name'. [funcArgNamesDifferent] etherape-0.9.20/src/names/names.c:117:35: note: Function 'add_name' argument 1 names different: declaration 'numeric' definition 'numeric_name'. etherape-0.9.20/src/names/names.c:609:35: note: Function 'add_name' argument 1 names different: declaration 'numeric' definition 'numeric_name'. etherape-0.9.20/src/names/names.c:609:62: style:inconclusive: Function 'add_name' argument 2 names different: declaration 'resolved' definition 'resolved_name'. [funcArgNamesDifferent] etherape-0.9.20/src/names/names.c:117:57: note: Function 'add_name' argument 2 names different: declaration 'resolved' definition 'resolved_name'. etherape-0.9.20/src/names/names.c:609:62: note: Function 'add_name' argument 2 names different: declaration 'resolved' definition 'resolved_name'. etherape-0.9.20/src/names/names.c:268:38: style: Parameter 'nt' can be declared as pointer to const [constParameterPointer] etherape-0.9.20/src/names/names.c:394:38: style: Parameter 'nt' can be declared as pointer to const [constParameterPointer] etherape-0.9.20/src/names/names.c:613:10: style: Variable 'name_item' can be declared as pointer to const [constVariablePointer] etherape-0.9.20/src/pref_dialog.c:86:17: style: Variable 'model' can be declared as pointer to const [constVariablePointer] etherape-0.9.20/src/pref_dialog.c:361:43: style: Parameter 'button' can be declared as pointer to const [constParameterPointer] etherape-0.9.20/src/pref_dialog.c:361:60: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] etherape-0.9.20/src/names/names.c:583:9: style: Variable 'len' is assigned a value that is never used. [unreadVariable] etherape-0.9.20/src/stats/links.c:212:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable proto_link_timeout_time [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/links.c:280:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_ENABLED [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/links.c:161:17: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] etherape-0.9.20/src/stats/links.c:379:54: style: Parameter 'value' can be declared as pointer to const. However it seems that 'link_dump_tvs' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.20/src/stats/links.c:399:25: note: You might need to cast the function pointer here etherape-0.9.20/src/stats/links.c:379:54: note: Parameter 'value' can be declared as pointer to const etherape-0.9.20/src/stats/node_id.c:35:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APEMODE_DEFAULT [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/node_id.c:237:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_ENABLED [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/node_id.c:40:39: style:inconclusive: Function 'node_id_compare' argument 1 names different: declaration 'a' definition 'na'. [funcArgNamesDifferent] etherape-0.9.20/src/stats/node_id.h:38:39: note: Function 'node_id_compare' argument 1 names different: declaration 'a' definition 'na'. etherape-0.9.20/src/stats/node_id.c:40:39: note: Function 'node_id_compare' argument 1 names different: declaration 'a' definition 'na'. etherape-0.9.20/src/stats/node_id.c:40:60: style:inconclusive: Function 'node_id_compare' argument 2 names different: declaration 'b' definition 'nb'. [funcArgNamesDifferent] etherape-0.9.20/src/stats/node_id.h:38:59: note: Function 'node_id_compare' argument 2 names different: declaration 'b' definition 'nb'. etherape-0.9.20/src/stats/node_id.c:40:60: note: Function 'node_id_compare' argument 2 names different: declaration 'b' definition 'nb'. etherape-0.9.20/src/stats/traffic_stats.c:119:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/traffic_stats.c:134:5: warning: Return value of function g_queue_pop_tail() is not used. [ignoredReturnValue] etherape-0.9.20/src/stats/traffic_stats.c:164:65: style:inconclusive: Function 'traffic_stats_update' argument 2 names different: declaration 'pkt_expire_time' definition 'avg_time'. [funcArgNamesDifferent] etherape-0.9.20/src/stats/traffic_stats.h:42:65: note: Function 'traffic_stats_update' argument 2 names different: declaration 'pkt_expire_time' definition 'avg_time'. etherape-0.9.20/src/stats/traffic_stats.c:164:65: note: Function 'traffic_stats_update' argument 2 names different: declaration 'pkt_expire_time' definition 'avg_time'. etherape-0.9.20/src/diagram.c:1648:18: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] etherape-0.9.20/src/diagram.c:1694:18: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] etherape-0.9.20/src/stats/node.c:106:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFO_ENABLED [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/node.c:130:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFO_ENABLED [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/node.c:224:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable proto_node_timeout_time [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/node.c:279:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/node.c:301:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_ENABLED [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/node.c:623:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/node.c:706:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NS_HOSTNAME [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/node.c:742:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NS_HOSTNAME [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/diagram.c:1489:12: style: Variable 'sig_id' is reassigned a value before the old one has been used. [redundantAssignment] etherape-0.9.20/src/diagram.c:1484:12: note: sig_id is assigned etherape-0.9.20/src/diagram.c:1489:12: note: sig_id is overwritten etherape-0.9.20/src/diagram.c:243:30: style:inconclusive: Function 'ask_reposition' argument 1 names different: declaration 'refresh_font' definition 'r_font'. [funcArgNamesDifferent] etherape-0.9.20/src/diagram.h:36:30: note: Function 'ask_reposition' argument 1 names different: declaration 'refresh_font' definition 'r_font'. etherape-0.9.20/src/diagram.c:243:30: note: Function 'ask_reposition' argument 1 names different: declaration 'refresh_font' definition 'r_font'. etherape-0.9.20/src/diagram.c:495:47: style:inconclusive: Function 'canvas_node_delete' argument 1 names different: declaration 'cn' definition 'canvas_node'. [funcArgNamesDifferent] etherape-0.9.20/src/diagram.c:70:47: note: Function 'canvas_node_delete' argument 1 names different: declaration 'cn' definition 'canvas_node'. etherape-0.9.20/src/diagram.c:495:47: note: Function 'canvas_node_delete' argument 1 names different: declaration 'cn' definition 'canvas_node'. etherape-0.9.20/src/diagram.c:996:43: style:inconclusive: Function 'canvas_node_update' argument 1 names different: declaration 'ether_addr' definition 'node_id'. [funcArgNamesDifferent] etherape-0.9.20/src/diagram.c:71:44: note: Function 'canvas_node_update' argument 1 names different: declaration 'ether_addr' definition 'node_id'. etherape-0.9.20/src/diagram.c:996:43: note: Function 'canvas_node_update' argument 1 names different: declaration 'ether_addr' definition 'node_id'. etherape-0.9.20/src/diagram.c:1159:65: style:inconclusive: Function 'add_ordered_node' argument 2 names different: declaration 'canvas_node' definition 'node'. [funcArgNamesDifferent] etherape-0.9.20/src/diagram.c:180:45: note: Function 'add_ordered_node' argument 2 names different: declaration 'canvas_node' definition 'node'. etherape-0.9.20/src/diagram.c:1159:65: note: Function 'add_ordered_node' argument 2 names different: declaration 'canvas_node' definition 'node'. etherape-0.9.20/src/diagram.c:1281:61: style:inconclusive: Function 'reposition_canvas_nodes_prep' argument 3 names different: declaration 'data' definition 'rdata'. [funcArgNamesDifferent] etherape-0.9.20/src/diagram.c:190:61: note: Function 'reposition_canvas_nodes_prep' argument 3 names different: declaration 'data' definition 'rdata'. etherape-0.9.20/src/diagram.c:1281:61: note: Function 'reposition_canvas_nodes_prep' argument 3 names different: declaration 'data' definition 'rdata'. etherape-0.9.20/src/diagram.c:1596:52: style:inconclusive: Function 'draw_oneside_link' argument 5 names different: declaration 'link_data' definition 'link_stats'. [funcArgNamesDifferent] etherape-0.9.20/src/diagram.c:209:52: note: Function 'draw_oneside_link' argument 5 names different: declaration 'link_data' definition 'link_stats'. etherape-0.9.20/src/diagram.c:1596:52: note: Function 'draw_oneside_link' argument 5 names different: declaration 'link_data' definition 'link_stats'. etherape-0.9.20/src/diagram.c:271:40: style: Parameter 'data' can be declared as pointer to const. However it seems that 'finalize_callback' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.20/src/diagram.c:284:28: note: You might need to cast the function pointer here etherape-0.9.20/src/diagram.c:271:40: note: Parameter 'data' can be declared as pointer to const etherape-0.9.20/src/diagram.c:271:55: style: Parameter 'obj' can be declared as pointer to const. However it seems that 'finalize_callback' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.20/src/diagram.c:284:28: note: You might need to cast the function pointer here etherape-0.9.20/src/diagram.c:271:55: note: Parameter 'obj' can be declared as pointer to const etherape-0.9.20/src/diagram.c:1254:39: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] etherape-0.9.20/src/diagram.c:1709:49: style: Parameter 'event' can be declared as pointer to const. However it seems that 'link_item_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.20/src/diagram.c:1494:14: note: You might need to cast the function pointer here etherape-0.9.20/src/diagram.c:1709:49: note: Parameter 'event' can be declared as pointer to const etherape-0.9.20/src/diagram.c:1753:45: style: Parameter 'event' can be declared as pointer to const. However it seems that 'node_item_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.20/src/diagram.c:969:14: note: You might need to cast the function pointer here etherape-0.9.20/src/diagram.c:1753:45: note: Parameter 'event' can be declared as pointer to const etherape-0.9.20/src/diagram.c:1791:71: style: Parameter 'event' can be declared as pointer to const. However it seems that 'pcap_stats_text_item_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.20/src/diagram.c:371:12: note: You might need to cast the function pointer here etherape-0.9.20/src/diagram.c:1791:71: note: Parameter 'event' can be declared as pointer to const etherape-0.9.20/src/ui_utils.c:146:11: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] etherape-0.9.20/src/ui_utils.c:42:33: style:inconclusive: Function 'update_gtklabel' argument 1 names different: declaration 'wnd' definition 'window'. [funcArgNamesDifferent] etherape-0.9.20/src/ui_utils.h:42:33: note: Function 'update_gtklabel' argument 1 names different: declaration 'wnd' definition 'window'. etherape-0.9.20/src/ui_utils.c:42:33: note: Function 'update_gtklabel' argument 1 names different: declaration 'wnd' definition 'window'. etherape-0.9.20/src/ui_utils.c:53:29: style:inconclusive: Function 'show_widget' argument 1 names different: declaration 'wnd' definition 'window'. [funcArgNamesDifferent] etherape-0.9.20/src/ui_utils.h:45:29: note: Function 'show_widget' argument 1 names different: declaration 'wnd' definition 'window'. etherape-0.9.20/src/ui_utils.c:53:29: note: Function 'show_widget' argument 1 names different: declaration 'wnd' definition 'window'. etherape-0.9.20/src/ui_utils.c:58:29: style:inconclusive: Function 'hide_widget' argument 1 names different: declaration 'wnd' definition 'window'. [funcArgNamesDifferent] etherape-0.9.20/src/ui_utils.h:46:29: note: Function 'hide_widget' argument 1 names different: declaration 'wnd' definition 'window'. etherape-0.9.20/src/ui_utils.c:58:29: note: Function 'hide_widget' argument 1 names different: declaration 'wnd' definition 'window'. etherape-0.9.20/src/stats/util.c:282:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/util.c:310:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/decode_proto.c:265:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/decode_proto.c:375:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_LOOP [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/decode_proto.c:408:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_ENABLED [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/decode_proto.c:982:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/decode_proto.c:1249:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/decode_proto.c:1336:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/protocols.c:56:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/protocols.c:197:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/protocols.c:263:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/protocols.c:536:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable proto_timeout_time [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/protocols.c:611:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable averaging_time [valueFlowBailoutIncompleteVar] etherape-0.9.20/src/stats/protocols.c:303:11: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] etherape-0.9.20/src/stats/protocols.c:346:40: warning: Possible null pointer dereference: msg_level [nullPointer] etherape-0.9.20/src/stats/protocols.c:328:17: note: Assignment 'msg_level=NULL', assigned value is 0 etherape-0.9.20/src/stats/protocols.c:329:12: note: Assuming condition is false etherape-0.9.20/src/stats/protocols.c:346:40: note: Null pointer dereference etherape-0.9.20/src/stats/protocols.c:161:53: style:inconclusive: Function 'protocol_stack_avg' argument 2 names different: declaration 'avg_usecs' definition 'avgtime'. [funcArgNamesDifferent] etherape-0.9.20/src/stats/protocols.h:57:53: note: Function 'protocol_stack_avg' argument 2 names different: declaration 'avg_usecs' definition 'avgtime'. etherape-0.9.20/src/stats/protocols.c:161:53: note: Function 'protocol_stack_avg' argument 2 names different: declaration 'avg_usecs' definition 'avgtime'. etherape-0.9.20/src/stats/protocols.c:257:15: style: Variable 'protocol' can be declared as pointer to const [constVariablePointer] etherape-0.9.20/src/stats/protocols.c:594:65: style: Parameter 'value' can be declared as pointer to const. However it seems that 'protosum_accumulate_link' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.20/src/stats/protocols.c:609:25: note: You might need to cast the function pointer here etherape-0.9.20/src/stats/protocols.c:594:65: note: Parameter 'value' can be declared as pointer to const etherape-0.9.20/src/stats/node.c:167:17: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] etherape-0.9.20/src/stats/node.c:661:45: style:inconclusive: Function 'parse_nodeset_spec_list' argument 1 names different: declaration 's' definition 'orig_s'. [funcArgNamesDifferent] etherape-0.9.20/src/stats/node.h:81:45: note: Function 'parse_nodeset_spec_list' argument 1 names different: declaration 's' definition 'orig_s'. etherape-0.9.20/src/stats/node.c:661:45: note: Function 'parse_nodeset_spec_list' argument 1 names different: declaration 's' definition 'orig_s'. etherape-0.9.20/src/stats/node.c:546:54: style: Parameter 'value' can be declared as pointer to const. However it seems that 'node_dump_tvs' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.20/src/stats/node.c:566:25: note: You might need to cast the function pointer here etherape-0.9.20/src/stats/node.c:546:54: note: Parameter 'value' can be declared as pointer to const etherape-0.9.20/src/stats/node.c:605:10: style: Variable 'pfxlen_str' can be declared as pointer to const [constVariablePointer] etherape-0.9.20/src/stats/decode_proto.c:1584:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] etherape-0.9.20/src/stats/decode_proto.c:1587:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] etherape-0.9.20/src/stats/decode_proto.c:1591:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] etherape-0.9.20/src/stats/decode_proto.c:1597:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] etherape-0.9.20/src/stats/decode_proto.c:1593:16: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] etherape-0.9.20/src/stats/decode_proto.c:1599:16: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] etherape-0.9.20/src/stats/decode_proto.c:248:30: style:inconclusive: Function 'packet_acquired' argument 1 names different: declaration 'packet' definition 'cap_bytes'. [funcArgNamesDifferent] etherape-0.9.20/src/stats/decode_proto.h:27:30: note: Function 'packet_acquired' argument 1 names different: declaration 'packet' definition 'cap_bytes'. etherape-0.9.20/src/stats/decode_proto.c:248:30: note: Function 'packet_acquired' argument 1 names different: declaration 'packet' definition 'cap_bytes'. etherape-0.9.20/src/stats/decode_proto.c:248:47: style:inconclusive: Function 'packet_acquired' argument 2 names different: declaration 'raw_size' definition 'cap_size'. [funcArgNamesDifferent] etherape-0.9.20/src/stats/decode_proto.h:27:44: note: Function 'packet_acquired' argument 2 names different: declaration 'raw_size' definition 'cap_size'. etherape-0.9.20/src/stats/decode_proto.c:248:47: note: Function 'packet_acquired' argument 2 names different: declaration 'raw_size' definition 'cap_size'. etherape-0.9.20/src/stats/decode_proto.c:248:63: style:inconclusive: Function 'packet_acquired' argument 3 names different: declaration 'pkt_size' definition 'orig_size'. [funcArgNamesDifferent] etherape-0.9.20/src/stats/decode_proto.h:27:60: note: Function 'packet_acquired' argument 3 names different: declaration 'pkt_size' definition 'orig_size'. etherape-0.9.20/src/stats/decode_proto.c:248:63: note: Function 'packet_acquired' argument 3 names different: declaration 'pkt_size' definition 'orig_size'. diff: 2.17.0 etherape-0.9.20/src/capture/capture.c:127:3: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] etherape-0.9.20/src/capture/capture.c:125:22: note: Assuming allocation function fails etherape-0.9.20/src/capture/capture.c:125:22: note: Assignment 'str=xmalloc(len+1)', assigned value is 0 etherape-0.9.20/src/capture/capture.c:127:3: note: Null pointer dereference 2.17.0 etherape-0.9.20/src/diagram.c:1157:1: error: Memory leak: ordered_nodes [memleak] 2.17.0 etherape-0.9.20/src/menus.c:524:21: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: status_string [nullPointerOutOfMemory] etherape-0.9.20/src/menus.c:522:31: note: Assuming allocation function fails etherape-0.9.20/src/menus.c:522:31: note: Assignment 'status_string=g_string_new("")', assigned value is 0 etherape-0.9.20/src/menus.c:524:21: note: Null pointer dereference 2.17.0 etherape-0.9.20/src/menus.c:576:21: warning: If memory allocation fails, then there is a possible null pointer dereference: status_string [nullPointerOutOfMemory] etherape-0.9.20/src/menus.c:567:31: note: Assuming allocation function fails etherape-0.9.20/src/menus.c:567:31: note: Assignment 'status_string=g_string_new(((char*)g_dgettext(NULL,"Ready to capture from ")))', assigned value is 0 etherape-0.9.20/src/menus.c:576:21: note: Null pointer dereference 2.17.0 etherape-0.9.20/src/menus.c:80:21: warning: If memory allocation fails, then there is a possible null pointer dereference: info_string [nullPointerOutOfMemory] etherape-0.9.20/src/menus.c:62:29: note: Assuming allocation function fails etherape-0.9.20/src/menus.c:62:29: note: Assignment 'info_string=g_string_new(((char*)g_dgettext(NULL,"Available interfaces for capture:")))', assigned value is 0 etherape-0.9.20/src/menus.c:80:21: note: Null pointer dereference 2.17.0 etherape-0.9.20/src/menus.c:81:21: warning: If memory allocation fails, then there is a possible null pointer dereference: info_string [nullPointerOutOfMemory] etherape-0.9.20/src/menus.c:62:29: note: Assuming allocation function fails etherape-0.9.20/src/menus.c:62:29: note: Assignment 'info_string=g_string_new(((char*)g_dgettext(NULL,"Available interfaces for capture:")))', assigned value is 0 etherape-0.9.20/src/menus.c:81:21: note: Null pointer dereference 2.17.0 etherape-0.9.20/src/names/eth_resolv.c:134:3: error: Memory leak: ent [memleak] 2.17.0 etherape-0.9.20/src/names/eth_resolv.c:61:1: error: Memory leak: ent [memleak] 2.17.0 etherape-0.9.20/src/pref_dialog.c:710:28: warning: If memory allocation fails, then there is a possible null pointer dereference: colors_protocols [nullPointerOutOfMemory] etherape-0.9.20/src/pref_dialog.c:707:34: note: Assuming allocation function fails etherape-0.9.20/src/pref_dialog.c:707:34: note: Assignment 'colors_protocols=g_strsplit(pref.colors[i],";",0)', assigned value is 0 etherape-0.9.20/src/pref_dialog.c:710:28: note: Null pointer dereference 2.17.0 etherape-0.9.20/src/pref_dialog.c:713:10: warning: If memory allocation fails, then there is a possible null pointer dereference: colors_protocols [nullPointerOutOfMemory] etherape-0.9.20/src/pref_dialog.c:707:34: note: Assuming allocation function fails etherape-0.9.20/src/pref_dialog.c:707:34: note: Assignment 'colors_protocols=g_strsplit(pref.colors[i],";",0)', assigned value is 0 etherape-0.9.20/src/pref_dialog.c:713:10: note: Null pointer dereference 2.17.0 etherape-0.9.20/src/stats/links.c:161:47: warning: If memory allocation fails, then there is a possible null pointer dereference: msg_mprot [nullPointerOutOfMemory] etherape-0.9.20/src/stats/links.c:155:30: note: Assuming allocation function fails etherape-0.9.20/src/stats/links.c:155:30: note: Assignment 'msg_mprot=g_strdup_printf("top: [%s], stack:",(main_prot)?main_prot:"-none-")', assigned value is 0 etherape-0.9.20/src/stats/links.c:161:47: note: Null pointer dereference 2.17.0 etherape-0.9.20/src/stats/node.c:167:47: warning: If memory allocation fails, then there is a possible null pointer dereference: msg_mprot [nullPointerOutOfMemory] etherape-0.9.20/src/stats/node.c:161:30: note: Assuming allocation function fails etherape-0.9.20/src/stats/node.c:161:30: note: Assignment 'msg_mprot=g_strdup_printf("top: [%s], stack:",(main_prot)?main_prot:"-none-")', assigned value is 0 etherape-0.9.20/src/stats/node.c:167:47: note: Null pointer dereference 2.17.0 etherape-0.9.20/src/stats/node.c:611:18: warning: If memory allocation fails, then there is a possible null pointer dereference: specstr [nullPointerOutOfMemory] etherape-0.9.20/src/stats/node.c:608:28: note: Assuming allocation function fails etherape-0.9.20/src/stats/node.c:608:28: note: Assignment 'specstr=g_strdup(orig_specstr)', assigned value is 0 etherape-0.9.20/src/stats/node.c:611:18: note: Null pointer dereference 2.17.0 etherape-0.9.20/src/stats/node.c:671:11: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] etherape-0.9.20/src/stats/node.c:664:22: note: Assuming allocation function fails etherape-0.9.20/src/stats/node.c:664:22: note: Assignment 's=g_strdup(orig_s)', assigned value is 0 etherape-0.9.20/src/stats/node.c:665:14: note: Assignment 'p=s', assigned value is 0 etherape-0.9.20/src/stats/node.c:671:11: note: Null pointer dereference 2.17.0 etherape-0.9.20/src/stats/protocols.c:303:57: warning: If memory allocation fails, then there is a possible null pointer dereference: msg_level [nullPointerOutOfMemory] etherape-0.9.20/src/stats/protocols.c:281:27: note: Assuming allocation function fails etherape-0.9.20/src/stats/protocols.c:281:27: note: Assignment 'msg_level=g_strdup("-none-")', assigned value is 0 etherape-0.9.20/src/stats/protocols.c:303:57: note: Null pointer dereference 2.17.0 etherape-0.9.20/src/stats/protocols.c:428:48: warning: If memory allocation fails, then there is a possible null pointer dereference: msg_names [nullPointerOutOfMemory] etherape-0.9.20/src/stats/protocols.c:403:25: note: Assuming allocation function fails etherape-0.9.20/src/stats/protocols.c:403:25: note: Assignment 'msg_names=g_strdup("-- no names --")', assigned value is 0 etherape-0.9.20/src/stats/protocols.c:428:48: note: Null pointer dereference head etherape-0.9.20/src/stats/traffic_stats.c:134:5: warning: Return value of function g_queue_pop_tail() is not used. [ignoredReturnValue] DONE