2026-01-14 17:22 ftp://ftp.de.debian.org/debian/pool/main/p/pong2/pong2_0.1.3.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=opengl --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 -j90 platform: Linux-6.8.0-90-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.19.0 head-info: 367e437 (2026-01-14 17:16:12 +0100) count: 587 587 elapsed-time: 0.4 1.4 head-timing-info: old-timing-info: head results: pong2-0.1.3/src/Camera.cpp:24:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/stuff.hpp:60:9: warning:inconclusive: Member variable 'Vec2f::x' is not initialized in the constructor. [uninitMemberVar] pong2-0.1.3/src/stuff.hpp:60:9: warning:inconclusive: Member variable 'Vec2f::y' is not initialized in the constructor. [uninitMemberVar] pong2-0.1.3/src/stuff.hpp:71:9: warning:inconclusive: Member variable 'Vec3f::x' is not initialized in the constructor. [uninitMemberVar] pong2-0.1.3/src/stuff.hpp:71:9: warning:inconclusive: Member variable 'Vec3f::y' is not initialized in the constructor. [uninitMemberVar] pong2-0.1.3/src/stuff.hpp:71:9: warning:inconclusive: Member variable 'Vec3f::z' is not initialized in the constructor. [uninitMemberVar] pong2-0.1.3/src/stuff.hpp:30:4: style:inconclusive: Member variable 'Configuration::mode' is in the wrong place in the initializer list. [initializerList] pong2-0.1.3/src/stuff.hpp:13:23: note: Member variable 'Configuration::mode' is in the wrong place in the initializer list. pong2-0.1.3/src/stuff.hpp:30:4: note: Member variable 'Configuration::mode' is in the wrong place in the initializer list. pong2-0.1.3/src/Camera.hpp:53:7: style:inconclusive: Member variable 'Camera::mode' is in the wrong place in the initializer list. [initializerList] pong2-0.1.3/src/Camera.cpp:6:83: note: Member variable 'Camera::mode' is in the wrong place in the initializer list. pong2-0.1.3/src/Camera.hpp:53:7: note: Member variable 'Camera::mode' is in the wrong place in the initializer list. pong2-0.1.3/src/Camera.hpp:32:16: style:inconclusive: Technically the member function 'Camera::getDistance' can be const. [functionConst] pong2-0.1.3/src/Camera.hpp:34:14: style:inconclusive: Technically the member function 'Camera::getMode' can be const. [functionConst] pong2-0.1.3/src/Buffer.cpp:5:9: warning: Member variable 'Buffer::pos' is not initialized in the constructor. [uninitMemberVar] pong2-0.1.3/src/Buffer.cpp:5:9: warning: Member variable 'Buffer::type' is not initialized in the constructor. [uninitMemberVar] pong2-0.1.3/src/Buffer.cpp:10:9: warning: Member variable 'Buffer::pos' is not initialized in the constructor. [uninitMemberVar] pong2-0.1.3/src/Buffer.hpp:95:7: style:inconclusive: Member variable 'Buffer::freemem' is in the wrong place in the initializer list. [initializerList] pong2-0.1.3/src/Buffer.cpp:5:46: note: Member variable 'Buffer::freemem' is in the wrong place in the initializer list. pong2-0.1.3/src/Buffer.hpp:95:7: note: Member variable 'Buffer::freemem' is in the wrong place in the initializer list. pong2-0.1.3/src/Buffer.hpp:95:7: style:inconclusive: Member variable 'Buffer::freemem' is in the wrong place in the initializer list. [initializerList] pong2-0.1.3/src/Buffer.cpp:10:58: note: Member variable 'Buffer::freemem' is in the wrong place in the initializer list. pong2-0.1.3/src/Buffer.hpp:95:7: note: Member variable 'Buffer::freemem' is in the wrong place in the initializer list. pong2-0.1.3/src/Buffer.hpp:95:7: style:inconclusive: Member variable 'Buffer::freemem' is in the wrong place in the initializer list. [initializerList] pong2-0.1.3/src/Buffer.cpp:16:97: note: Member variable 'Buffer::freemem' is in the wrong place in the initializer list. pong2-0.1.3/src/Buffer.hpp:95:7: note: Member variable 'Buffer::freemem' is in the wrong place in the initializer list. pong2-0.1.3/src/Buffer.hpp:88:20: style:inconclusive: Technically the member function 'Buffer::getType' can be const. [functionConst] pong2-0.1.3/src/Buffer.hpp:92:13: style:inconclusive: Technically the member function 'Buffer::getSize' can be const. [functionConst] pong2-0.1.3/src/Buffer.cpp:23:20: warning: Class 'Buffer' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] pong2-0.1.3/src/Buffer.cpp:23:20: warning: Class 'Buffer' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] pong2-0.1.3/src/Buffer.hpp:40:2: style: Class 'Buffer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pong2-0.1.3/src/grapple/tools.c:50:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Buffer.cpp:34:2: warning: Possible leak in public function. The pointer 'data' is not deallocated before it is allocated. [publicAllocationError] pong2-0.1.3/src/Buffer.cpp:41:2: warning: Possible leak in public function. The pointer 'data' is not deallocated before it is allocated. [publicAllocationError] pong2-0.1.3/src/Buffer.cpp:48:2: warning: Possible leak in public function. The pointer 'data' is not deallocated before it is allocated. [publicAllocationError] pong2-0.1.3/src/Buffer.cpp:55:2: warning: Possible leak in public function. The pointer 'data' is not deallocated before it is allocated. [publicAllocationError] pong2-0.1.3/src/Buffer.cpp:62:2: warning: Possible leak in public function. The pointer 'data' is not deallocated before it is allocated. [publicAllocationError] pong2-0.1.3/src/Buffer.cpp:34:2: error: Common realloc mistake: 'data' nulled but not freed upon failure [memleakOnRealloc] pong2-0.1.3/src/Buffer.cpp:41:2: error: Common realloc mistake: 'data' nulled but not freed upon failure [memleakOnRealloc] pong2-0.1.3/src/Buffer.cpp:48:2: error: Common realloc mistake: 'data' nulled but not freed upon failure [memleakOnRealloc] pong2-0.1.3/src/Buffer.cpp:55:2: error: Common realloc mistake: 'data' nulled but not freed upon failure [memleakOnRealloc] pong2-0.1.3/src/Buffer.cpp:62:2: error: Common realloc mistake: 'data' nulled but not freed upon failure [memleakOnRealloc] pong2-0.1.3/src/Buffer.cpp:7:9: style: C-style pointer casting [cstyleCast] pong2-0.1.3/src/Buffer.cpp:12:9: style: C-style pointer casting [cstyleCast] pong2-0.1.3/src/Buffer.cpp:34:9: style: C-style pointer casting [cstyleCast] pong2-0.1.3/src/Buffer.cpp:41:9: style: C-style pointer casting [cstyleCast] pong2-0.1.3/src/Buffer.cpp:48:9: style: C-style pointer casting [cstyleCast] pong2-0.1.3/src/Buffer.cpp:55:9: style: C-style pointer casting [cstyleCast] pong2-0.1.3/src/Buffer.cpp:62:9: style: C-style pointer casting [cstyleCast] pong2-0.1.3/src/grapple/dynstring.c:36:3: warning: If memory allocation fails, then there is a possible null pointer dereference: newstruct [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/dynstring.c:35:32: note: Assuming allocation function fails pong2-0.1.3/src/grapple/dynstring.c:35:13: note: Assignment 'newstruct=(struct dynstring*)malloc(sizeof(struct dynstring))', assigned value is 0 pong2-0.1.3/src/grapple/dynstring.c:36:3: note: Null pointer dereference pong2-0.1.3/src/grapple/dynstring.c:37:3: warning: If memory allocation fails, then there is a possible null pointer dereference: newstruct [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/dynstring.c:35:32: note: Assuming allocation function fails pong2-0.1.3/src/grapple/dynstring.c:35:13: note: Assignment 'newstruct=(struct dynstring*)malloc(sizeof(struct dynstring))', assigned value is 0 pong2-0.1.3/src/grapple/dynstring.c:37:3: note: Null pointer dereference pong2-0.1.3/src/grapple/dynstring.c:38:3: warning: If memory allocation fails, then there is a possible null pointer dereference: newstruct [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/dynstring.c:35:32: note: Assuming allocation function fails pong2-0.1.3/src/grapple/dynstring.c:35:13: note: Assignment 'newstruct=(struct dynstring*)malloc(sizeof(struct dynstring))', assigned value is 0 pong2-0.1.3/src/grapple/dynstring.c:38:3: note: Null pointer dereference pong2-0.1.3/src/grapple/dynstring.c:39:3: warning: If memory allocation fails, then there is a possible null pointer dereference: newstruct [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/dynstring.c:35:32: note: Assuming allocation function fails pong2-0.1.3/src/grapple/dynstring.c:35:13: note: Assignment 'newstruct=(struct dynstring*)malloc(sizeof(struct dynstring))', assigned value is 0 pong2-0.1.3/src/grapple/dynstring.c:39:3: note: Null pointer dereference pong2-0.1.3/src/grapple/dynstring.c:109:3: warning: If memory allocation fails, then there is a possible null pointer dereference: newstruct [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/dynstring.c:108:33: note: Assuming allocation function fails pong2-0.1.3/src/grapple/dynstring.c:108:13: note: Assignment 'newstruct=(struct udynstring*)malloc(sizeof(struct udynstring))', assigned value is 0 pong2-0.1.3/src/grapple/dynstring.c:109:3: note: Null pointer dereference pong2-0.1.3/src/grapple/dynstring.c:110:3: warning: If memory allocation fails, then there is a possible null pointer dereference: newstruct [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/dynstring.c:108:33: note: Assuming allocation function fails pong2-0.1.3/src/grapple/dynstring.c:108:13: note: Assignment 'newstruct=(struct udynstring*)malloc(sizeof(struct udynstring))', assigned value is 0 pong2-0.1.3/src/grapple/dynstring.c:110:3: note: Null pointer dereference pong2-0.1.3/src/grapple/dynstring.c:111:3: warning: If memory allocation fails, then there is a possible null pointer dereference: newstruct [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/dynstring.c:108:33: note: Assuming allocation function fails pong2-0.1.3/src/grapple/dynstring.c:108:13: note: Assignment 'newstruct=(struct udynstring*)malloc(sizeof(struct udynstring))', assigned value is 0 pong2-0.1.3/src/grapple/dynstring.c:111:3: note: Null pointer dereference pong2-0.1.3/src/grapple/dynstring.c:112:3: warning: If memory allocation fails, then there is a possible null pointer dereference: newstruct [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/dynstring.c:108:33: note: Assuming allocation function fails pong2-0.1.3/src/grapple/dynstring.c:108:13: note: Assignment 'newstruct=(struct udynstring*)malloc(sizeof(struct udynstring))', assigned value is 0 pong2-0.1.3/src/grapple/dynstring.c:112:3: note: Null pointer dereference pong2-0.1.3/src/grapple/dynstring.c:182:3: warning: If memory allocation fails, then there is a possible null pointer dereference: newstruct [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/dynstring.c:181:33: note: Assuming allocation function fails pong2-0.1.3/src/grapple/dynstring.c:181:13: note: Assignment 'newstruct=(struct sdynstring*)malloc(sizeof(struct sdynstring))', assigned value is 0 pong2-0.1.3/src/grapple/dynstring.c:182:3: note: Null pointer dereference pong2-0.1.3/src/grapple/dynstring.c:183:3: warning: If memory allocation fails, then there is a possible null pointer dereference: newstruct [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/dynstring.c:181:33: note: Assuming allocation function fails pong2-0.1.3/src/grapple/dynstring.c:181:13: note: Assignment 'newstruct=(struct sdynstring*)malloc(sizeof(struct sdynstring))', assigned value is 0 pong2-0.1.3/src/grapple/dynstring.c:183:3: note: Null pointer dereference pong2-0.1.3/src/grapple/dynstring.c:184:3: warning: If memory allocation fails, then there is a possible null pointer dereference: newstruct [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/dynstring.c:181:33: note: Assuming allocation function fails pong2-0.1.3/src/grapple/dynstring.c:181:13: note: Assignment 'newstruct=(struct sdynstring*)malloc(sizeof(struct sdynstring))', assigned value is 0 pong2-0.1.3/src/grapple/dynstring.c:184:3: note: Null pointer dereference pong2-0.1.3/src/grapple/dynstring.c:185:3: warning: If memory allocation fails, then there is a possible null pointer dereference: newstruct [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/dynstring.c:181:33: note: Assuming allocation function fails pong2-0.1.3/src/grapple/dynstring.c:181:13: note: Assignment 'newstruct=(struct sdynstring*)malloc(sizeof(struct sdynstring))', assigned value is 0 pong2-0.1.3/src/grapple/dynstring.c:185:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobbycallback.c:89:3: warning: If memory allocation fails, then there is a possible null pointer dereference: target [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbycallback.c:73:50: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbycallback.c:73:10: note: Assignment 'target=(struct grapple_lobbycallback_internal*)malloc(sizeof(struct grapple_lobbycallback_internal))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbycallback.c:89:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobbycallback.c:90:3: warning: If memory allocation fails, then there is a possible null pointer dereference: target [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbycallback.c:73:50: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbycallback.c:73:10: note: Assignment 'target=(struct grapple_lobbycallback_internal*)malloc(sizeof(struct grapple_lobbycallback_internal))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbycallback.c:90:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobbycallback.c:91:3: warning: If memory allocation fails, then there is a possible null pointer dereference: target [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbycallback.c:73:50: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbycallback.c:73:10: note: Assignment 'target=(struct grapple_lobbycallback_internal*)malloc(sizeof(struct grapple_lobbycallback_internal))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbycallback.c:91:3: note: Null pointer dereference pong2-0.1.3/src/grapple/socket.c:888:4: error: #error No valid non-blocking method - cannot build; [preprocessorErrorDirective] pong2-0.1.3/src/grapple/grapple_callback_dispatcher.c:194:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_RECURSIVE [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Ball.cpp:40:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GROW [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Ball.cpp:106:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/main.cpp:43:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Framework.hpp:51:10: warning:inconclusive: Member variable 'Peer::player' is not initialized in the constructor. [uninitMemberVar] pong2-0.1.3/src/Framework.hpp:51:10: warning:inconclusive: Member variable 'Peer::ready' is not initialized in the constructor. [uninitMemberVar] pong2-0.1.3/src/Framework.hpp:82:3: warning:inconclusive: Class 'Framework' which has virtual members does not have a virtual destructor. [virtualDestructor] pong2-0.1.3/src/Field.hpp:39:16: style:inconclusive: Technically the member function 'Field::getWidth' can be const. [functionConst] pong2-0.1.3/src/Field.hpp:41:16: style:inconclusive: Technically the member function 'Field::getHeight' can be const. [functionConst] pong2-0.1.3/src/Field.hpp:43:16: style:inconclusive: Technically the member function 'Field::getLength' can be const. [functionConst] pong2-0.1.3/src/Ball.hpp:22:16: style:inconclusive: Technically the member function 'Ball::getRadius' can be const. [functionConst] pong2-0.1.3/src/Ball.hpp:24:22: style:inconclusive: Technically the member function 'Ball::getPosition' can be const. [functionConst] pong2-0.1.3/src/Ball.hpp:26:22: style:inconclusive: Technically the member function 'Ball::getSpeed' can be const. [functionConst] pong2-0.1.3/src/Player.hpp:31:28: style:inconclusive: Technically the member function 'Player::getName' can be const. [functionConst] pong2-0.1.3/src/Player.hpp:33:14: style:inconclusive: Technically the member function 'Player::getSide' can be const. [functionConst] pong2-0.1.3/src/Player.hpp:35:15: style:inconclusive: Technically the member function 'Player::getPosition' can be const. [functionConst] pong2-0.1.3/src/Player.hpp:37:22: style:inconclusive: Technically the member function 'Player::getID' can be const. [functionConst] pong2-0.1.3/src/Framework.hpp:120:37: style:inconclusive: Technically the member function 'Framework::getPlayers' can be const. [functionConst] pong2-0.1.3/src/Interface.hpp:38:2: style: Class 'Interface' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pong2-0.1.3/src/Field.hpp:18:2: style: Class 'Field' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pong2-0.1.3/src/Ball.hpp:17:2: style: Class 'Ball' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pong2-0.1.3/src/Framework.hpp:48:10: style: Struct 'Peer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pong2-0.1.3/src/Interface.hpp:68:7: style: The function 'action' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pong2-0.1.3/src/stuff.hpp:108:15: note: Virtual function in base class pong2-0.1.3/src/Interface.hpp:68:7: note: Function in derived class pong2-0.1.3/src/Ball.hpp:41:7: style: The function 'action' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pong2-0.1.3/src/stuff.hpp:108:15: note: Virtual function in base class pong2-0.1.3/src/Ball.hpp:41:7: note: Function in derived class pong2-0.1.3/src/Player.hpp:76:7: style: The function 'action' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pong2-0.1.3/src/stuff.hpp:108:15: note: Virtual function in base class pong2-0.1.3/src/Player.hpp:76:7: note: Function in derived class pong2-0.1.3/src/Server.hpp:34:7: style: The function 'movePaddle' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pong2-0.1.3/src/Framework.hpp:188:15: note: Virtual function in base class pong2-0.1.3/src/Server.hpp:34:7: note: Function in derived class pong2-0.1.3/src/Server.hpp:40:7: style: The function 'updateGame' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pong2-0.1.3/src/Framework.hpp:190:15: note: Virtual function in base class pong2-0.1.3/src/Server.hpp:40:7: note: Function in derived class pong2-0.1.3/src/Server.hpp:45:7: style: The function 'action' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pong2-0.1.3/src/stuff.hpp:108:15: note: Virtual function in base class pong2-0.1.3/src/Server.hpp:45:7: note: Function in derived class pong2-0.1.3/src/Server.hpp:53:7: style: The function 'doScore' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pong2-0.1.3/src/Framework.hpp:192:15: note: Virtual function in base class pong2-0.1.3/src/Server.hpp:53:7: note: Function in derived class pong2-0.1.3/src/Server.hpp:56:7: style: The function 'serveBall' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pong2-0.1.3/src/Framework.hpp:194:15: note: Virtual function in base class pong2-0.1.3/src/Server.hpp:56:7: note: Function in derived class pong2-0.1.3/src/Server.hpp:58:7: style: The function 'ping' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pong2-0.1.3/src/Framework.hpp:133:15: note: Virtual function in base class pong2-0.1.3/src/Server.hpp:58:7: note: Function in derived class pong2-0.1.3/src/Server.hpp:60:7: style: The function 'doNetworking' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pong2-0.1.3/src/Framework.hpp:136:15: note: Virtual function in base class pong2-0.1.3/src/Server.hpp:60:7: note: Function in derived class pong2-0.1.3/src/Server.hpp:62:7: style: The function 'sendPacket' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pong2-0.1.3/src/Framework.hpp:138:15: note: Virtual function in base class pong2-0.1.3/src/Server.hpp:62:7: note: Function in derived class pong2-0.1.3/src/Client.hpp:34:7: style: The function 'movePaddle' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pong2-0.1.3/src/Framework.hpp:188:15: note: Virtual function in base class pong2-0.1.3/src/Client.hpp:34:7: note: Function in derived class pong2-0.1.3/src/Client.hpp:36:7: style: The function 'updateGame' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pong2-0.1.3/src/Framework.hpp:190:15: note: Virtual function in base class pong2-0.1.3/src/Client.hpp:36:7: note: Function in derived class pong2-0.1.3/src/Client.hpp:39:14: style: The function 'doScore' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pong2-0.1.3/src/Framework.hpp:192:15: note: Virtual function in base class pong2-0.1.3/src/Client.hpp:39:14: note: Function in derived class pong2-0.1.3/src/Client.hpp:42:7: style: The function 'serveBall' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pong2-0.1.3/src/Framework.hpp:194:15: note: Virtual function in base class pong2-0.1.3/src/Client.hpp:42:7: note: Function in derived class pong2-0.1.3/src/Client.hpp:44:7: style: The function 'ping' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pong2-0.1.3/src/Framework.hpp:133:15: note: Virtual function in base class pong2-0.1.3/src/Client.hpp:44:7: note: Function in derived class pong2-0.1.3/src/Client.hpp:47:7: style: The function 'doNetworking' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pong2-0.1.3/src/Framework.hpp:136:15: note: Virtual function in base class pong2-0.1.3/src/Client.hpp:47:7: note: Function in derived class pong2-0.1.3/src/Client.hpp:49:7: style: The function 'sendPacket' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pong2-0.1.3/src/Framework.hpp:138:15: note: Virtual function in base class pong2-0.1.3/src/Client.hpp:49:7: note: Function in derived class pong2-0.1.3/src/Field.cpp:81:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Client.cpp:18:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONNECTING [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Client.cpp:34:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Client.cpp:42:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUNNING [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Client.cpp:57:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUNNING [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Client.cpp:87:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/main.cpp:126:10: style: C-style pointer casting [cstyleCast] pong2-0.1.3/src/main.cpp:127:14: style: C-style pointer casting [cstyleCast] pong2-0.1.3/src/Ball.cpp:7:7: warning: Member variable 'Ball::spawntodo' is not initialized in the constructor. [uninitMemberVar] pong2-0.1.3/src/Ball.cpp:7:7: warning: Member variable 'Ball::spawndone' is not initialized in the constructor. [uninitMemberVar] pong2-0.1.3/src/Ball.hpp:79:9: style:inconclusive: Member variable 'Ball::scale' is in the wrong place in the initializer list. [initializerList] pong2-0.1.3/src/Ball.cpp:8:94: note: Member variable 'Ball::scale' is in the wrong place in the initializer list. pong2-0.1.3/src/Ball.hpp:79:9: note: Member variable 'Ball::scale' is in the wrong place in the initializer list. pong2-0.1.3/src/Ball.hpp:69:8: style:inconclusive: Member variable 'Ball::position' is in the wrong place in the initializer list. [initializerList] pong2-0.1.3/src/Ball.cpp:9:3: note: Member variable 'Ball::position' is in the wrong place in the initializer list. pong2-0.1.3/src/Ball.hpp:69:8: note: Member variable 'Ball::position' is in the wrong place in the initializer list. pong2-0.1.3/src/grapple/grapple_queue.c:89:18: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/Ball.cpp:108:11: style: Variable 'mat_ambient' can be declared as const array [constVariable] pong2-0.1.3/src/Ball.cpp:109:11: style: Variable 'mat_diffuse' can be declared as const array [constVariable] pong2-0.1.3/src/Ball.cpp:110:11: style: Variable 'mat_specular' can be declared as const array [constVariable] pong2-0.1.3/src/Ball.cpp:111:11: style: Variable 'mat_emission' can be declared as const array [constVariable] pong2-0.1.3/src/grapple/grapple_callback_dispatcher.c:198:3: warning: If memory allocation fails, then there is a possible null pointer dereference: returnval [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_callback_dispatcher.c:190:42: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_callback_dispatcher.c:190:5: note: Assignment 'returnval=(struct grapple_callback_dispatcher*)malloc(sizeof(struct grapple_callback_dispatcher))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_callback_dispatcher.c:198:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_callback_dispatcher.c:199:3: warning: If memory allocation fails, then there is a possible null pointer dereference: returnval [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_callback_dispatcher.c:190:42: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_callback_dispatcher.c:190:5: note: Assignment 'returnval=(struct grapple_callback_dispatcher*)malloc(sizeof(struct grapple_callback_dispatcher))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_callback_dispatcher.c:199:3: note: Null pointer dereference pong2-0.1.3/src/Player.cpp:73:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Player.cpp:192:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Player.cpp:223:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DECELERATE [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/grapple/grapple_comms.c:49:10: warning: If memory allocation fails, then there is a possible null pointer dereference: returnval [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms.c:46:27: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms.c:46:13: note: Assignment 'returnval=(void*)malloc(datalen+8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms.c:49:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_comms.c:52:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms.c:46:27: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms.c:46:13: note: Assignment 'returnval=(void*)malloc(datalen+8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms.c:52:19: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms.c:54:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms.c:46:27: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms.c:46:13: note: Assignment 'returnval=(void*)malloc(datalen+8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms.c:54:19: note: Null pointer addition pong2-0.1.3/src/Field.cpp:59:13: style:inconclusive: Technically the member function 'Field::zOutside' can be const. [functionConst] pong2-0.1.3/src/Field.hpp:33:7: note: Technically the member function 'Field::zOutside' can be const. pong2-0.1.3/src/Field.cpp:59:13: note: Technically the member function 'Field::zOutside' can be const. pong2-0.1.3/src/grapple/grapple_comms.c:52:19: portability: 'returnval' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_comms.c:54:19: portability: 'returnval' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/Server.cpp:47:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Server.cpp:55:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNINITIALIZED [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Server.cpp:75:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUNNING [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Server.cpp:109:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUNNING [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Server.cpp:136:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BALLOUT [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Server.cpp:183:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Server.cpp:288:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUNNING [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/grapple/grapple_connection.c:241:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_RECURSIVE [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Framework.cpp:56:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Framework.cpp:131:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_RIGHT [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Framework.cpp:154:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_GRAB_OFF [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Framework.cpp:174:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_PREFIX [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Framework.cpp:229:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_SMOOTH [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Framework.cpp:301:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Framework.cpp:429:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITY [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Framework.cpp:463:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_QUIT [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Framework.cpp:470:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_USEREVENT [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Client.cpp:95:16: style: C-style pointer casting [cstyleCast] pong2-0.1.3/src/grapple/grapple_callback.c:107:3: warning: If memory allocation fails, then there is a possible null pointer dereference: target [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_callback.c:90:41: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_callback.c:90:10: note: Assignment 'target=(struct grapple_callback_list*)malloc(sizeof(struct grapple_callback_list))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_callback.c:107:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_callback.c:108:3: warning: If memory allocation fails, then there is a possible null pointer dereference: target [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_callback.c:90:41: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_callback.c:90:10: note: Assignment 'target=(struct grapple_callback_list*)malloc(sizeof(struct grapple_callback_list))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_callback.c:108:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_callback.c:109:3: warning: If memory allocation fails, then there is a possible null pointer dereference: target [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_callback.c:90:41: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_callback.c:90:10: note: Assignment 'target=(struct grapple_callback_list*)malloc(sizeof(struct grapple_callback_list))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_callback.c:109:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_callback.c:184:3: warning: If memory allocation fails, then there is a possible null pointer dereference: event [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_callback.c:182:40: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_callback.c:182:9: note: Assignment 'event=(struct grapple_callbackevent*)malloc(sizeof(struct grapple_callbackevent))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_callback.c:184:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_callback.c:185:3: warning: If memory allocation fails, then there is a possible null pointer dereference: event [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_callback.c:182:40: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_callback.c:182:9: note: Assignment 'event=(struct grapple_callbackevent*)malloc(sizeof(struct grapple_callbackevent))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_callback.c:185:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_callback.c:190:3: warning: If memory allocation fails, then there is a possible null pointer dereference: event [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_callback.c:182:40: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_callback.c:182:9: note: Assignment 'event=(struct grapple_callbackevent*)malloc(sizeof(struct grapple_callbackevent))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_callback.c:190:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_callback.c:250:3: warning: If memory allocation fails, then there is a possible null pointer dereference: event [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_callback.c:248:40: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_callback.c:248:9: note: Assignment 'event=(struct grapple_callbackevent*)malloc(sizeof(struct grapple_callbackevent))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_callback.c:250:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_callback.c:251:3: warning: If memory allocation fails, then there is a possible null pointer dereference: event [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_callback.c:248:40: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_callback.c:248:9: note: Assignment 'event=(struct grapple_callbackevent*)malloc(sizeof(struct grapple_callbackevent))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_callback.c:251:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_callback.c:256:3: warning: If memory allocation fails, then there is a possible null pointer dereference: event [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_callback.c:248:40: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_callback.c:248:9: note: Assignment 'event=(struct grapple_callbackevent*)malloc(sizeof(struct grapple_callbackevent))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_callback.c:256:3: note: Null pointer dereference pong2-0.1.3/src/Player.cpp:8:9: warning: Member variable 'Player::id' is not initialized in the constructor. [uninitMemberVar] pong2-0.1.3/src/Player.hpp:112:8: style:inconclusive: Member variable 'Player::speed' is in the wrong place in the initializer list. [initializerList] pong2-0.1.3/src/Player.cpp:10:2: note: Member variable 'Player::speed' is in the wrong place in the initializer list. pong2-0.1.3/src/Player.hpp:112:8: note: Member variable 'Player::speed' is in the wrong place in the initializer list. pong2-0.1.3/src/Player.hpp:100:9: style:inconclusive: Member variable 'Player::maxspeed' is in the wrong place in the initializer list. [initializerList] pong2-0.1.3/src/Player.cpp:10:15: note: Member variable 'Player::maxspeed' is in the wrong place in the initializer list. pong2-0.1.3/src/Player.hpp:100:9: note: Member variable 'Player::maxspeed' is in the wrong place in the initializer list. pong2-0.1.3/src/Player.hpp:122:6: style:inconclusive: Member variable 'Player::displist' is in the wrong place in the initializer list. [initializerList] pong2-0.1.3/src/Player.cpp:10:85: note: Member variable 'Player::displist' is in the wrong place in the initializer list. pong2-0.1.3/src/Player.hpp:122:6: note: Member variable 'Player::displist' is in the wrong place in the initializer list. pong2-0.1.3/src/grapple/grapple_lobby.c:136:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_RECURSIVE [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Player.cpp:79:12: style: Variable 'mat_ambient' can be declared as const array [constVariable] pong2-0.1.3/src/Player.cpp:80:12: style: Variable 'mat_diffuse' can be declared as const array [constVariable] pong2-0.1.3/src/Player.cpp:81:12: style: Variable 'mat_specular' can be declared as const array [constVariable] pong2-0.1.3/src/Player.cpp:82:12: style: Variable 'mat_emission' can be declared as const array [constVariable] pong2-0.1.3/src/Player.cpp:90:12: style: Variable 'mat_ambient' can be declared as const array [constVariable] pong2-0.1.3/src/Player.cpp:91:12: style: Variable 'mat_diffuse' can be declared as const array [constVariable] pong2-0.1.3/src/Player.cpp:92:12: style: Variable 'mat_specular' can be declared as const array [constVariable] pong2-0.1.3/src/Player.cpp:93:12: style: Variable 'mat_emission' can be declared as const array [constVariable] pong2-0.1.3/src/grapple/grapple_message.c:97:78: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_message.c:112:82: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_message.c:127:73: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_message.c:143:76: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_message.c:159:74: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_message.c:177:77: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_message.c:197:74: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_message.c:217:77: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_message.c:237:77: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_message.c:257:81: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_message.c:273:80: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_message.c:374:78: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_message.c:395:73: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_message.c:414:76: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_message.c:428:76: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_message.c:444:72: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_message.c:521:73: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_connection.c:262:23: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_connection.c:291:23: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_connection.c:329:13: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_connection.c:367:23: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_connection.c:393:23: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_message.c:190:41: portability: 'queue->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_message.c:209:27: portability: 'queue->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_message.c:229:27: portability: 'queue->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_message.c:250:41: portability: 'queue->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_message.c:285:27: portability: 'queue->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_message.c:293:31: portability: 'queue->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_message.c:293:33: portability: 'queue->data+8' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_message.c:407:45: portability: 'queue->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_message.c:456:44: portability: 'queue->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_message.c:532:28: portability: 'queue->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_client.c:148:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_RECURSIVE [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Framework.hpp:146:12: style:inconclusive: Member variable 'Framework::output' is in the wrong place in the initializer list. [initializerList] pong2-0.1.3/src/Framework.cpp:10:17: note: Member variable 'Framework::output' is in the wrong place in the initializer list. pong2-0.1.3/src/Framework.hpp:146:12: note: Member variable 'Framework::output' is in the wrong place in the initializer list. pong2-0.1.3/src/Framework.hpp:168:15: style:inconclusive: Member variable 'Framework::paused' is in the wrong place in the initializer list. [initializerList] pong2-0.1.3/src/Framework.cpp:11:4: note: Member variable 'Framework::paused' is in the wrong place in the initializer list. pong2-0.1.3/src/Framework.hpp:168:15: note: Member variable 'Framework::paused' is in the wrong place in the initializer list. pong2-0.1.3/src/Framework.hpp:66:4: style:inconclusive: Member variable 'Framework::state' is in the wrong place in the initializer list. [initializerList] pong2-0.1.3/src/Framework.cpp:11:65: note: Member variable 'Framework::state' is in the wrong place in the initializer list. pong2-0.1.3/src/Framework.hpp:66:4: note: Member variable 'Framework::state' is in the wrong place in the initializer list. pong2-0.1.3/src/Framework.hpp:143:9: style:inconclusive: Member variable 'Framework::camera' is in the wrong place in the initializer list. [initializerList] pong2-0.1.3/src/Framework.cpp:11:91: note: Member variable 'Framework::camera' is in the wrong place in the initializer list. pong2-0.1.3/src/Framework.hpp:143:9: note: Member variable 'Framework::camera' is in the wrong place in the initializer list. pong2-0.1.3/src/Framework.cpp:460:17: style: The member function 'Framework::shutdown' can be static. [functionStatic] pong2-0.1.3/src/Framework.hpp:72:7: note: The member function 'Framework::shutdown' can be static. pong2-0.1.3/src/Framework.cpp:460:17: note: The member function 'Framework::shutdown' can be static. pong2-0.1.3/src/Framework.cpp:10:39: style: C-style pointer casting [cstyleCast] pong2-0.1.3/src/Framework.cpp:67:10: style: C-style pointer casting [cstyleCast] pong2-0.1.3/src/Framework.cpp:71:7: style: C-style pointer casting [cstyleCast] pong2-0.1.3/src/Framework.cpp:71:56: style: C-style pointer casting [cstyleCast] pong2-0.1.3/src/Server.cpp:191:16: style: C-style pointer casting [cstyleCast] pong2-0.1.3/src/Interface.cpp:83:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFLASH [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Interface.cpp:204:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Interface.cpp:225:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEPTH_TEST [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Interface.cpp:242:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Interface.cpp:255:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_UNSIGNED_BYTE [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Interface.cpp:274:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Interface.cpp:307:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Interface.cpp:379:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Framework.cpp:101:44: style: Parameter 'keysym' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/Server.cpp:148:5: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pong2-0.1.3/src/Server.cpp:202:8: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:149:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_RECURSIVE [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1482:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1643:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/grapple/grapple_confirm.c:41:3: warning: If memory allocation fails, then there is a possible null pointer dereference: returnval [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_confirm.c:37:38: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_confirm.c:37:13: note: Assignment 'returnval=(struct grapple_confirm*)calloc(1,sizeof(struct grapple_confirm))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_confirm.c:41:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_confirm.c:42:3: warning: If memory allocation fails, then there is a possible null pointer dereference: returnval [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_confirm.c:37:38: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_confirm.c:37:13: note: Assignment 'returnval=(struct grapple_confirm*)calloc(1,sizeof(struct grapple_confirm))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_confirm.c:42:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_group.c:612:7: error: Common realloc mistake: 'returnval' nulled but not freed upon failure [memleakOnRealloc] pong2-0.1.3/src/grapple/grapple_group.c:695:7: error: Common realloc mistake: 'returnval' nulled but not freed upon failure [memleakOnRealloc] pong2-0.1.3/src/grapple/grapple_group.c:40:3: warning: If memory allocation fails, then there is a possible null pointer dereference: container [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_group.c:38:46: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_group.c:38:13: note: Assignment 'container=(struct grapple_group_container*)calloc(1,sizeof(struct grapple_group_container))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_group.c:40:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_group.c:136:3: warning: If memory allocation fails, then there is a possible null pointer dereference: group [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_group.c:134:41: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_group.c:134:9: note: Assignment 'group=(struct internal_grapple_group*)calloc(1,sizeof(struct internal_grapple_group))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_group.c:136:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_comms_api.c:325:10: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:322:22: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:322:8: note: Assignment 'data=(void*)malloc(strlen(user->name)+4)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:325:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_confirm.c:117:67: style: Parameter 'confirm' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_comms_api.c:395:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:392:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:392:11: note: Assignment 'outdata=(char*)malloc(size)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:395:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_confirm.c:390:26: style: Parameter 'target' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_comms_api.c:439:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:436:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:436:11: note: Assignment 'outdata=(char*)malloc(datalen+8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:439:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_confirm.c:393:23: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_comms_api.c:474:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:471:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:471:11: note: Assignment 'outdata=(char*)malloc(datalen+8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:474:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_confirm.c:449:24: style: Parameter 'target' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_comms_api.c:506:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:503:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:503:11: note: Assignment 'outdata=(char*)malloc(datalen+12)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:506:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_confirm.c:452:23: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_comms_api.c:541:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:538:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:538:11: note: Assignment 'outdata=(char*)malloc(datalen+8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:541:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_comms_api.c:573:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:570:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:570:11: note: Assignment 'outdata=(char*)malloc(datalen+8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:573:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_comms_api.c:634:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:631:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:631:11: note: Assignment 'outdata=(char*)malloc(length+4)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:634:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_group.c:448:37: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_comms_api.c:761:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:758:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:758:11: note: Assignment 'outdata=(char*)malloc(length+8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:761:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_group.c:448:47: style: Parameter 'size' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_group.c:546:28: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_comms_api.c:821:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:818:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:818:11: note: Assignment 'outdata=(char*)malloc(datalen+12)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:821:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_group.c:629:28: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_comms_api.c:1019:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:1016:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:1016:11: note: Assignment 'outdata=(char*)malloc(length+8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:1019:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_comms_api.c:1073:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:1070:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:1070:11: note: Assignment 'outdata=(char*)malloc(length+4)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:1073:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_server.c:146:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_RECURSIVE [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/grapple/grapple_comms_api.c:1216:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:1213:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:1213:11: note: Assignment 'outdata=(char*)malloc(size)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:1216:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_comms_api.c:327:14: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:322:22: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:322:8: note: Assignment 'data=(void*)malloc(strlen(user->name)+4)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:327:14: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:398:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:392:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:392:11: note: Assignment 'outdata=(char*)malloc(size)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:398:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:403:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:392:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:392:11: note: Assignment 'outdata=(char*)malloc(size)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:403:21: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:442:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:436:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:436:11: note: Assignment 'outdata=(char*)malloc(datalen+8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:442:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:444:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:436:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:436:11: note: Assignment 'outdata=(char*)malloc(datalen+8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:444:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:477:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:471:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:471:11: note: Assignment 'outdata=(char*)malloc(datalen+8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:477:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:479:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:471:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:471:11: note: Assignment 'outdata=(char*)malloc(datalen+8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:479:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:509:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:503:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:503:11: note: Assignment 'outdata=(char*)malloc(datalen+12)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:509:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:512:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:503:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:503:11: note: Assignment 'outdata=(char*)malloc(datalen+12)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:512:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:514:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:503:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:503:11: note: Assignment 'outdata=(char*)malloc(datalen+12)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:514:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:544:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:538:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:538:11: note: Assignment 'outdata=(char*)malloc(datalen+8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:544:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:546:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:538:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:538:11: note: Assignment 'outdata=(char*)malloc(datalen+8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:546:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:576:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:570:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:570:11: note: Assignment 'outdata=(char*)malloc(datalen+8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:576:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:578:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:570:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:570:11: note: Assignment 'outdata=(char*)malloc(datalen+8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:578:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:636:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:631:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:631:11: note: Assignment 'outdata=(char*)malloc(length+4)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:636:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:764:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:758:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:758:11: note: Assignment 'outdata=(char*)malloc(length+8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:764:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:766:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:758:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:758:11: note: Assignment 'outdata=(char*)malloc(length+8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:766:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:824:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:818:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:818:11: note: Assignment 'outdata=(char*)malloc(datalen+12)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:824:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:827:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:818:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:818:11: note: Assignment 'outdata=(char*)malloc(datalen+12)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:827:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:829:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:818:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:818:11: note: Assignment 'outdata=(char*)malloc(datalen+12)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:829:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:1022:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:1016:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:1016:11: note: Assignment 'outdata=(char*)malloc(length+8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:1022:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:1024:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:1016:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:1016:11: note: Assignment 'outdata=(char*)malloc(length+8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:1024:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:1075:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:1070:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:1070:11: note: Assignment 'outdata=(char*)malloc(length+4)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:1075:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:1220:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:1213:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:1213:11: note: Assignment 'outdata=(char*)malloc(size)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:1220:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:1227:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_comms_api.c:1213:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_comms_api.c:1213:11: note: Assignment 'outdata=(char*)malloc(size)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_comms_api.c:1227:21: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_comms_api.c:314:55: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_comms_api.c:345:73: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_comms_api.c:368:26: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_comms_api.c:421:9: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_comms_api.c:461:9: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_comms_api.c:493:14: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_comms_api.c:528:10: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_comms_api.c:560:10: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_comms_api.c:809:14: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_comms_api.c:923:52: style: Parameter 'about' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_comms_api.c:1193:46: style: Parameter 'conf' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_comms_api.c:327:14: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:1433:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/grapple/grapple_client_thread.c:1626:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/grapple/grapple_server_thread.c:1797:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/grapple/grapple_server_thread.c:1983:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pong2-0.1.3/src/Interface.cpp:9:12: warning: Member variable 'Interface::flashalpha' is not initialized in the constructor. [uninitMemberVar] pong2-0.1.3/src/Interface.hpp:108:13: style:inconclusive: Member variable 'Interface::framework' is in the wrong place in the initializer list. [initializerList] pong2-0.1.3/src/Interface.cpp:10:18: note: Member variable 'Interface::framework' is in the wrong place in the initializer list. pong2-0.1.3/src/Interface.hpp:108:13: note: Member variable 'Interface::framework' is in the wrong place in the initializer list. pong2-0.1.3/src/Interface.hpp:123:14: style:inconclusive: Member variable 'Interface::roundnum' is in the wrong place in the initializer list. [initializerList] pong2-0.1.3/src/Interface.cpp:10:62: note: Member variable 'Interface::roundnum' is in the wrong place in the initializer list. pong2-0.1.3/src/Interface.hpp:123:14: note: Member variable 'Interface::roundnum' is in the wrong place in the initializer list. pong2-0.1.3/src/Interface.hpp:121:7: style:inconclusive: Member variable 'Interface::paused' is in the wrong place in the initializer list. [initializerList] pong2-0.1.3/src/Interface.cpp:10:83: note: Member variable 'Interface::paused' is in the wrong place in the initializer list. pong2-0.1.3/src/Interface.hpp:121:7: note: Member variable 'Interface::paused' is in the wrong place in the initializer list. pong2-0.1.3/src/Interface.hpp:116:6: style:inconclusive: Member variable 'Interface::flashtimer' is in the wrong place in the initializer list. [initializerList] pong2-0.1.3/src/Interface.cpp:10:98: note: Member variable 'Interface::flashtimer' is in the wrong place in the initializer list. pong2-0.1.3/src/Interface.hpp:116:6: note: Member variable 'Interface::flashtimer' is in the wrong place in the initializer list. pong2-0.1.3/src/Interface.cpp:223:17: style: The member function 'Interface::beginDraw' can be static. [functionStatic] pong2-0.1.3/src/Interface.hpp:95:7: note: The member function 'Interface::beginDraw' can be static. pong2-0.1.3/src/Interface.cpp:223:17: note: The member function 'Interface::beginDraw' can be static. pong2-0.1.3/src/Interface.cpp:240:17: style: The member function 'Interface::endDraw' can be static. [functionStatic] pong2-0.1.3/src/Interface.hpp:97:7: note: The member function 'Interface::endDraw' can be static. pong2-0.1.3/src/Interface.cpp:240:17: note: The member function 'Interface::endDraw' can be static. pong2-0.1.3/src/Interface.cpp:258:19: style:inconclusive: Technically the member function 'Interface::textWidth' can be const. [functionConst] pong2-0.1.3/src/Interface.hpp:105:9: note: Technically the member function 'Interface::textWidth' can be const. pong2-0.1.3/src/Interface.cpp:258:19: note: Technically the member function 'Interface::textWidth' can be const. pong2-0.1.3/src/grapple/grapple_client.c:69:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client.c:140:38: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client.c:140:8: note: Assignment 'data=(struct internal_client_data*)calloc(1,sizeof(struct internal_client_data))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client.c:159:24: note: Calling function 'internal_client_link', 1st argument 'data' value is 0 pong2-0.1.3/src/grapple/grapple_client.c:61:7: note: Assuming condition is false pong2-0.1.3/src/grapple/grapple_client.c:69:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client.c:70:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client.c:140:38: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client.c:140:8: note: Assignment 'data=(struct internal_client_data*)calloc(1,sizeof(struct internal_client_data))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client.c:159:24: note: Calling function 'internal_client_link', 1st argument 'data' value is 0 pong2-0.1.3/src/grapple/grapple_client.c:61:7: note: Assuming condition is false pong2-0.1.3/src/grapple/grapple_client.c:70:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client.c:71:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client.c:140:38: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client.c:140:8: note: Assignment 'data=(struct internal_client_data*)calloc(1,sizeof(struct internal_client_data))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client.c:159:24: note: Calling function 'internal_client_link', 1st argument 'data' value is 0 pong2-0.1.3/src/grapple/grapple_client.c:61:7: note: Assuming condition is false pong2-0.1.3/src/grapple/grapple_client.c:71:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client.c:72:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client.c:140:38: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client.c:140:8: note: Assignment 'data=(struct internal_client_data*)calloc(1,sizeof(struct internal_client_data))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client.c:159:24: note: Calling function 'internal_client_link', 1st argument 'data' value is 0 pong2-0.1.3/src/grapple/grapple_client.c:61:7: note: Assuming condition is false pong2-0.1.3/src/grapple/grapple_client.c:72:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client.c:143:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client.c:140:38: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client.c:140:8: note: Assignment 'data=(struct internal_client_data*)calloc(1,sizeof(struct internal_client_data))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client.c:143:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client.c:144:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client.c:140:38: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client.c:140:8: note: Assignment 'data=(struct internal_client_data*)calloc(1,sizeof(struct internal_client_data))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client.c:144:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client.c:460:14: warning: If memory allocation fails, then there is a possible null pointer dereference: returnval [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client.c:459:31: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client.c:459:17: note: Assignment 'returnval=(char*)malloc(strlen(data->name_provisional)+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client.c:460:14: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client.c:480:14: warning: If memory allocation fails, then there is a possible null pointer dereference: returnval [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client.c:479:31: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client.c:479:17: note: Assignment 'returnval=(char*)malloc(strlen(user->name)+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client.c:480:14: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client.c:891:15: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpname [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client.c:890:30: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client.c:890:16: note: Assignment 'tmpname=(char*)malloc(strlen(user->name)+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client.c:891:15: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client.c:937:10: warning: If memory allocation fails, then there is a possible null pointer dereference: returnval [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client.c:936:27: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client.c:936:13: note: Assignment 'returnval=(char*)malloc(strlen(clientdata->session)+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client.c:937:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client.c:1334:15: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpname [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client.c:1333:30: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client.c:1333:16: note: Assignment 'tmpname=(char*)malloc(strlen(user->name)+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client.c:1334:15: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client.c:1437:7: warning: If memory allocation fails, then there is a possible null pointer dereference: grouplist [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client.c:1429:26: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client.c:1429:13: note: Assignment 'grouplist=(int*)malloc(count*(sizeof(int)))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client.c:1437:7: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client.c:1450:15: warning: If memory allocation fails, then there is a possible null pointer dereference: grouplist [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client.c:1429:26: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client.c:1429:13: note: Assignment 'grouplist=(int*)malloc(count*(sizeof(int)))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client.c:1450:15: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client.c:1460:15: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpname [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client.c:1459:30: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client.c:1459:16: note: Assignment 'tmpname=(char*)malloc(strlen(scan->name)+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client.c:1460:15: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client.c:1527:7: warning: If memory allocation fails, then there is a possible null pointer dereference: grouplist [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client.c:1519:26: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client.c:1519:13: note: Assignment 'grouplist=(int*)malloc((count+1)*(sizeof(int)))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client.c:1527:7: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client.c:1535:3: warning: If memory allocation fails, then there is a possible null pointer dereference: grouplist [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client.c:1519:26: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client.c:1519:13: note: Assignment 'grouplist=(int*)malloc((count+1)*(sizeof(int)))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client.c:1535:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client.c:1563:10: warning: If memory allocation fails, then there is a possible null pointer dereference: groupname [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client.c:1562:27: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client.c:1562:13: note: Assignment 'groupname=(char*)malloc(strlen(group->name)+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client.c:1563:10: note: Null pointer dereference pong2-0.1.3/src/Interface.cpp:193:13: style: The scope of the variable 'z' can be reduced. [variableScope] pong2-0.1.3/src/grapple/grapple_client.c:434:23: style: Variable 'user' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_client.c:521:25: style: Variable 'data' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_client.c:856:8: style: Variable 'userarray' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_client.c:859:23: style: Variable 'user' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_client.c:921:25: style: Variable 'clientdata' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_client.c:1003:23: style: Variable 'user' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_client.c:1098:25: style: Variable 'clientdata' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_client.c:1116:27: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_client.c:1299:8: style: Variable 'userarray' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_client.c:1302:23: style: Variable 'user' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_client.c:1391:27: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_client.c:1487:27: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_client.c:1545:27: style: Variable 'group' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/Interface.cpp:38:35: style:inconclusive: Function 'updatePing' argument 1 names different: declaration 'ping' definition 'pingtime'. [funcArgNamesDifferent] pong2-0.1.3/src/Interface.hpp:50:25: note: Function 'updatePing' argument 1 names different: declaration 'ping' definition 'pingtime'. pong2-0.1.3/src/Interface.cpp:38:35: note: Function 'updatePing' argument 1 names different: declaration 'ping' definition 'pingtime'. pong2-0.1.3/src/grapple/grapple_lobby.c:823:12: style: Expression is always true because 'else if' condition is opposite to previous condition at line 815. [multiCondition] pong2-0.1.3/src/grapple/grapple_lobby.c:815:11: note: first condition pong2-0.1.3/src/grapple/grapple_lobby.c:823:12: note: else if condition is opposite to first condition pong2-0.1.3/src/grapple/grapple_lobby.c:62:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobby.c:129:37: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobby.c:129:8: note: Assignment 'data=(struct internal_lobby_data*)calloc(1,sizeof(struct internal_lobby_data))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:142:23: note: Calling function 'internal_lobby_link', 1st argument 'data' value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:54:7: note: Assuming condition is false pong2-0.1.3/src/grapple/grapple_lobby.c:62:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobby.c:63:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobby.c:129:37: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobby.c:129:8: note: Assignment 'data=(struct internal_lobby_data*)calloc(1,sizeof(struct internal_lobby_data))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:142:23: note: Calling function 'internal_lobby_link', 1st argument 'data' value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:54:7: note: Assuming condition is false pong2-0.1.3/src/grapple/grapple_lobby.c:63:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobby.c:64:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobby.c:129:37: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobby.c:129:8: note: Assignment 'data=(struct internal_lobby_data*)calloc(1,sizeof(struct internal_lobby_data))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:142:23: note: Calling function 'internal_lobby_link', 1st argument 'data' value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:54:7: note: Assuming condition is false pong2-0.1.3/src/grapple/grapple_lobby.c:64:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobby.c:65:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobby.c:129:37: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobby.c:129:8: note: Assignment 'data=(struct internal_lobby_data*)calloc(1,sizeof(struct internal_lobby_data))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:142:23: note: Calling function 'internal_lobby_link', 1st argument 'data' value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:54:7: note: Assuming condition is false pong2-0.1.3/src/grapple/grapple_lobby.c:65:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobby.c:132:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobby.c:129:37: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobby.c:129:8: note: Assignment 'data=(struct internal_lobby_data*)calloc(1,sizeof(struct internal_lobby_data))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:132:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobby.c:489:11: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobby.c:486:26: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobby.c:486:12: note: Assignment 'outdata=(char*)malloc(8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:489:11: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobby.c:550:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobby.c:533:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobby.c:533:11: note: Assignment 'outdata=(char*)malloc(outlength)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:550:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobby.c:601:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobby.c:598:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobby.c:598:11: note: Assignment 'outdata=(char*)malloc(8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:601:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobby.c:492:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobby.c:486:26: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobby.c:486:12: note: Assignment 'outdata=(char*)malloc(8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:492:18: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_lobby.c:553:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobby.c:533:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobby.c:533:11: note: Assignment 'outdata=(char*)malloc(outlength)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:553:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_lobby.c:556:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobby.c:533:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobby.c:533:11: note: Assignment 'outdata=(char*)malloc(outlength)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:556:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_lobby.c:558:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobby.c:533:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobby.c:533:11: note: Assignment 'outdata=(char*)malloc(outlength)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:558:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_lobby.c:562:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobby.c:533:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobby.c:533:11: note: Assignment 'outdata=(char*)malloc(outlength)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:562:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_lobby.c:565:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobby.c:533:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobby.c:533:11: note: Assignment 'outdata=(char*)malloc(outlength)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:565:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_lobby.c:569:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobby.c:533:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobby.c:533:11: note: Assignment 'outdata=(char*)malloc(outlength)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:569:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_lobby.c:573:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobby.c:533:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobby.c:533:11: note: Assignment 'outdata=(char*)malloc(outlength)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:573:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_lobby.c:577:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobby.c:533:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobby.c:533:11: note: Assignment 'outdata=(char*)malloc(outlength)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:577:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_lobby.c:581:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobby.c:533:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobby.c:533:11: note: Assignment 'outdata=(char*)malloc(outlength)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:581:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_lobby.c:585:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobby.c:533:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobby.c:533:11: note: Assignment 'outdata=(char*)malloc(outlength)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:585:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_lobby.c:604:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobby.c:598:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobby.c:598:11: note: Assignment 'outdata=(char*)malloc(8)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobby.c:604:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_lobby.c:166:24: style: Variable 'data' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_lobby.c:184:24: style: Variable 'data' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_lobby.c:203:31: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_lobby.c:243:25: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_lobby.c:407:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_lobby.c:684:26: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_lobby.c:775:29: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_lobby.c:786:29: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_lobby.c:250:38: portability: 'message->USER_MSG.data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobby.c:301:38: portability: 'message->USER_MSG.data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobby.c:304:38: portability: 'message->USER_MSG.data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobby.c:337:38: portability: 'message->USER_MSG.data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobby.c:340:38: portability: 'message->USER_MSG.data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobby.c:374:38: portability: 'message->USER_MSG.data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobby.c:377:38: portability: 'message->USER_MSG.data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobby.c:419:30: portability: 'message->USER_MSG.data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobby.c:442:28: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobby.c:446:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobby.c:453:32: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobby.c:458:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobby.c:462:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobby.c:466:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobby.c:470:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1080:18: style: Condition 'data->threaddestroy' is always true [knownConditionTrueFalse] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1078:27: note: Assignment 'data->threaddestroy=1', assigned value is 1 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1080:18: note: Condition 'data->threaddestroy' is always true pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1446:24: style: Condition 'client->gameid==0' is always true [knownConditionTrueFalse] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1434:18: note: Assignment 'client->gameid=0', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1446:24: note: Condition 'client->gameid==0' is always true pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1450:21: style: Condition 'client->gameid==-1' is always false [knownConditionTrueFalse] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1434:18: note: Assignment 'client->gameid=0', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1450:21: note: Condition 'client->gameid==-1' is always false pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1558:20: style: Condition 'client->threaddestroy' is always true [knownConditionTrueFalse] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1555:29: note: Assignment 'client->threaddestroy=1', assigned value is 1 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1558:20: note: Condition 'client->threaddestroy' is always true pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1708:20: style: Condition 'client->threaddestroy' is always true [knownConditionTrueFalse] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1705:29: note: Assignment 'client->threaddestroy=1', assigned value is 1 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1708:20: note: Condition 'client->threaddestroy' is always true pong2-0.1.3/src/grapple/grapple_lobbyclient.c:68:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:142:43: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:142:8: note: Assignment 'data=(struct internal_lobbyclient_data*)calloc(1,sizeof(struct internal_lobbyclient_data))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:156:29: note: Calling function 'internal_lobbyclient_link', 1st argument 'data' value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:60:7: note: Assuming condition is false pong2-0.1.3/src/grapple/grapple_lobbyclient.c:68:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobbyclient.c:69:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:142:43: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:142:8: note: Assignment 'data=(struct internal_lobbyclient_data*)calloc(1,sizeof(struct internal_lobbyclient_data))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:156:29: note: Calling function 'internal_lobbyclient_link', 1st argument 'data' value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:60:7: note: Assuming condition is false pong2-0.1.3/src/grapple/grapple_lobbyclient.c:69:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobbyclient.c:70:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:142:43: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:142:8: note: Assignment 'data=(struct internal_lobbyclient_data*)calloc(1,sizeof(struct internal_lobbyclient_data))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:156:29: note: Calling function 'internal_lobbyclient_link', 1st argument 'data' value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:60:7: note: Assuming condition is false pong2-0.1.3/src/grapple/grapple_lobbyclient.c:70:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobbyclient.c:71:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:142:43: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:142:8: note: Assignment 'data=(struct internal_lobbyclient_data*)calloc(1,sizeof(struct internal_lobbyclient_data))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:156:29: note: Calling function 'internal_lobbyclient_link', 1st argument 'data' value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:60:7: note: Assuming condition is false pong2-0.1.3/src/grapple/grapple_lobbyclient.c:71:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobbyclient.c:145:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:142:43: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:142:8: note: Assignment 'data=(struct internal_lobbyclient_data*)calloc(1,sizeof(struct internal_lobbyclient_data))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:145:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1289:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1286:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1286:11: note: Assignment 'outdata=(char*)malloc(length+4)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1289:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1401:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1386:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1386:11: note: Assignment 'outdata=(char*)malloc(length)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1401:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1900:3: warning: If memory allocation fails, then there is a possible null pointer dereference: gamelist [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1881:34: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1881:5: note: Assignment 'gamelist=(grapple_lobbygameid*)malloc((count+1)*sizeof(grapple_lobbygameid))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1900:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1931:7: warning: If memory allocation fails, then there is a possible null pointer dereference: returnval [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1929:44: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1929:17: note: Assignment 'returnval=(struct grapple_lobbygame*)calloc(1,sizeof(struct grapple_lobbygame))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1931:7: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1932:7: warning: If memory allocation fails, then there is a possible null pointer dereference: returnval [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1929:44: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1929:17: note: Assignment 'returnval=(struct grapple_lobbygame*)calloc(1,sizeof(struct grapple_lobbygame))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1932:7: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1933:7: warning: If memory allocation fails, then there is a possible null pointer dereference: returnval [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1929:44: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1929:17: note: Assignment 'returnval=(struct grapple_lobbygame*)calloc(1,sizeof(struct grapple_lobbygame))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1933:7: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1934:7: warning: If memory allocation fails, then there is a possible null pointer dereference: returnval [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1929:44: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1929:17: note: Assignment 'returnval=(struct grapple_lobbygame*)calloc(1,sizeof(struct grapple_lobbygame))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1934:7: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1935:7: warning: If memory allocation fails, then there is a possible null pointer dereference: returnval [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1929:44: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1929:17: note: Assignment 'returnval=(struct grapple_lobbygame*)calloc(1,sizeof(struct grapple_lobbygame))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1935:7: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1936:7: warning: If memory allocation fails, then there is a possible null pointer dereference: returnval [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1929:44: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1929:17: note: Assignment 'returnval=(struct grapple_lobbygame*)calloc(1,sizeof(struct grapple_lobbygame))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1936:7: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1938:7: warning: If memory allocation fails, then there is a possible null pointer dereference: returnval [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1929:44: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1929:17: note: Assignment 'returnval=(struct grapple_lobbygame*)calloc(1,sizeof(struct grapple_lobbygame))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1938:7: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1939:14: warning: If memory allocation fails, then there is a possible null pointer dereference: returnval [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1929:44: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1929:17: note: Assignment 'returnval=(struct grapple_lobbygame*)calloc(1,sizeof(struct grapple_lobbygame))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1939:14: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1291:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1286:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1286:11: note: Assignment 'outdata=(char*)malloc(length+4)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1291:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1404:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1386:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1386:11: note: Assignment 'outdata=(char*)malloc(length)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1404:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1406:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1386:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1386:11: note: Assignment 'outdata=(char*)malloc(length)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1406:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1410:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1386:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1386:11: note: Assignment 'outdata=(char*)malloc(length)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1410:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1420:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1386:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1386:11: note: Assignment 'outdata=(char*)malloc(length)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1420:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1424:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1386:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1386:11: note: Assignment 'outdata=(char*)malloc(length)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1424:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1428:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1386:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1386:11: note: Assignment 'outdata=(char*)malloc(length)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1428:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1432:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1386:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1386:11: note: Assignment 'outdata=(char*)malloc(length)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1432:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_lobbyclient.c:180:30: style: Variable 'data' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:199:30: style: Variable 'data' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:304:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:305:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:354:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:385:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:480:31: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:525:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:544:32: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:584:28: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:624:29: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1266:30: style: Variable 'client' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1572:31: style: Variable 'game' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1841:31: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:1911:31: style: Variable 'game' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:2046:30: style: Variable 'client' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:309:30: portability: 'message->USER_MSG.data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:359:30: portability: 'message->USER_MSG.data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:393:30: portability: 'message->USER_MSG.data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:417:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:421:28: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:425:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:430:28: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:434:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:438:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:442:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:446:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:450:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:487:38: portability: 'message->USER_MSG.data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:530:30: portability: 'message->USER_MSG.data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:552:38: portability: 'message->USER_MSG.data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:555:38: portability: 'message->USER_MSG.data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:592:38: portability: 'message->USER_MSG.data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:595:38: portability: 'message->USER_MSG.data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:632:38: portability: 'message->USER_MSG.data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_lobbyclient.c:635:38: portability: 'message->USER_MSG.data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_server.c:71:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_server.c:139:38: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_server.c:139:8: note: Assignment 'data=(struct internal_server_data*)calloc(1,sizeof(struct internal_server_data))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_server.c:159:24: note: Calling function 'internal_server_link', 1st argument 'data' value is 0 pong2-0.1.3/src/grapple/grapple_server.c:63:7: note: Assuming condition is false pong2-0.1.3/src/grapple/grapple_server.c:71:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_server.c:72:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_server.c:139:38: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_server.c:139:8: note: Assignment 'data=(struct internal_server_data*)calloc(1,sizeof(struct internal_server_data))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_server.c:159:24: note: Calling function 'internal_server_link', 1st argument 'data' value is 0 pong2-0.1.3/src/grapple/grapple_server.c:63:7: note: Assuming condition is false pong2-0.1.3/src/grapple/grapple_server.c:72:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_server.c:73:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_server.c:139:38: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_server.c:139:8: note: Assignment 'data=(struct internal_server_data*)calloc(1,sizeof(struct internal_server_data))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_server.c:159:24: note: Calling function 'internal_server_link', 1st argument 'data' value is 0 pong2-0.1.3/src/grapple/grapple_server.c:63:7: note: Assuming condition is false pong2-0.1.3/src/grapple/grapple_server.c:73:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_server.c:74:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_server.c:139:38: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_server.c:139:8: note: Assignment 'data=(struct internal_server_data*)calloc(1,sizeof(struct internal_server_data))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_server.c:159:24: note: Calling function 'internal_server_link', 1st argument 'data' value is 0 pong2-0.1.3/src/grapple/grapple_server.c:63:7: note: Assuming condition is false pong2-0.1.3/src/grapple/grapple_server.c:74:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_server.c:142:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_server.c:139:38: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_server.c:139:8: note: Assignment 'data=(struct internal_server_data*)calloc(1,sizeof(struct internal_server_data))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_server.c:142:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_server.c:156:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_server.c:139:38: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_server.c:139:8: note: Assignment 'data=(struct internal_server_data*)calloc(1,sizeof(struct internal_server_data))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_server.c:156:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_server.c:1587:14: warning: If memory allocation fails, then there is a possible null pointer dereference: returnval [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_server.c:1586:31: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_server.c:1586:17: note: Assignment 'returnval=(char*)malloc(strlen(address)+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_server.c:1587:14: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_server.c:1639:15: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpname [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_server.c:1638:30: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_server.c:1638:16: note: Assignment 'tmpname=(char*)malloc(strlen(user->name)+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_server.c:1639:15: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_server.c:1723:7: warning: If memory allocation fails, then there is a possible null pointer dereference: grouplist [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_server.c:1715:26: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_server.c:1715:13: note: Assignment 'grouplist=(int*)malloc(count*(sizeof(int)))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_server.c:1723:7: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_server.c:1736:15: warning: If memory allocation fails, then there is a possible null pointer dereference: grouplist [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_server.c:1715:26: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_server.c:1715:13: note: Assignment 'grouplist=(int*)malloc(count*(sizeof(int)))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_server.c:1736:15: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_server.c:1744:11: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpname [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_server.c:1743:26: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_server.c:1743:12: note: Assignment 'tmpname=(char*)malloc(strlen(scan->name)+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_server.c:1744:11: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_server.c:1810:7: warning: If memory allocation fails, then there is a possible null pointer dereference: grouplist [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_server.c:1802:26: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_server.c:1802:13: note: Assignment 'grouplist=(int*)malloc((count+1)*(sizeof(int)))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_server.c:1810:7: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_server.c:1818:3: warning: If memory allocation fails, then there is a possible null pointer dereference: grouplist [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_server.c:1802:26: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_server.c:1802:13: note: Assignment 'grouplist=(int*)malloc((count+1)*(sizeof(int)))', assigned value is 0 pong2-0.1.3/src/grapple/grapple_server.c:1818:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_server.c:1868:15: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpname [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_server.c:1867:30: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_server.c:1867:16: note: Assignment 'tmpname=(char*)malloc(strlen(user->name)+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_server.c:1868:15: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_server.c:1916:10: warning: If memory allocation fails, then there is a possible null pointer dereference: groupname [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_server.c:1915:27: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_server.c:1915:13: note: Assignment 'groupname=(char*)malloc(strlen(group->name)+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_server.c:1916:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_server.c:213:25: style: Variable 'data' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_server.c:260:25: style: Variable 'serverdata' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_server.c:303:25: style: Variable 'data' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_server.c:369:25: style: Variable 'data' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_server.c:385:25: style: Variable 'data' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_server.c:428:25: style: Variable 'data' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_server.c:954:25: style: Variable 'serverdata' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_server.c:992:25: style: Variable 'serverdata' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_server.c:1012:25: style: Variable 'serverdata' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_server.c:1176:23: style: Variable 'user' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_server.c:1328:25: style: Variable 'serverdata' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_server.c:1347:27: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_server.c:1604:8: style: Variable 'userarray' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_server.c:1607:23: style: Variable 'user' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_server.c:1677:27: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_server.c:1770:27: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_server.c:1832:8: style: Variable 'userarray' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_server.c:1835:23: style: Variable 'user' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_server.c:1898:27: style: Variable 'group' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/Interface.cpp:180:9: style: Variable 'texture' can be declared as const array [constVariable] pong2-0.1.3/src/Interface.cpp:263:9: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pong2-0.1.3/src/Interface.cpp:374:79: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] pong2-0.1.3/src/grapple/grapple_client_thread.c:168:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client_thread.c:167:17: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client_thread.c:167:17: note: Assignment 'outdata=malloc(datalen+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client_thread.c:168:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client_thread.c:169:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client_thread.c:167:17: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client_thread.c:167:17: note: Assignment 'outdata=malloc(datalen+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client_thread.c:169:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client_thread.c:170:4: warning: If memory allocation fails, then there is a possible null pointer dereference: (char*)outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client_thread.c:167:17: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client_thread.c:167:17: note: Assignment 'outdata=malloc(datalen+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client_thread.c:170:4: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client_thread.c:261:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client_thread.c:259:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client_thread.c:259:11: note: Assignment 'outdata=(char*)malloc(datalen)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client_thread.c:261:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client_thread.c:489:10: warning: If memory allocation fails, then there is a possible null pointer dereference: host [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client_thread.c:488:22: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client_thread.c:488:8: note: Assignment 'host=(char*)malloc(length+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client_thread.c:489:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client_thread.c:490:3: warning: If memory allocation fails, then there is a possible null pointer dereference: host [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client_thread.c:488:22: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client_thread.c:488:8: note: Assignment 'host=(char*)malloc(length+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client_thread.c:490:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client_thread.c:580:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client_thread.c:570:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client_thread.c:570:11: note: Assignment 'outdata=(char*)malloc(datalen+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client_thread.c:580:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client_thread.c:583:3: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client_thread.c:570:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client_thread.c:570:11: note: Assignment 'outdata=(char*)malloc(datalen+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client_thread.c:583:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client_thread.c:685:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client_thread.c:682:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client_thread.c:682:11: note: Assignment 'outdata=(char*)malloc(length+4)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client_thread.c:685:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client_thread.c:742:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_client_thread.c:730:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client_thread.c:730:11: note: Assignment 'outdata=(char*)malloc(datalen)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client_thread.c:742:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_client_thread.c:173:60: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_client_thread.c:167:17: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client_thread.c:167:17: note: Assignment 'outdata=malloc(datalen+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client_thread.c:173:60: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_client_thread.c:263:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_client_thread.c:259:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client_thread.c:259:11: note: Assignment 'outdata=(char*)malloc(datalen)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client_thread.c:263:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_client_thread.c:582:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_client_thread.c:570:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client_thread.c:570:11: note: Assignment 'outdata=(char*)malloc(datalen+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client_thread.c:582:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_client_thread.c:586:45: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_client_thread.c:570:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client_thread.c:570:11: note: Assignment 'outdata=(char*)malloc(datalen+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client_thread.c:586:45: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_client_thread.c:687:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_client_thread.c:682:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client_thread.c:682:11: note: Assignment 'outdata=(char*)malloc(length+4)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client_thread.c:687:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_client_thread.c:751:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_client_thread.c:730:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_client_thread.c:730:11: note: Assignment 'outdata=(char*)malloc(datalen)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_client_thread.c:751:21: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_client_thread.c:49:15: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:85:18: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:155:17: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:186:13: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:207:13: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:238:16: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:278:12: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:297:17: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:347:17: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:469:13: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:516:14: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:546:13: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:564:13: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:598:17: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:632:13: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:666:13: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:671:27: style: Variable 'group' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:704:17: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:724:17: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:766:26: style: Variable 'newhost' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:770:23: style: Variable 'connscan' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:772:28: style: Variable 'container' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:970:13: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:173:60: portability: 'outdata' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:221:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:225:37: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:253:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:256:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:263:24: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:365:23: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:485:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:489:19: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:582:24: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:611:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:645:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:749:24: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:1121:10: portability: 'ptr' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:1125:10: portability: 'ptr' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:1136:23: portability: 'pulldata' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_client_thread.c:1125:10: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] pong2-0.1.3/src/grapple/grapple_server_thread.c:953:5: error: Memory leak: outdata [memleak] pong2-0.1.3/src/grapple/grapple_server_thread.c:757:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_server_thread.c:749:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_server_thread.c:749:11: note: Assignment 'outdata=(char*)malloc(datalen+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_server_thread.c:757:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_server_thread.c:761:3: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_server_thread.c:749:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_server_thread.c:749:11: note: Assignment 'outdata=(char*)malloc(datalen+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_server_thread.c:761:3: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_server_thread.c:945:10: warning: If memory allocation fails, then there is a possible null pointer dereference: outdata [nullPointerOutOfMemory] pong2-0.1.3/src/grapple/grapple_server_thread.c:942:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_server_thread.c:942:11: note: Assignment 'outdata=(char*)malloc(length+4)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_server_thread.c:945:10: note: Null pointer dereference pong2-0.1.3/src/grapple/grapple_server_thread.c:760:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_server_thread.c:749:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_server_thread.c:749:11: note: Assignment 'outdata=(char*)malloc(datalen+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_server_thread.c:760:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_server_thread.c:764:45: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_server_thread.c:749:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_server_thread.c:749:11: note: Assignment 'outdata=(char*)malloc(datalen+1)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_server_thread.c:764:45: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_server_thread.c:947:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pong2-0.1.3/src/grapple/grapple_server_thread.c:942:25: note: Assuming allocation function fails pong2-0.1.3/src/grapple/grapple_server_thread.c:942:11: note: Assignment 'outdata=(char*)malloc(length+4)', assigned value is 0 pong2-0.1.3/src/grapple/grapple_server_thread.c:947:17: note: Null pointer addition pong2-0.1.3/src/grapple/grapple_server_thread.c:53:26: style: Variable 'failoverscan' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:55:28: style: Variable 'container' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:196:16: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:230:13: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:265:16: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:297:16: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:338:17: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:377:17: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:648:12: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:669:18: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:729:27: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:731:13: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:796:31: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:798:17: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:860:27: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:862:13: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:918:27: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:920:13: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:926:27: style: Variable 'group' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:982:65: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:983:28: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:985:14: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:999:9: style: Variable 'address' can be declared as pointer to const [constVariablePointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:1048:13: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:1078:31: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:1080:17: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:394:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:398:52: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:445:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:448:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:476:12: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:507:55: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:553:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:563:54: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:605:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:619:51: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:760:24: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:817:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:879:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:1062:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:1068:25: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:1092:20: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:1316:10: portability: 'ptr' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:1320:10: portability: 'ptr' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:1331:23: portability: 'pulldata' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pong2-0.1.3/src/grapple/grapple_server_thread.c:1320:10: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] pong2-0.1.3/src/grapple/grapple_server_thread.c:1709:12: style: Variable 'serverid' is assigned a value that is never used. [unreadVariable] pong2-0.1.3/src/grapple/grapple_server_thread.c:1759:12: style: Variable 'serverid' is assigned a value that is never used. [unreadVariable] diff: DONE