Task #91463 - added.err

back to task #91463
download
Error: GCC_ANALYZER_WARNING (CWE-457):
libpcap-1.10.6/nametoaddr.c:941:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sep’
libpcap-1.10.6/nametoaddr.c:879:1: enter_function: entry to ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:909:42: call_function: inlined call to ‘pcapint_xdtoi’ from ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:915:28: branch_false: following ‘false’ branch...
libpcap-1.10.6/nametoaddr.c:920:29: branch_false: ...to here
libpcap-1.10.6/nametoaddr.c:921:56: call_function: inlined call to ‘pcapint_xdtoi’ from ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:941:28: danger: use of uninitialized value ‘sep’ here
#  939|   			goto reject;
#  940|   		case BYTE1_X:
#  941|-> 			if (*s == sep) {
#  942|   				fsm_state = BYTE1_SEP_BYTE2;
#  943|   				break;

Error: GCC_ANALYZER_WARNING (CWE-457):
libpcap-1.10.6/nametoaddr.c:952:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sep’
libpcap-1.10.6/nametoaddr.c:879:1: enter_function: entry to ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:909:42: call_function: inlined call to ‘pcapint_xdtoi’ from ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:915:28: branch_false: following ‘false’ branch...
libpcap-1.10.6/nametoaddr.c:920:29: branch_false: ...to here
libpcap-1.10.6/nametoaddr.c:921:56: call_function: inlined call to ‘pcapint_xdtoi’ from ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:952:28: danger: use of uninitialized value ‘sep’ here
#  950|   			goto reject;
#  951|   		case BYTE1_XX:
#  952|-> 			if (*s == sep) {
#  953|   				fsm_state = BYTE1_SEP_BYTE2;
#  954|   				break;

Error: GCC_ANALYZER_WARNING (CWE-457):
libpcap-1.10.6/nametoaddr.c:965:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sep’
libpcap-1.10.6/nametoaddr.c:879:1: enter_function: entry to ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:909:42: call_function: inlined call to ‘pcapint_xdtoi’ from ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:915:28: branch_false: following ‘false’ branch...
libpcap-1.10.6/nametoaddr.c:920:29: branch_false: ...to here
libpcap-1.10.6/nametoaddr.c:921:56: call_function: inlined call to ‘pcapint_xdtoi’ from ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:965:28: danger: use of uninitialized value ‘sep’ here
#  963|   			goto reject;
#  964|   		case BYTE2_X:
#  965|-> 			if (*s == sep) {
#  966|   				fsm_state = BYTE2_SEP_BYTE3;
#  967|   				break;

Error: GCC_ANALYZER_WARNING (CWE-457):
libpcap-1.10.6/nametoaddr.c:976:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sep’
libpcap-1.10.6/nametoaddr.c:879:1: enter_function: entry to ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:909:42: call_function: inlined call to ‘pcapint_xdtoi’ from ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:915:28: branch_false: following ‘false’ branch...
libpcap-1.10.6/nametoaddr.c:920:29: branch_false: ...to here
libpcap-1.10.6/nametoaddr.c:921:56: call_function: inlined call to ‘pcapint_xdtoi’ from ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:976:28: danger: use of uninitialized value ‘sep’ here
#  974|   			goto reject;
#  975|   		case BYTE2_XX:
#  976|-> 			if (*s == sep) {
#  977|   				fsm_state = BYTE2_SEP_BYTE3;
#  978|   				break;

Error: GCC_ANALYZER_WARNING (CWE-457):
libpcap-1.10.6/nametoaddr.c:989:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sep’
libpcap-1.10.6/nametoaddr.c:879:1: enter_function: entry to ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:909:42: call_function: inlined call to ‘pcapint_xdtoi’ from ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:915:28: branch_false: following ‘false’ branch...
libpcap-1.10.6/nametoaddr.c:920:29: branch_false: ...to here
libpcap-1.10.6/nametoaddr.c:921:56: call_function: inlined call to ‘pcapint_xdtoi’ from ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:989:28: danger: use of uninitialized value ‘sep’ here
#  987|   			goto reject;
#  988|   		case BYTE3_X:
#  989|-> 			if (*s == sep) {
#  990|   				fsm_state = BYTE3_SEP_BYTE4;
#  991|   				break;

