2025-05-04 21:54 ftp://ftp.de.debian.org/debian/pool/main/g/gvpe/gvpe_3.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=bsd --library=openssl --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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 88ef81e (2025-05-02 08:42:38 +0200) count: 460 450 elapsed-time: 1.3 1.4 head-timing-info: old-timing-info: head results: gvpe-3.1/lib/dropin.c:81:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] gvpe-3.1/lib/dropin.c:116:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvpe-3.1/lib/pidfile.c:78:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvpe-3.1/lib/pidfile.c:96:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] gvpe-3.1/lib/dropin.c:109:8: style: Variable 'r' can be declared as pointer to const [constVariablePointer] gvpe-3.1/lib/pidfile.c:115:7: error: Resource leak: f [resourceLeak] gvpe-3.1/lib/pidfile.c:128:3: error: Resource leak: f [resourceLeak] gvpe-3.1/lib/pidfile.c:96:20: warning: Either the condition 'pidfile' is redundant or there is possible null pointer dereference: pidfile. [nullPointerRedundantCheck] gvpe-3.1/lib/pidfile.c:98:53: note: Assuming that condition 'pidfile' is not redundant gvpe-3.1/lib/pidfile.c:96:20: note: Null pointer dereference gvpe-3.1/lib/pidfile.c:46:21: style: Parameter 'pidfile' can be declared as pointer to const [constParameterPointer] gvpe-3.1/lib/pidfile.c:90:22: style: Parameter 'pidfile' can be declared as pointer to const [constParameterPointer] gvpe-3.1/lib/pidfile.c:136:23: style: Parameter 'pidfile' can be declared as pointer to const [constParameterPointer] gvpe-3.1/lib/alloca.c:214:6: warning: If memory allocation fails, then there is a possible null pointer dereference: (union header*)new [nullPointerOutOfMemory] gvpe-3.1/lib/alloca.c:211:35: note: Assuming allocation function fails gvpe-3.1/lib/alloca.c:211:35: note: Assignment 'new=xmalloc(sizeof(union header)+size)', assigned value is 0 gvpe-3.1/lib/alloca.c:214:6: note: Null pointer dereference gvpe-3.1/lib/alloca.c:215:6: warning: If memory allocation fails, then there is a possible null pointer dereference: (union header*)new [nullPointerOutOfMemory] gvpe-3.1/lib/alloca.c:211:35: note: Assuming allocation function fails gvpe-3.1/lib/alloca.c:211:35: note: Assignment 'new=xmalloc(sizeof(union header)+size)', assigned value is 0 gvpe-3.1/lib/alloca.c:215:6: note: Null pointer dereference gvpe-3.1/lib/alloca.c:221:36: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gvpe-3.1/lib/alloca.c:211:35: note: Assuming allocation function fails gvpe-3.1/lib/alloca.c:211:35: note: Assignment 'new=xmalloc(sizeof(union header)+size)', assigned value is 0 gvpe-3.1/lib/alloca.c:221:36: note: Null pointer addition gvpe-3.1/lib/alloca.c:112:16: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] gvpe-3.1/lib/alloca.c:146:8: style: union member 'hdr::align' is never used. [unusedStructMember] gvpe-3.1/libev/ev_epoll.c:87:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable anfds [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev_epoll.c:147:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable epoll_epermcnt [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev_epoll.c:247:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable backend_fd [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev_epoll.c:268:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable epoll_events [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev_epoll.c:276:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable backend_fd [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev_kqueue.c:50:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kqueue_changecnt [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev_kqueue.c:69:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev_kqueue.c:93:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kqueue_changecnt [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev_kqueue.c:161:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kqueue_fd_pid [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev_kqueue.c:185:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kqueue_events [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev_kqueue.c:203:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kqueue_fd_pid [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev_epoll.c:102:11: warning: Identical condition '!nev', second condition is always false [identicalConditionAfterEarlyExit] gvpe-3.1/libev/ev_epoll.c:84:7: note: If condition '!nev' is true, the function will return/exit gvpe-3.1/libev/ev_epoll.c:102:11: note: Testing identical condition '!nev' gvpe-3.1/libev/ev_epoll.c:93:33: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gvpe-3.1/libev/ev_epoll.c:94:33: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gvpe-3.1/libev/ev_epoll.c:170:65: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gvpe-3.1/libev/ev_epoll.c:171:65: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gvpe-3.1/libev/ev_epoll.c:199:41: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gvpe-3.1/libev/ev_epoll.c:200:41: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gvpe-3.1/libev/ev_poll.c:62:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pollidxs [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev_poll.c:95:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_RELEASE_CB [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev_poll.c:134:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable backend_mintime [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev_poll.c:148:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pollidxs [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev_poll.c:75:24: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gvpe-3.1/libev/ev_poll.c:76:27: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gvpe-3.1/libev/ev_poll.c:123:61: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gvpe-3.1/libev/ev_poll.c:124:62: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gvpe-3.1/libev/ev_select.c:85:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev_select.c:146:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_RELEASE_CB [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev_select.c:278:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable backend_mintime [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev_select.c:308:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vec_ri [valueFlowBailoutIncompleteVar] gvpe-3.1/src/connection.C:217:10: debug: Failed to instantiate template "set". The checking continues anyway. [templateInstantiation] gvpe-3.1/src/callback.h:110:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable method [valueFlowBailoutIncompleteVar] gvpe-3.1/src/callback.h:145:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable method [valueFlowBailoutIncompleteVar] gvpe-3.1/src/callback.h:180:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable method [valueFlowBailoutIncompleteVar] gvpe-3.1/src/callback.h:215:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable method [valueFlowBailoutIncompleteVar] gvpe-3.1/src/callback.h:250:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable method [valueFlowBailoutIncompleteVar] gvpe-3.1/src/callback.h:285:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable method [valueFlowBailoutIncompleteVar] gvpe-3.1/src/callback.h:320:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable method [valueFlowBailoutIncompleteVar] gvpe-3.1/src/callback.h:355:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable method [valueFlowBailoutIncompleteVar] gvpe-3.1/src/callback.h:390:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable method [valueFlowBailoutIncompleteVar] gvpe-3.1/src/callback.h:425:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable method [valueFlowBailoutIncompleteVar] gvpe-3.1/src/util.h:144:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] gvpe-3.1/src/conf.C:166:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCALSTATEDIR [valueFlowBailoutIncompleteVar] gvpe-3.1/src/conf.C:552:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvpe-3.1/src/conf.C:593:115: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvpe-3.1/src/conf.C:780:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFDIR [valueFlowBailoutIncompleteVar] gvpe-3.1/src/callback.h:53:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable func [valueFlowBailoutIncompleteVar] gvpe-3.1/src/conf.C:248:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gvpe-3.1/src/conf.C:263:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gvpe-3.1/src/conf.C:273:28: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gvpe-3.1/src/conf.C:303:27: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] gvpe-3.1/src/conf.C:132:3: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] gvpe-3.1/src/callback.h:80:1: style: The struct 'callback' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gvpe-3.1/src/callback.h:115:1: style: The struct 'callback' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gvpe-3.1/src/callback.h:150:1: style: The struct 'callback' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gvpe-3.1/src/callback.h:185:1: style: The struct 'callback' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gvpe-3.1/src/callback.h:220:1: style: The struct 'callback' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gvpe-3.1/src/callback.h:255:1: style: The struct 'callback' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gvpe-3.1/src/callback.h:290:1: style: The struct 'callback' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gvpe-3.1/src/callback.h:325:1: style: The struct 'callback' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gvpe-3.1/src/callback.h:360:1: style: The struct 'callback' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gvpe-3.1/src/callback.h:395:1: style: The struct 'callback' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gvpe-3.1/src/callback.h:45:1: style: The struct 'callback < void ( ) >' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gvpe-3.1/src/conf.C:100:12: style:inconclusive: Technically the member function 'conf_node::may_direct' can be const. [functionConst] gvpe-3.1/src/conf.h:117:8: note: Technically the member function 'conf_node::may_direct' can be const. gvpe-3.1/src/conf.C:100:12: note: Technically the member function 'conf_node::may_direct' can be const. gvpe-3.1/src/conf.C:209:16: performance:inconclusive: Technically the member function 'configuration::find_node' can be static (but you may consider moving to unnamed namespace). [functionStatic] gvpe-3.1/src/conf.h:177:14: note: Technically the member function 'configuration::find_node' can be static (but you may consider moving to unnamed namespace). gvpe-3.1/src/conf.C:209:16: note: Technically the member function 'configuration::find_node' can be static (but you may consider moving to unnamed namespace). gvpe-3.1/src/conf.C:719:16: performance:inconclusive: Technically the member function 'configuration::config_filename' can be static (but you may consider moving to unnamed namespace). [functionStatic] gvpe-3.1/src/conf.h:181:9: note: Technically the member function 'configuration::config_filename' can be static (but you may consider moving to unnamed namespace). gvpe-3.1/src/conf.C:719:16: note: Technically the member function 'configuration::config_filename' can be static (but you may consider moving to unnamed namespace). gvpe-3.1/src/conf.C:593:17: style: Condition 'need_keys' is always true [knownConditionTrueFalse] gvpe-3.1/src/conf.C:591:11: note: Assuming that condition 'need_keys' is not redundant gvpe-3.1/src/conf.C:593:17: note: Condition 'need_keys' is always true gvpe-3.1/src/conf.C:689:64: style: Condition '*enode' is always true [knownConditionTrueFalse] gvpe-3.1/src/conf.C:689:38: note: Assuming that condition '*enode>' '' is not redundant gvpe-3.1/src/conf.C:689:64: note: Condition '*enode' is always true gvpe-3.1/src/conf.C:212:34: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] gvpe-3.1/src/conf.C:697:30: note: Assuming allocation function fails gvpe-3.1/src/conf.C:697:30: note: Assignment 'val=strdup(v)', assigned value is 0 gvpe-3.1/src/conf.C:699:34: note: Calling function 'find_node', 1st argument 'val' value is 0 gvpe-3.1/src/conf.C:212:34: note: Null pointer dereference gvpe-3.1/src/conf.C:698:11: warning: If memory allocation fails, then there is a possible null pointer dereference: val [nullPointerOutOfMemory] gvpe-3.1/src/conf.C:697:30: note: Assuming allocation function fails gvpe-3.1/src/conf.C:697:30: note: Assignment 'val=strdup(v)', assigned value is 0 gvpe-3.1/src/conf.C:698:11: note: Null pointer dereference gvpe-3.1/src/conf.h:107:8: style: Local variable 'protocols' shadows outer variable [shadowVariable] gvpe-3.1/src/conf.h:89:6: note: Shadowed declaration gvpe-3.1/src/conf.h:107:8: note: Shadow variable gvpe-3.1/src/conf.C:605:18: style: Local variable 'node' shadows outer variable [shadowVariable] gvpe-3.1/src/conf.h:194:14: note: Shadowed declaration gvpe-3.1/src/conf.C:605:18: note: Shadow variable gvpe-3.1/src/conf.C:606:13: style: Local variable 'fname' shadows outer variable [shadowVariable] gvpe-3.1/src/conf.C:563:9: note: Shadowed declaration gvpe-3.1/src/conf.C:606:13: note: Shadow variable gvpe-3.1/libev/ev.c:1750:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:2005:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable events [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:2173:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:2186:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:2291:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:2350:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:2402:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:2447:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_seq_cst [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:2526:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_seq_cst [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:2566:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_seq_cst [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:2607:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_seq_cst [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:2658:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priority [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:2677:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] gvpe-3.1/src/conf.C:100:42: style: Parameter 'other' can be declared as pointer to const [constParameterPointer] gvpe-3.1/src/sockinfo.h:61:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:2936:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/src/lzf/lzf_d.c:72:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:2968:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/src/connection.C:84:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:3078:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/src/connection.C:122:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hashbits_ENABLE_HMAC [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:3125:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] gvpe-3.1/src/conf.C:263:9: style: Variable 'val' can be declared as pointer to const [constVariablePointer] gvpe-3.1/src/connection.C:159:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSA_PKCS1_OAEP_PADDING [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:3136:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/src/conf.C:303:22: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] gvpe-3.1/src/connection.C:168:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSABITS [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:3150:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/src/connection.C:374:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVP_MAX_MD_SIZE [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:3185:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/src/connection.C:382:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVP_MAX_MD_SIZE [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:3264:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/src/connection.C:421:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ivbits_ENABLE_CIPHER [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:3368:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable at [valueFlowBailoutIncompleteVar] gvpe-3.1/src/connection.C:444:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PT_DATA_UNCOMPRESSED [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:3413:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable at [valueFlowBailoutIncompleteVar] gvpe-3.1/src/connection.C:627:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PT_AUTH_REQ [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:3433:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable at [valueFlowBailoutIncompleteVar] gvpe-3.1/src/connection.C:642:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PT_AUTH_RES [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:3472:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable at [valueFlowBailoutIncompleteVar] gvpe-3.1/src/connection.C:657:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PT_CONNECT_REQ [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:3640:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_seq_cst [valueFlowBailoutIncompleteVar] gvpe-3.1/src/connection.C:673:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PT_CONNECT_INFO [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:3815:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] gvpe-3.1/src/connection.C:709:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:3840:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priority [valueFlowBailoutIncompleteVar] gvpe-3.1/src/connection.C:780:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PT_PING [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:3869:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/src/connection.C:834:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodename [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:3895:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/src/connection.C:1255:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodename [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:3914:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/src/connection.C:1354:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodename [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:3940:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:3974:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:3997:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable at [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:4005:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:4037:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:4081:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:4165:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:4208:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:4223:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:4547:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:4579:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:4604:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:4628:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:4651:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:4667:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:4689:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:4705:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:4786:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:4818:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:4837:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:4853:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:4875:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:4893:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:4916:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:4936:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/libev/ev.c:5014:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gvpe-3.1/src/crypto.h:71:5: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/crypto.h:77:5: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/crypto.C:39:18: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/crypto.C:59:18: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/curve25519-donna-c64.c:75:49: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:78:49: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:81:49: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:84:49: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:87:19: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:131:70: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:132:70: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:133:70: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:134:70: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:135:70: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:172:72: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:173:72: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:174:72: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:175:72: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:176:72: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:238:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:239:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:240:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:241:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:242:22: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:244:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:245:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:246:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:247:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:248:22: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:255:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:256:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:257:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:258:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:259:22: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:271:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:272:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:273:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:274:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:277:38: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:278:46: error: Shifting 32-bit value by 38 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/src/curve25519-donna-c64.c:280:31: error: Shifting 32-bit value by 39 bits is undefined behaviour [shiftTooManyBits] gvpe-3.1/libev/ev.c:1292:25: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] gvpe-3.1/libev/ev.c:2784:27: style: Condition 'ev_linux_version()<0x020620' is always true [knownConditionTrueFalse] gvpe-3.1/libev/ev.c:2784:24: note: Calling function 'ev_linux_version' returns 0 gvpe-3.1/libev/ev.c:2784:27: note: Condition 'ev_linux_version()<0x020620' is always true gvpe-3.1/libev/ev.h:566:26: style: Local variable 'ev_default_loop_ptr' shadows outer variable [shadowVariable] gvpe-3.1/libev/ev.c:1833:31: note: Shadowed declaration gvpe-3.1/libev/ev.h:566:26: note: Shadow variable gvpe-3.1/libev/ev.c:1218:24: style: Local variable 's' shadows outer variable [shadowVariable] gvpe-3.1/libev/ev.c:1203:16: note: Shadowed declaration gvpe-3.1/libev/ev.c:1218:24: note: Shadow variable gvpe-3.1/libev/ev.c:1896:9: style: Parameter 'loop' can be declared as pointer to const [constParameterPointer] gvpe-3.1/libev/ev.c:1993:12: style: Parameter 'loop' can be declared as pointer to const. However it seems that 'pendingcb' is a callback function, if 'loop' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gvpe-3.1/libev/ev.c:2936:7: note: You might need to cast the function pointer here gvpe-3.1/libev/ev.c:1993:12: note: Parameter 'loop' can be declared as pointer to const gvpe-3.1/libev/ev.c:1993:30: style: Parameter 'w' can be declared as pointer to const. However it seems that 'pendingcb' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gvpe-3.1/libev/ev.c:2936:7: note: You might need to cast the function pointer here gvpe-3.1/libev/ev.c:1993:30: note: Parameter 'w' can be declared as pointer to const gvpe-3.1/libev/ev.c:2063:9: style: Variable 'anfd' can be declared as pointer to const [constVariablePointer] gvpe-3.1/libev/ev.c:2261:9: style: Variable 'E' can be declared as pointer to const [constVariablePointer] gvpe-3.1/libev/ev.c:2791:13: style: Parameter 'loop' can be declared as pointer to const [constParameterPointer] gvpe-3.1/libev/ev.c:2798:15: style: Parameter 'loop' can be declared as pointer to const [constParameterPointer] gvpe-3.1/libev/ev.c:2804:11: style: Parameter 'loop' can be declared as pointer to const [constParameterPointer] gvpe-3.1/libev/ev.c:2828:14: style: Parameter 'loop' can be declared as pointer to const [constParameterPointer] gvpe-3.1/libev/ev.c:3393:18: style: Parameter 'loop' can be declared as pointer to const [constParameterPointer] gvpe-3.1/libev/ev.c:4790:5: style: Variable 'loop' can be declared as pointer to const [constVariablePointer] gvpe-3.1/libev/ev.h:572:21: style: Parameter 'loop' can be declared as pointer to const [constParameterPointer] gvpe-3.1/libev/ev.c:1271:19: error: Signed integer overflow for expression '14-24'. [integerOverflow] gvpe-3.1/libev/ev.c:1154:13: style: union member 'Anonymous5::c' is never used. [unusedStructMember] gvpe-3.1/libev/ev.c:2915:15: style: Variable 'flags' is assigned a value that is never used. [unreadVariable] gvpe-3.1/src/curve25519-donna.c:488:19: style: Local variable 'mask' shadows outer variable [shadowVariable] gvpe-3.1/src/curve25519-donna.c:476:7: note: Shadowed declaration gvpe-3.1/src/curve25519-donna.c:488:19: note: Shadow variable gvpe-3.1/src/curve25519-donna.c:493:19: style: Local variable 'mask' shadows outer variable [shadowVariable] gvpe-3.1/src/curve25519-donna.c:476:7: note: Shadowed declaration gvpe-3.1/src/curve25519-donna.c:493:19: note: Shadow variable gvpe-3.1/src/curve25519-donna.c:503:17: style: Local variable 'mask' shadows outer variable [shadowVariable] gvpe-3.1/src/curve25519-donna.c:476:7: note: Shadowed declaration gvpe-3.1/src/curve25519-donna.c:503:17: note: Shadow variable gvpe-3.1/src/curve25519-donna.c:527:15: style: Local variable 'mask' shadows outer variable [shadowVariable] gvpe-3.1/src/curve25519-donna.c:476:7: note: Shadowed declaration gvpe-3.1/src/curve25519-donna.c:527:15: note: Shadow variable gvpe-3.1/src/curve25519-donna.c:472:29: style: Parameter 'input_limbs' can be declared as pointer to const [constParameterPointer] gvpe-3.1/src/curve25519-donna.c:253:45: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] gvpe-3.1/src/curve25519-donna.c:269:45: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] gvpe-3.1/src/curve25519-donna.c:456:12: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] gvpe-3.1/src/curve25519-donna.c:464:14: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] gvpe-3.1/src/curve25519-donna.c:488:35: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] gvpe-3.1/src/curve25519-donna.c:493:35: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] gvpe-3.1/src/curve25519-donna.c:503:33: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] gvpe-3.1/src/curve25519-donna.c:527:31: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] gvpe-3.1/src/device-cygwin.C:80:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FORMAT_MESSAGE_FROM_SYSTEM [valueFlowBailoutIncompleteVar] gvpe-3.1/src/device-cygwin.C:105:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_MTU [valueFlowBailoutIncompleteVar] gvpe-3.1/src/device-cygwin.C:160:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HKEY_LOCAL_MACHINE [valueFlowBailoutIncompleteVar] gvpe-3.1/src/device-cygwin.C:279:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u32 [valueFlowBailoutIncompleteVar] gvpe-3.1/src/device-cygwin.C:324:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_IO_PENDING [valueFlowBailoutIncompleteVar] gvpe-3.1/src/device-cygwin.C:83:7: warning:inconclusive: The buffer 'buf' may not be null-terminated after the call to strncpy(). [terminateStrncpy] gvpe-3.1/src/device-cygwin.C:250:3: warning: Return value of function pipe() is not used. [ignoredReturnValue] gvpe-3.1/src/device-cygwin.C:236:20: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/device-cygwin.C:156:7: style: Unused variable: sock [unusedVariable] gvpe-3.1/src/device-darwin.C:70:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] gvpe-3.1/src/device-darwin.C:83:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] gvpe-3.1/src/device-darwin.C:91:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] gvpe-3.1/src/device-darwin.C:107:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] gvpe-3.1/src/device-darwin.C:78:20: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gvpe-3.1/src/device-darwin.C:78:42: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gvpe-3.1/src/device-linux.C:80:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable device [valueFlowBailoutIncompleteVar] gvpe-3.1/src/device-linux.C:131:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] gvpe-3.1/src/device-linux.C:142:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] gvpe-3.1/src/device-linux.C:177:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] gvpe-3.1/src/device-linux.C:80:12: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/device-tincd.C:156:0: error: #error No interface implementation for your IFTYPE/IFSUBTYPE combination. [preprocessorErrorDirective] gvpe-3.1/src/device-tincd.C:156:3: error: #error No interface implementation for your IFTYPE/IFSUBTYPE combination. [preprocessorErrorDirective] gvpe-3.1/src/connection.C:1434:13: warning: Member variable 'connection::snd_auth' is not initialized in the constructor. [uninitMemberVar] gvpe-3.1/src/connection.C:1434:13: warning: Member variable 'connection::snd_ecdh_a' is not initialized in the constructor. [uninitMemberVar] gvpe-3.1/src/connection.C:1434:13: warning: Member variable 'connection::snd_ecdh_b' is not initialized in the constructor. [uninitMemberVar] gvpe-3.1/src/connection.C:1434:13: warning: Member variable 'connection::rcv_auth' is not initialized in the constructor. [uninitMemberVar] gvpe-3.1/src/connection.C:1434:13: warning: Member variable 'connection::rcv_ecdh_a' is not initialized in the constructor. [uninitMemberVar] gvpe-3.1/src/connection.C:1434:13: warning: Member variable 'connection::rcv_ecdh_b' is not initialized in the constructor. [uninitMemberVar] gvpe-3.1/src/connection.h:149:7: style:inconclusive: Member variable 'pkt_queue::max_queue' is in the wrong place in the initializer list. [initializerList] gvpe-3.1/src/connection.C:210:22: note: Member variable 'pkt_queue::max_queue' is in the wrong place in the initializer list. gvpe-3.1/src/connection.h:149:7: note: Member variable 'pkt_queue::max_queue' is in the wrong place in the initializer list. gvpe-3.1/src/connection.h:182:14: style:inconclusive: Member variable 'connection::conf' is in the wrong place in the initializer list. [initializerList] gvpe-3.1/src/connection.C:1435:13: note: Member variable 'connection::conf' is in the wrong place in the initializer list. gvpe-3.1/src/connection.h:182:14: note: Member variable 'connection::conf' is in the wrong place in the initializer list. gvpe-3.1/src/sockinfo.h:68:16: performance: Variable 'prot' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gvpe-3.1/src/connection.C:1446:3: performance: Variable 'last_establish_attempt' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gvpe-3.1/src/device.h:139:15: style:inconclusive: Technically the member function 'tap_device::interface' can be const. [functionConst] gvpe-3.1/src/sockinfo.h:59:19: performance:inconclusive: Technically the member function 'sockinfo::salenv4' can be static (but you may consider moving to unnamed namespace). [functionStatic] gvpe-3.1/src/connection.h:164:8: style:inconclusive: Technically the member function 'pkt_queue::empty' can be const. [functionConst] gvpe-3.1/src/connection.C:212:3: warning: Class 'pkt_queue' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] gvpe-3.1/src/connection.C:212:3: warning: Class 'pkt_queue' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] gvpe-3.1/src/hkdf.h:47:3: style: Struct 'hkdf' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gvpe-3.1/src/connection.C:640:3: style: Struct 'auth_res_packet' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gvpe-3.1/src/device.C:87:0: error: #error No interface implementation for your IFTYPE/IFSUBTYPE combination. [preprocessorErrorDirective] gvpe-3.1/src/device.C:87:3: error: #error No interface implementation for your IFTYPE/IFSUBTYPE combination. [preprocessorErrorDirective] gvpe-3.1/src/device.h:51:16: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/device.h:51:43: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/device.h:58:16: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/device.h:58:37: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/device.h:80:15: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/device.h:85:15: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/device.h:108:11: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/lzf/lzf_c.c:110:19: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/lzf/lzf_c.c:111:18: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/lzf/lzf_c.c:157:20: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/lzf/lzf_c.c:293:15: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/lzf/lzf_d.c:57:19: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/lzf/lzf_d.c:58:18: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/lzf/lzf_d.c:125:21: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/lzf/lzf_d.c:146:15: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:158:27: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:158:55: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:171:29: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:171:62: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:367:19: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:469:3: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:475:3: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:507:3: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:513:3: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:578:12: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:593:28: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:596:28: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:599:28: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:602:28: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:609:32: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:691:26: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:717:26: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:723:26: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:782:82: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:810:61: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:824:61: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:834:56: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:882:36: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:917:30: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:1010:22: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:1010:54: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:1061:32: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:1072:34: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:1081:40: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:1087:42: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:1103:44: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:1133:32: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:1143:38: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:1165:33: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:1184:44: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:1206:52: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:1206:70: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:1247:37: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:1280:38: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:1293:33: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:1306:35: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:1380:35: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:1391:11: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:1407:11: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/connection.C:1423:11: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/lzf/lzf_c.c:109:14: style: The scope of the variable 'hslot' can be reduced. [variableScope] gvpe-3.1/src/lzf/lzf_c.c:114:13: style: The scope of the variable 'ref' can be reduced. [variableScope] gvpe-3.1/src/lzf/lzf_c.c:126:17: style: The scope of the variable 'off' can be reduced. [variableScope] gvpe-3.1/src/connection.C:440:62: style:inconclusive: Function 'setup' argument 4 names different: declaration 'len' definition 'l'. [funcArgNamesDifferent] gvpe-3.1/src/connection.C:406:53: note: Function 'setup' argument 4 names different: declaration 'len' definition 'l'. gvpe-3.1/src/connection.C:440:62: note: Function 'setup' argument 4 names different: declaration 'len' definition 'l'. gvpe-3.1/src/connection.C:789:41: style:inconclusive: Function 'send_reset' argument 1 names different: declaration 'dsi' definition 'si'. [funcArgNamesDifferent] gvpe-3.1/src/connection.h:241:36: note: Function 'send_reset' argument 1 names different: declaration 'dsi' definition 'si'. gvpe-3.1/src/connection.C:789:41: note: Function 'send_reset' argument 1 names different: declaration 'dsi' definition 'si'. gvpe-3.1/src/connection.C:231:13: style: Local variable 'expire' shadows outer variable [shadowVariable] gvpe-3.1/src/connection.h:157:57: note: Shadowed declaration gvpe-3.1/src/connection.C:231:13: note: Shadow variable gvpe-3.1/src/connection.C:392:7: style: Local variable 'src' shadows outer function [shadowFunction] gvpe-3.1/src/connection.h:127:16: note: Shadowed declaration gvpe-3.1/src/connection.C:392:7: note: Shadow variable gvpe-3.1/src/connection.C:956:34: style: Parameter 'w' can be declared as reference to const. However it seems that 'rekey_cb' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gvpe-3.1/src/connection.C:1442:53: note: You might need to cast the function pointer here gvpe-3.1/src/connection.C:956:34: note: Parameter 'w' can be declared as reference to const gvpe-3.1/src/connection.C:440:55: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] gvpe-3.1/src/connection.C:1061:28: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gvpe-3.1/src/lzf/lzf_c.c:113:13: style: Variable 'out_end' can be declared as pointer to const [constVariablePointer] gvpe-3.1/src/lzf/lzf_d.c:60:19: style: Variable 'out_end' can be declared as pointer to const [constVariablePointer] gvpe-3.1/src/connection.C:514:8: style: Variable 'outl' is assigned a value that is never used. [unreadVariable] gvpe-3.1/src/connection.C:318:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gvpe-3.1/src/curve25519-donna.c:712:13: style: Local variable 'swap' shadows outer function [shadowFunction] gvpe-3.1/src/global.h:128:53: note: Shadowed declaration gvpe-3.1/src/curve25519-donna.c:712:13: note: Shadow variable gvpe-3.1/src/ether_emu.C:50:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] gvpe-3.1/src/curve25519-donna.c:253:45: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] gvpe-3.1/src/curve25519-donna.c:269:45: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] gvpe-3.1/src/curve25519-donna.c:456:12: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] gvpe-3.1/src/curve25519-donna.c:464:14: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] gvpe-3.1/src/curve25519-donna.c:488:35: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] gvpe-3.1/src/curve25519-donna.c:493:35: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] gvpe-3.1/src/curve25519-donna.c:503:33: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] gvpe-3.1/src/curve25519-donna.c:527:31: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] gvpe-3.1/src/gvpe.C:351:17: error: There is an unknown macro here somewhere. Configuration is required. If EV_DEFAULT_ is a macro then please configure it. [unknownMacro] gvpe-3.1/src/ether_emu.C:82:12: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/ether_emu.C:84:12: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/ether_emu.C:107:21: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/ether_emu.C:118:25: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/ether_emu.C:138:16: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/ether_emu.C:140:16: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/ether_emu.C:150:20: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/gvpectrl.C:129:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] gvpe-3.1/src/gvpectrl.C:211:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gvpe-3.1/src/gvpectrl.C:297:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSABITS [valueFlowBailoutIncompleteVar] gvpe-3.1/src/gvpectrl.C:335:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSABITS [valueFlowBailoutIncompleteVar] gvpe-3.1/src/gvpectrl.C:359:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSABITS [valueFlowBailoutIncompleteVar] gvpe-3.1/src/gvpectrl.C:378:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] gvpe-3.1/src/hkdf.C:107:5: style: Struct 'unhex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gvpe-3.1/src/hkdf.C:89:13: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/hkdf.C:89:27: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/gvpectrl.C:411:7: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gvpe-3.1/src/gvpectrl.C:412:7: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gvpe-3.1/src/gvpectrl.C:413:7: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gvpe-3.1/src/gvpectrl.C:253:16: warning: Repositioning operation performed on a file opened in append mode has no effect. [seekOnAppendedFile] gvpe-3.1/src/gvpectrl.C:268:17: warning: Repositioning operation performed on a file opened in append mode has no effect. [seekOnAppendedFile] gvpe-3.1/src/gvpectrl.C:413:59: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/gvpectrl.C:323:18: style: Variable 'node' can be declared as pointer to const [constVariablePointer] gvpe-3.1/src/gvpectrl.C:403:5: style: Instance of 'configuration_parser' object is destroyed immediately. [unusedScopedObject] gvpe-3.1/src/slog.C:70:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CONS [valueFlowBailoutIncompleteVar] gvpe-3.1/src/slog.C:92:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] gvpe-3.1/src/slog.C:104:5: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] gvpe-3.1/src/tincd/bsd/device.c:159:6: error: There is an unknown macro here somewhere. Configuration is required. If ifdebug is a macro then please configure it. [unknownMacro] gvpe-3.1/src/sockinfo.C:107:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gvpe-3.1/src/tincd/cygwin/device.c:239:2: error: There is an unknown macro here somewhere. Configuration is required. If ifdebug is a macro then please configure it. [unknownMacro] gvpe-3.1/src/sockinfo.C:76:22: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] gvpe-3.1/src/sockinfo.C:142:11: style:inconclusive: Technically the member function 'sockinfo::supported_protocols' can be const. [functionConst] gvpe-3.1/src/sockinfo.h:53:6: note: Technically the member function 'sockinfo::supported_protocols' can be const. gvpe-3.1/src/sockinfo.C:142:11: note: Technically the member function 'sockinfo::supported_protocols' can be const. gvpe-3.1/src/sockinfo.C:57:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] gvpe-3.1/src/tincd/darwin/device.c:82:2: error: There is an unknown macro here somewhere. Configuration is required. If ifdebug is a macro then please configure it. [unknownMacro] gvpe-3.1/src/sockinfo.C:72:23: style: Variable 'he' can be declared as pointer to const [constVariablePointer] gvpe-3.1/src/tincd/freebsd/device.c:79:2: error: There is an unknown macro here somewhere. Configuration is required. If ifdebug is a macro then please configure it. [unknownMacro] gvpe-3.1/src/tincd/linux/device.c:162:2: error: There is an unknown macro here somewhere. Configuration is required. If ifdebug is a macro then please configure it. [unknownMacro] gvpe-3.1/src/tincd/mingw/device.c:305:2: error: There is an unknown macro here somewhere. Configuration is required. If ifdebug is a macro then please configure it. [unknownMacro] gvpe-3.1/src/tincd/netbsd/device.c:85:2: error: There is an unknown macro here somewhere. Configuration is required. If ifdebug is a macro then please configure it. [unknownMacro] gvpe-3.1/src/tincd/openbsd/device.c:93:4: error: There is an unknown macro here somewhere. Configuration is required. If ifdebug is a macro then please configure it. [unknownMacro] gvpe-3.1/src/tincd/raw_socket/device.c:104:2: error: There is an unknown macro here somewhere. Configuration is required. If ifdebug is a macro then please configure it. [unknownMacro] gvpe-3.1/src/tincd/solaris/device.c:135:4: error: There is an unknown macro here somewhere. Configuration is required. If ifdebug is a macro then please configure it. [unknownMacro] gvpe-3.1/src/tincd/uml_socket/device.c:242:4: error: There is an unknown macro here somewhere. Configuration is required. If ifdebug is a macro then please configure it. [unknownMacro] gvpe-3.1/src/util.C:99:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvpe-3.1/src/util.C:131:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvpe-3.1/src/util.C:162:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] gvpe-3.1/src/util.C:301:11: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/util.C:364:28: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/util.C:365:28: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/util.C:403:23: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/util.C:301:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gvpe-3.1/src/vpn.C:78:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvpe-3.1/src/vpn.C:107:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HMACLENGTH [valueFlowBailoutIncompleteVar] gvpe-3.1/src/vpn.C:154:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvpe-3.1/src/vpn.C:199:101: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gvpe-3.1/src/vpn.C:426:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_tmpnam [valueFlowBailoutIncompleteVar] gvpe-3.1/src/vpn.C:596:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodename [valueFlowBailoutIncompleteVar] gvpe-3.1/src/vpn.C:636:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] gvpe-3.1/src/vpn.C:725:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] gvpe-3.1/src/vpn.C:762:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] gvpe-3.1/src/vpn.C:427:16: style: Obsolescent function 'tmpnam' called. It is recommended to use 'tmpfile', 'mkstemp' or 'mkdtemp' instead. [prohibitedtmpnamCalled] gvpe-3.1/src/vpn.C:969:6: warning: Member variable 'vpn::udpv4_fd' is not initialized in the constructor. [uninitMemberVar] gvpe-3.1/src/vpn.C:969:6: warning: Member variable 'vpn::tcpv4_fd' is not initialized in the constructor. [uninitMemberVar] gvpe-3.1/src/vpn.C:969:6: warning: Member variable 'vpn::ipv4_fd' is not initialized in the constructor. [uninitMemberVar] gvpe-3.1/src/vpn.C:969:6: warning: Member variable 'vpn::icmpv4_fd' is not initialized in the constructor. [uninitMemberVar] gvpe-3.1/src/vpn.C:969:6: warning: Member variable 'vpn::dnsv4_fd' is not initialized in the constructor. [uninitMemberVar] gvpe-3.1/src/vpn.C:969:6: warning: Member variable 'vpn::udpv4_tos' is not initialized in the constructor. [uninitMemberVar] gvpe-3.1/src/vpn.C:969:6: warning: Member variable 'vpn::ipv4_tos' is not initialized in the constructor. [uninitMemberVar] gvpe-3.1/src/vpn.C:969:6: warning: Member variable 'vpn::icmpv4_tos' is not initialized in the constructor. [uninitMemberVar] gvpe-3.1/src/vpn.C:969:6: warning: Member variable 'vpn::dnsv4_tos' is not initialized in the constructor. [uninitMemberVar] gvpe-3.1/src/vpn.C:969:6: warning: Member variable 'vpn::events' is not initialized in the constructor. [uninitMemberVar] gvpe-3.1/src/vpn.C:969:6: warning: Member variable 'vpn::tap' is not initialized in the constructor. [uninitMemberVar] gvpe-3.1/src/vpn.C:949:13: style:inconclusive: Technically the member function 'connection::dump_status' can be const. [functionConst] gvpe-3.1/src/connection.h:258:8: note: Technically the member function 'connection::dump_status' can be const. gvpe-3.1/src/vpn.C:949:13: note: Technically the member function 'connection::dump_status' can be const. gvpe-3.1/src/vpn.C:852:6: performance:inconclusive: Technically the member function 'vpn::can_direct' can be static (but you may consider moving to unnamed namespace). [functionStatic] gvpe-3.1/src/vpn.h:63:8: note: Technically the member function 'vpn::can_direct' can be static (but you may consider moving to unnamed namespace). gvpe-3.1/src/vpn.C:852:6: note: Technically the member function 'vpn::can_direct' can be static (but you may consider moving to unnamed namespace). gvpe-3.1/src/vpn.C:148:6: performance:inconclusive: Technically the member function 'vpn::setup_socket' can be static (but you may consider moving to unnamed namespace). [functionStatic] gvpe-3.1/src/vpn.h:107:7: note: Technically the member function 'vpn::setup_socket' can be static (but you may consider moving to unnamed namespace). gvpe-3.1/src/vpn.C:148:6: note: Technically the member function 'vpn::setup_socket' can be static (but you may consider moving to unnamed namespace). gvpe-3.1/src/vpn.C:420:6: performance:inconclusive: Technically the member function 'vpn::drop_privileges' can be static (but you may consider moving to unnamed namespace). [functionStatic] gvpe-3.1/src/vpn.h:109:8: note: Technically the member function 'vpn::drop_privileges' can be static (but you may consider moving to unnamed namespace). gvpe-3.1/src/vpn.C:420:6: note: Technically the member function 'vpn::drop_privileges' can be static (but you may consider moving to unnamed namespace). gvpe-3.1/src/vpn.C:199:74: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/vpn.C:239:68: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/vpn.C:510:13: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/vpn.C:573:10: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/vpn.C:579:12: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/vpn.C:586:35: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/vpn.C:595:39: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/vpn.C:627:90: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/vpn.C:643:55: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/vpn.C:659:41: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/vpn.C:732:55: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/vpn.C:745:48: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/vpn.C:953:42: style: C-style pointer casting [cstyleCast] gvpe-3.1/src/vpn.C:91:23: style: Parameter 'tos_prev' can be declared as reference to const [constParameterReference] gvpe-3.1/src/vpn.C:634:23: style: Parameter 'w' can be declared as reference to const. However it seems that 'ipv4_ev' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gvpe-3.1/src/vpn.C:973:36: note: You might need to cast the function pointer here gvpe-3.1/src/vpn.C:634:23: note: Parameter 'w' can be declared as reference to const gvpe-3.1/src/vpn.C:760:22: style: Parameter 'w' can be declared as reference to const. However it seems that 'tap_ev' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gvpe-3.1/src/vpn.C:983:36: note: You might need to cast the function pointer here gvpe-3.1/src/vpn.C:760:22: note: Parameter 'w' can be declared as reference to const gvpe-3.1/src/vpn.C:802:27: style: Parameter 'w' can be declared as reference to const. However it seems that 'event_cb' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gvpe-3.1/src/vpn.C:971:36: note: You might need to cast the function pointer here gvpe-3.1/src/vpn.C:802:27: note: Parameter 'w' can be declared as reference to const diff: 2.17.0 gvpe-3.1/lib/alloca.c:221:36: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gvpe-3.1/lib/alloca.c:211:35: note: Assuming allocation function fails gvpe-3.1/lib/alloca.c:211:35: note: Assignment 'new=xmalloc(sizeof(union header)+size)', assigned value is 0 gvpe-3.1/lib/alloca.c:221:36: note: Null pointer addition head gvpe-3.1/lib/alloca.c:221:36: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gvpe-3.1/lib/alloca.c:211:35: note: Assuming allocation function fails gvpe-3.1/lib/alloca.c:211:35: note: Assignment 'new=xmalloc(sizeof(union header)+size)', assigned value is 0 gvpe-3.1/lib/alloca.c:221:36: note: Null pointer addition head gvpe-3.1/src/conf.C:100:12: style:inconclusive: Technically the member function 'conf_node::may_direct' can be const. [functionConst] gvpe-3.1/src/conf.h:117:8: note: Technically the member function 'conf_node::may_direct' can be const. gvpe-3.1/src/conf.C:100:12: note: Technically the member function 'conf_node::may_direct' can be const. head gvpe-3.1/src/conf.C:209:16: performance:inconclusive: Technically the member function 'configuration::find_node' can be static (but you may consider moving to unnamed namespace). [functionStatic] gvpe-3.1/src/conf.h:177:14: note: Technically the member function 'configuration::find_node' can be static (but you may consider moving to unnamed namespace). gvpe-3.1/src/conf.C:209:16: note: Technically the member function 'configuration::find_node' can be static (but you may consider moving to unnamed namespace). head gvpe-3.1/src/conf.C:719:16: performance:inconclusive: Technically the member function 'configuration::config_filename' can be static (but you may consider moving to unnamed namespace). [functionStatic] gvpe-3.1/src/conf.h:181:9: note: Technically the member function 'configuration::config_filename' can be static (but you may consider moving to unnamed namespace). gvpe-3.1/src/conf.C:719:16: note: Technically the member function 'configuration::config_filename' can be static (but you may consider moving to unnamed namespace). 2.17.0 gvpe-3.1/src/conf.h:117:8: style:inconclusive: Technically the member function 'conf_node::may_direct' can be const. [functionConst] gvpe-3.1/src/conf.C:100:12: note: Technically the member function 'conf_node::may_direct' can be const. gvpe-3.1/src/conf.h:117:8: note: Technically the member function 'conf_node::may_direct' can be const. 2.17.0 gvpe-3.1/src/conf.h:177:14: performance:inconclusive: Technically the member function 'configuration::find_node' can be static (but you may consider moving to unnamed namespace). [functionStatic] gvpe-3.1/src/conf.C:209:16: note: Technically the member function 'configuration::find_node' can be static (but you may consider moving to unnamed namespace). gvpe-3.1/src/conf.h:177:14: note: Technically the member function 'configuration::find_node' can be static (but you may consider moving to unnamed namespace). 2.17.0 gvpe-3.1/src/conf.h:181:9: performance:inconclusive: Technically the member function 'configuration::config_filename' can be static (but you may consider moving to unnamed namespace). [functionStatic] gvpe-3.1/src/conf.C:719:16: note: Technically the member function 'configuration::config_filename' can be static (but you may consider moving to unnamed namespace). gvpe-3.1/src/conf.h:181:9: note: Technically the member function 'configuration::config_filename' can be static (but you may consider moving to unnamed namespace). head gvpe-3.1/src/connection.C:1010:54: style: C-style pointer casting [cstyleCast] head gvpe-3.1/src/connection.C:1206:70: style: C-style pointer casting [cstyleCast] head gvpe-3.1/src/connection.C:158:55: style: C-style pointer casting [cstyleCast] head gvpe-3.1/src/connection.C:171:62: style: C-style pointer casting [cstyleCast] 2.17.0 gvpe-3.1/src/connection.h:258:8: style:inconclusive: Technically the member function 'connection::dump_status' can be const. [functionConst] gvpe-3.1/src/vpn.C:949:13: note: Technically the member function 'connection::dump_status' can be const. gvpe-3.1/src/connection.h:258:8: note: Technically the member function 'connection::dump_status' can be const. head gvpe-3.1/src/device-darwin.C:78:42: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] head gvpe-3.1/src/device-tincd.C:156:3: error: #error No interface implementation for your IFTYPE/IFSUBTYPE combination. [preprocessorErrorDirective] head gvpe-3.1/src/device.C:87:3: error: #error No interface implementation for your IFTYPE/IFSUBTYPE combination. [preprocessorErrorDirective] head gvpe-3.1/src/device.h:51:43: style: C-style pointer casting [cstyleCast] head gvpe-3.1/src/device.h:58:37: style: C-style pointer casting [cstyleCast] head gvpe-3.1/src/hkdf.C:89:27: style: C-style pointer casting [cstyleCast] head gvpe-3.1/src/sockinfo.C:142:11: style:inconclusive: Technically the member function 'sockinfo::supported_protocols' can be const. [functionConst] gvpe-3.1/src/sockinfo.h:53:6: note: Technically the member function 'sockinfo::supported_protocols' can be const. gvpe-3.1/src/sockinfo.C:142:11: note: Technically the member function 'sockinfo::supported_protocols' can be const. 2.17.0 gvpe-3.1/src/sockinfo.h:53:6: style:inconclusive: Technically the member function 'sockinfo::supported_protocols' can be const. [functionConst] gvpe-3.1/src/sockinfo.C:142:11: note: Technically the member function 'sockinfo::supported_protocols' can be const. gvpe-3.1/src/sockinfo.h:53:6: note: Technically the member function 'sockinfo::supported_protocols' can be const. head gvpe-3.1/src/vpn.C:148:6: performance:inconclusive: Technically the member function 'vpn::setup_socket' can be static (but you may consider moving to unnamed namespace). [functionStatic] gvpe-3.1/src/vpn.h:107:7: note: Technically the member function 'vpn::setup_socket' can be static (but you may consider moving to unnamed namespace). gvpe-3.1/src/vpn.C:148:6: note: Technically the member function 'vpn::setup_socket' can be static (but you may consider moving to unnamed namespace). head gvpe-3.1/src/vpn.C:420:6: performance:inconclusive: Technically the member function 'vpn::drop_privileges' can be static (but you may consider moving to unnamed namespace). [functionStatic] gvpe-3.1/src/vpn.h:109:8: note: Technically the member function 'vpn::drop_privileges' can be static (but you may consider moving to unnamed namespace). gvpe-3.1/src/vpn.C:420:6: note: Technically the member function 'vpn::drop_privileges' can be static (but you may consider moving to unnamed namespace). head gvpe-3.1/src/vpn.C:852:6: performance:inconclusive: Technically the member function 'vpn::can_direct' can be static (but you may consider moving to unnamed namespace). [functionStatic] gvpe-3.1/src/vpn.h:63:8: note: Technically the member function 'vpn::can_direct' can be static (but you may consider moving to unnamed namespace). gvpe-3.1/src/vpn.C:852:6: note: Technically the member function 'vpn::can_direct' can be static (but you may consider moving to unnamed namespace). head gvpe-3.1/src/vpn.C:949:13: style:inconclusive: Technically the member function 'connection::dump_status' can be const. [functionConst] gvpe-3.1/src/connection.h:258:8: note: Technically the member function 'connection::dump_status' can be const. gvpe-3.1/src/vpn.C:949:13: note: Technically the member function 'connection::dump_status' can be const. 2.17.0 gvpe-3.1/src/vpn.h:107:7: performance:inconclusive: Technically the member function 'vpn::setup_socket' can be static (but you may consider moving to unnamed namespace). [functionStatic] gvpe-3.1/src/vpn.C:148:6: note: Technically the member function 'vpn::setup_socket' can be static (but you may consider moving to unnamed namespace). gvpe-3.1/src/vpn.h:107:7: note: Technically the member function 'vpn::setup_socket' can be static (but you may consider moving to unnamed namespace). 2.17.0 gvpe-3.1/src/vpn.h:109:8: performance:inconclusive: Technically the member function 'vpn::drop_privileges' can be static (but you may consider moving to unnamed namespace). [functionStatic] gvpe-3.1/src/vpn.C:420:6: note: Technically the member function 'vpn::drop_privileges' can be static (but you may consider moving to unnamed namespace). gvpe-3.1/src/vpn.h:109:8: note: Technically the member function 'vpn::drop_privileges' can be static (but you may consider moving to unnamed namespace). 2.17.0 gvpe-3.1/src/vpn.h:63:8: performance:inconclusive: Technically the member function 'vpn::can_direct' can be static (but you may consider moving to unnamed namespace). [functionStatic] gvpe-3.1/src/vpn.C:852:6: note: Technically the member function 'vpn::can_direct' can be static (but you may consider moving to unnamed namespace). gvpe-3.1/src/vpn.h:63:8: note: Technically the member function 'vpn::can_direct' can be static (but you may consider moving to unnamed namespace). DONE