Error: GCC_ANALYZER_WARNING (CWE-457):
libpcap-1.10.6/nametoaddr.c:1000:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sep’
libpcap-1.10.6/nametoaddr.c:879:1: enter_function: entry to ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:909:42: call_function: inlined call to ‘pcapint_xdtoi’ from ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:915:28: branch_false: following ‘false’ branch...
libpcap-1.10.6/nametoaddr.c:920:29: branch_false: ...to here
libpcap-1.10.6/nametoaddr.c:921:56: call_function: inlined call to ‘pcapint_xdtoi’ from ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:1000:28: danger: use of uninitialized value ‘sep’ here
#  998|   			goto reject;
#  999|   		case BYTE3_XX:
# 1000|-> 			if (*s == sep) {
# 1001|   				fsm_state = BYTE3_SEP_BYTE4;
# 1002|   				break;

Error: GCC_ANALYZER_WARNING (CWE-457):
libpcap-1.10.6/nametoaddr.c:1013:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sep’
libpcap-1.10.6/nametoaddr.c:879:1: enter_function: entry to ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:909:42: call_function: inlined call to ‘pcapint_xdtoi’ from ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:915:28: branch_false: following ‘false’ branch...
libpcap-1.10.6/nametoaddr.c:920:29: branch_false: ...to here
libpcap-1.10.6/nametoaddr.c:921:56: call_function: inlined call to ‘pcapint_xdtoi’ from ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:1013:28: danger: use of uninitialized value ‘sep’ here
# 1011|   			goto reject;
# 1012|   		case BYTE4_X:
# 1013|-> 			if (*s == sep) {
# 1014|   				fsm_state = BYTE4_SEP_BYTE5;
# 1015|   				break;

Error: GCC_ANALYZER_WARNING (CWE-457):
libpcap-1.10.6/nametoaddr.c:1024:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sep’
libpcap-1.10.6/nametoaddr.c:879:1: enter_function: entry to ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:909:42: call_function: inlined call to ‘pcapint_xdtoi’ from ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:915:28: branch_false: following ‘false’ branch...
libpcap-1.10.6/nametoaddr.c:920:29: branch_false: ...to here
libpcap-1.10.6/nametoaddr.c:921:56: call_function: inlined call to ‘pcapint_xdtoi’ from ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:1024:28: danger: use of uninitialized value ‘sep’ here
# 1022|   			goto reject;
# 1023|   		case BYTE4_XX:
# 1024|-> 			if (*s == sep) {
# 1025|   				fsm_state = BYTE4_SEP_BYTE5;
# 1026|   				break;

Error: GCC_ANALYZER_WARNING (CWE-457):
libpcap-1.10.6/nametoaddr.c:1051:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buf[1]’
libpcap-1.10.6/nametoaddr.c:879:1: enter_function: entry to ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:905:16: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:906:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:909:42: call_function: inlined call to ‘pcapint_xdtoi’ from ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:915:28: branch_false: following ‘false’ branch...
libpcap-1.10.6/nametoaddr.c:920:29: branch_false: ...to here
libpcap-1.10.6/nametoaddr.c:921:56: call_function: inlined call to ‘pcapint_xdtoi’ from ‘pcapint_atomac48_x_xx_6_times’
libpcap-1.10.6/nametoaddr.c:1049:12: branch_true: following ‘true’ branch...
libpcap-1.10.6/nametoaddr.c:1051:17: branch_true: ...to here
libpcap-1.10.6/nametoaddr.c:1051:17: danger: use of uninitialized value ‘buf[1]’ here
# 1049|   	if (fsm_state == BYTE5_X || fsm_state == BYTE5_XX) {
# 1050|   		// accept
# 1051|-> 		memcpy(addr, buf, sizeof(buf));
# 1052|   		return 1;
# 1053|   	}