2025-05-07 08:36 ftp://ftp.de.debian.org/debian/pool/main/q/qstat/qstat_2.17.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 8e656e5 (2025-05-06 23:42:00 +0200) count: 680 668 elapsed-time: 16.9 17.3 head-timing-info: old-timing-info: head results: qstat-2.17/bfbc2.c:57:54: style:inconclusive: Function 'deal_with_bfbc2_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/bfbc2.h:16:69: note: Function 'deal_with_bfbc2_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/bfbc2.c:57:54: note: Function 'deal_with_bfbc2_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/bfbc2.c:59:12: style: Variable 'end' can be declared as pointer to const [constVariablePointer] qstat-2.17/a2s.c:719:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/crysis.c:74:265: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QSTAT_VERSION [valueFlowBailoutIncompleteVar] qstat-2.17/crysis.c:232:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] qstat-2.17/crysis.c:258:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] qstat-2.17/crysis.c:141:55: style:inconclusive: Function 'deal_with_crysis_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/crysis.h:16:70: note: Function 'deal_with_crysis_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/crysis.c:141:55: note: Function 'deal_with_crysis_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/crysis.c:42:29: style: Variable 'password' can be declared as pointer to const [constVariablePointer] qstat-2.17/crysis.c:81:53: style: Parameter 'rawpkt' can be declared as pointer to const [constParameterPointer] qstat-2.17/crysis.c:117:47: style: Parameter 'rawpkt' can be declared as pointer to const [constParameterPointer] qstat-2.17/a2s.c:586:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] qstat-2.17/a2s.c:595:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] qstat-2.17/a2s.c:734:21: style: Redundant condition: get_player_info. '!get_player_info || (get_player_info && status->have_player)' is equivalent to '!get_player_info || status->have_player' [redundantCondition] qstat-2.17/a2s.c:735:22: style: Redundant condition: get_server_rules. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] qstat-2.17/a2s.c:327:3: warning: %hhu in format string (no. 1) requires 'unsigned char' but the argument type is 'char'. [invalidPrintfArgType_uint] qstat-2.17/a2s.c:420:3: warning: %hhu in format string (no. 1) requires 'unsigned char' but the argument type is 'char'. [invalidPrintfArgType_uint] qstat-2.17/a2s.c:438:3: warning: %hhX in format string (no. 1) requires 'unsigned char' but the argument type is 'char'. [invalidPrintfArgType_uint] qstat-2.17/config.c:185:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/a2s.c:489:3: warning: %hhu in format string (no. 1) requires 'unsigned char' but the argument type is 'char'. [invalidPrintfArgType_uint] qstat-2.17/config.c:199:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] qstat-2.17/config.c:262:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/config.c:287:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/config.c:356:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/config.c:479:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/config.c:525:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/config.c:566:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/config.c:612:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/a2s.c:220:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/a2s.c:219:31: note: Assuming allocation function fails qstat-2.17/a2s.c:219:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/a2s.c:220:4: note: Null pointer dereference qstat-2.17/config.c:675:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/a2s.c:224:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/a2s.c:219:31: note: Assuming allocation function fails qstat-2.17/a2s.c:219:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/a2s.c:224:3: note: Null pointer dereference qstat-2.17/config.c:782:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/a2s.c:225:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/a2s.c:219:31: note: Assuming allocation function fails qstat-2.17/a2s.c:219:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/a2s.c:225:3: note: Null pointer dereference qstat-2.17/config.c:817:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/a2s.c:226:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/a2s.c:219:31: note: Assuming allocation function fails qstat-2.17/a2s.c:219:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/a2s.c:226:3: note: Null pointer dereference qstat-2.17/config.c:906:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/a2s.c:227:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/a2s.c:219:31: note: Assuming allocation function fails qstat-2.17/a2s.c:219:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/a2s.c:227:3: note: Null pointer dereference qstat-2.17/config.c:958:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/a2s.c:228:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/a2s.c:219:31: note: Assuming allocation function fails qstat-2.17/a2s.c:219:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/a2s.c:228:3: note: Null pointer dereference qstat-2.17/config.c:1118:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/a2s.c:228:32: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/a2s.c:219:31: note: Assuming allocation function fails qstat-2.17/a2s.c:219:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/a2s.c:228:32: note: Null pointer dereference qstat-2.17/config.c:1151:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/a2s.c:229:15: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/a2s.c:219:31: note: Assuming allocation function fails qstat-2.17/a2s.c:219:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/a2s.c:229:15: note: Null pointer dereference qstat-2.17/config.c:1181:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/a2s.c:148:8: style: Variable 'str' can be declared as pointer to const [constVariablePointer] qstat-2.17/a2s.c:586:12: style: Variable 'keyword' can be declared as pointer to const [constVariablePointer] qstat-2.17/a2s.c:422:6: style: Variable 'pkt' is assigned a value that is never used. [unreadVariable] qstat-2.17/a2s.c:423:9: style: Variable 'pktlen' is assigned a value that is never used. [unreadVariable] qstat-2.17/a2s.c:607:9: style: Variable 'pkt' is assigned a value that is never used. [unreadVariable] qstat-2.17/a2s.c:608:12: style: Variable 'pktlen' is assigned a value that is never used. [unreadVariable] qstat-2.17/debug.c:87:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/debug.c:168:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/cube2.c:152:54: style:inconclusive: Function 'deal_with_cube2_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/cube2.h:16:69: note: Function 'deal_with_cube2_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/cube2.c:152:54: note: Function 'deal_with_cube2_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/cube2.c:182:24: warning: Uninitialized variable: attr [uninitvar] qstat-2.17/cube2.c:176:26: note: Assuming condition is false qstat-2.17/cube2.c:182:24: note: Uninitialized variable: attr qstat-2.17/debug.c:90:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/debug.c:90:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/debug.c:90:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/debug.c:90:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/debug.c:160:31: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] qstat-2.17/debug.c:162:15: style: Variable 'hex' can be declared as pointer to const [constVariablePointer] qstat-2.17/config.c:248:15: style: Condition 'filename!=NULL' is always false [knownConditionTrueFalse] qstat-2.17/config.c:198:19: note: Assignment 'filename=NULL', assigned value is 0 qstat-2.17/config.c:248:15: note: Condition 'filename!=NULL' is always false qstat-2.17/config.c:491:7: style: Condition 'token' is always true [knownConditionTrueFalse] qstat-2.17/config.c:958:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/config.c:393:4: error: Memory leak: context [memleak] qstat-2.17/config.c:407:3: error: Memory leak: context [memleak] qstat-2.17/config.c:414:3: error: Memory leak: context [memleak] qstat-2.17/config.c:421:3: error: Memory leak: context [memleak] qstat-2.17/config.c:428:3: error: Memory leak: context [memleak] qstat-2.17/config.c:922:3: error: Common realloc mistake: 'config_types' nulled but not freed upon failure [memleakOnRealloc] qstat-2.17/config.c:384:2: warning: If memory allocation fails, then there is a possible null pointer dereference: context [nullPointerOutOfMemory] qstat-2.17/config.c:383:37: note: Assuming allocation function fails qstat-2.17/config.c:383:12: note: Assignment 'context=(struct GameTypeContext*)malloc(sizeof(struct GameTypeContext))', assigned value is 0 qstat-2.17/config.c:384:2: note: Null pointer dereference qstat-2.17/config.c:385:2: warning: If memory allocation fails, then there is a possible null pointer dereference: context [nullPointerOutOfMemory] qstat-2.17/config.c:383:37: note: Assuming allocation function fails qstat-2.17/config.c:383:12: note: Assignment 'context=(struct GameTypeContext*)malloc(sizeof(struct GameTypeContext))', assigned value is 0 qstat-2.17/config.c:385:2: note: Null pointer dereference qstat-2.17/config.c:386:2: warning: If memory allocation fails, then there is a possible null pointer dereference: context [nullPointerOutOfMemory] qstat-2.17/config.c:383:37: note: Assuming allocation function fails qstat-2.17/config.c:383:12: note: Assignment 'context=(struct GameTypeContext*)malloc(sizeof(struct GameTypeContext))', assigned value is 0 qstat-2.17/config.c:386:2: note: Null pointer dereference qstat-2.17/config.c:925:2: warning: If memory allocation fails, then there is a possible null pointer dereference: config_types [nullPointerOutOfMemory] qstat-2.17/config.c:919:40: note: Assuming allocation function fails qstat-2.17/config.c:919:18: note: Assignment 'config_types=(struct server_type**)malloc(sizeof(struct server_type*)*(max_config_types+1))', assigned value is 0 qstat-2.17/config.c:925:2: note: Null pointer dereference qstat-2.17/config.c:1130:18: error: If memory allocation fails: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] qstat-2.17/config.c:1064:24: note: Assuming allocation function fails qstat-2.17/config.c:1064:10: note: Assignment 'value=(char*)malloc(len+1)', assigned value is 0 qstat-2.17/config.c:1065:0: note: Assignment 'end=value', assigned value is 0 qstat-2.17/config.c:1071:10: note: Assuming condition is false qstat-2.17/config.c:1130:18: note: Null pointer subtraction qstat-2.17/config.c:271:34: style:inconclusive: Function 'qsc_get_config_server_types' argument 1 names different: declaration 'n_config_types' definition 'n_config_types_ref'. [funcArgNamesDifferent] qstat-2.17/config.h:14:48: note: Function 'qsc_get_config_server_types' argument 1 names different: declaration 'n_config_types' definition 'n_config_types_ref'. qstat-2.17/config.c:271:34: note: Function 'qsc_get_config_server_types' argument 1 names different: declaration 'n_config_types' definition 'n_config_types_ref'. qstat-2.17/config.c:344:32: style:inconclusive: Function 'pf_top_level' argument 2 names different: declaration 'context' definition '_context'. [funcArgNamesDifferent] qstat-2.17/config.c:51:43: note: Function 'pf_top_level' argument 2 names different: declaration 'context' definition '_context'. qstat-2.17/config.c:344:32: note: Function 'pf_top_level' argument 2 names different: declaration 'context' definition '_context'. qstat-2.17/config.c:457:38: style:inconclusive: Function 'pf_gametype_modify' argument 2 names different: declaration 'context' definition '_context'. [funcArgNamesDifferent] qstat-2.17/config.c:53:49: note: Function 'pf_gametype_modify' argument 2 names different: declaration 'context' definition '_context'. qstat-2.17/config.c:457:38: note: Function 'pf_gametype_modify' argument 2 names different: declaration 'context' definition '_context'. qstat-2.17/config.c:499:35: style:inconclusive: Function 'pf_gametype_new' argument 2 names different: declaration 'context' definition '_context'. [funcArgNamesDifferent] qstat-2.17/config.c:52:46: note: Function 'pf_gametype_new' argument 2 names different: declaration 'context' definition '_context'. qstat-2.17/config.c:499:35: note: Function 'pf_gametype_new' argument 2 names different: declaration 'context' definition '_context'. qstat-2.17/config.c:888:24: style:inconclusive: Function 'get_builtin_type' argument 1 names different: declaration 'game_type' definition 'type_string'. [funcArgNamesDifferent] qstat-2.17/config.c:174:44: note: Function 'get_builtin_type' argument 1 names different: declaration 'game_type' definition 'type_string'. qstat-2.17/config.c:888:24: note: Function 'get_builtin_type' argument 1 names different: declaration 'game_type' definition 'type_string'. qstat-2.17/config.c:198:8: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] qstat-2.17/config.c:198:26: style: Variable 'var' can be declared as pointer to const [constVariablePointer] qstat-2.17/config.c:348:8: style: Variable 'token' can be declared as pointer to const [constVariablePointer] qstat-2.17/config.c:544:22: style: Parameter 'first_token' can be declared as pointer to const [constParameterPointer] qstat-2.17/config.c:546:24: style: Variable 'token' can be declared as pointer to const [constVariablePointer] qstat-2.17/config.c:717:16: style: Variable 'type' can be declared as pointer to const [constVariablePointer] qstat-2.17/config.c:778:31: style: Parameter 'gametype' can be declared as pointer to const [constParameterPointer] qstat-2.17/config.c:854:16: style: Variable 'type' can be declared as pointer to const [constVariablePointer] qstat-2.17/config.c:888:24: style: Parameter 'type_string' can be declared as pointer to const [constParameterPointer] qstat-2.17/config.c:931:23: style: Parameter 'game_type' can be declared as pointer to const [constParameterPointer] qstat-2.17/config.c:946:50: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] qstat-2.17/config.c:1142:8: style: Variable 'save_hex' can be declared as pointer to const [constVariablePointer] qstat-2.17/config.c:1170:8: style: Variable 'save_oct' can be declared as pointer to const [constVariablePointer] qstat-2.17/dirtybomb.c:57:58: style:inconclusive: Function 'deal_with_dirtybomb_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/dirtybomb.h:16:73: note: Function 'deal_with_dirtybomb_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/dirtybomb.c:57:58: note: Function 'deal_with_dirtybomb_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/dirtybomb.c:36:19: style: Variable 'password' can be declared as pointer to const [constVariablePointer] qstat-2.17/dirtybomb.c:127:43: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] qstat-2.17/dirtybomb.c:127:103: style: Parameter 'last' can be declared as pointer to const [constParameterPointer] qstat-2.17/dirtybomb.c:149:39: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] qstat-2.17/dirtybomb.c:149:100: style: Parameter 'last' can be declared as pointer to const [constParameterPointer] qstat-2.17/dirtybomb.c:177:39: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] qstat-2.17/dirtybomb.c:177:100: style: Parameter 'last' can be declared as pointer to const [constParameterPointer] qstat-2.17/dirtybomb.c:209:40: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] qstat-2.17/dirtybomb.c:209:99: style: Parameter 'last' can be declared as pointer to const [constParameterPointer] qstat-2.17/dirtybomb.c:328:8: style: Variable 'type' is assigned a value that is never used. [unreadVariable] qstat-2.17/dirtybomb.c:343:8: style: Variable 'type' is assigned a value that is never used. [unreadVariable] qstat-2.17/doom3.c:574:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/display_json.c:62:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QSTAT_VERSION [valueFlowBailoutIncompleteVar] qstat-2.17/display_json.c:1033:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/farmsim.c:194:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] qstat-2.17/farmsim.c:248:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] qstat-2.17/farmsim.c:130:56: style:inconclusive: Function 'deal_with_farmsim_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/farmsim.h:16:71: note: Function 'deal_with_farmsim_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/farmsim.c:130:56: note: Function 'deal_with_farmsim_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/farmsim.c:42:18: style: Variable 'code' can be declared as pointer to const [constVariablePointer] qstat-2.17/farmsim.c:53:54: style: Parameter 'rawpkt' can be declared as pointer to const [constParameterPointer] qstat-2.17/farmsim.c:100:38: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] qstat-2.17/doom3.c:533:4: warning: %hhu in format string (no. 1) requires 'unsigned char' but the argument type is 'char'. [invalidPrintfArgType_uint] qstat-2.17/doom3.c:538:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/doom3.c:543:5: warning: %hhu in format string (no. 1) requires 'unsigned char' but the argument type is 'char'. [invalidPrintfArgType_uint] qstat-2.17/doom3.c:555:7: warning: %hhu in format string (no. 1) requires 'unsigned char' but the argument type is 'char'. [invalidPrintfArgType_uint] qstat-2.17/doom3.c:561:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/doom3.c:566:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/doom3.c:108:11: warning: Either the condition 'sep' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] qstat-2.17/doom3.c:91:16: note: Assuming that condition 'sep' is not redundant qstat-2.17/doom3.c:108:11: note: Null pointer addition qstat-2.17/doom3.c:508:4: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] qstat-2.17/doom3.c:511:6: note: Found duplicate branches for 'if' and 'else'. qstat-2.17/doom3.c:508:4: note: Found duplicate branches for 'if' and 'else'. qstat-2.17/doom3.c:37:8: style: Variable 'val' can be declared as pointer to const [constVariablePointer] qstat-2.17/doom3.c:54:14: style: Variable 'r' can be declared as pointer to const [constVariablePointer] qstat-2.17/doom3.c:56:8: style: Variable 'proto' can be declared as pointer to const [constVariablePointer] qstat-2.17/doom3.c:134:8: style: Variable 'packet' can be declared as pointer to const [constVariablePointer] qstat-2.17/doom3.c:165:8: style: Variable 'packet' can be declared as pointer to const [constVariablePointer] qstat-2.17/doom3.c:76:12: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] qstat-2.17/doom3.c:567:11: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] qstat-2.17/fl.c:498:21: style: Redundant condition: get_player_info. '!get_player_info || (get_player_info && status->have_player)' is equivalent to '!get_player_info || status->have_player' [redundantCondition] qstat-2.17/fl.c:499:22: style: Redundant condition: get_server_rules. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] qstat-2.17/fl.c:240:3: warning: %hhX in format string (no. 1) requires 'unsigned char' but the argument type is 'char'. [invalidPrintfArgType_uint] qstat-2.17/fl.c:343:3: warning: %hhu in format string (no. 1) requires 'unsigned char' but the argument type is 'char'. [invalidPrintfArgType_uint] qstat-2.17/fl.c:347:3: warning: %hhu in format string (no. 1) requires 'unsigned char' but the argument type is 'char'. [invalidPrintfArgType_uint] qstat-2.17/fl.c:351:3: warning: %hhu in format string (no. 1) requires 'unsigned char' but the argument type is 'char'. [invalidPrintfArgType_uint] qstat-2.17/fl.c:187:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/fl.c:186:31: note: Assuming allocation function fails qstat-2.17/fl.c:186:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/fl.c:187:4: note: Null pointer dereference qstat-2.17/fl.c:191:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/fl.c:186:31: note: Assuming allocation function fails qstat-2.17/fl.c:186:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/fl.c:191:3: note: Null pointer dereference qstat-2.17/fl.c:192:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/fl.c:186:31: note: Assuming allocation function fails qstat-2.17/fl.c:186:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/fl.c:192:3: note: Null pointer dereference qstat-2.17/fl.c:193:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/fl.c:186:31: note: Assuming allocation function fails qstat-2.17/fl.c:186:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/fl.c:193:3: note: Null pointer dereference qstat-2.17/fl.c:194:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/fl.c:186:31: note: Assuming allocation function fails qstat-2.17/fl.c:186:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/fl.c:194:3: note: Null pointer dereference qstat-2.17/fl.c:195:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/fl.c:186:31: note: Assuming allocation function fails qstat-2.17/fl.c:186:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/fl.c:195:3: note: Null pointer dereference qstat-2.17/fl.c:196:15: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/fl.c:186:31: note: Assuming allocation function fails qstat-2.17/fl.c:186:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/fl.c:196:15: note: Null pointer dereference qstat-2.17/fl.c:124:8: style: Variable 'str' can be declared as pointer to const [constVariablePointer] qstat-2.17/fl.c:358:7: style: Variable 'pkt' is assigned a value that is never used. [unreadVariable] qstat-2.17/gs2.c:295:11: style: Condition '4==type' is always true [knownConditionTrueFalse] qstat-2.17/gs2.c:288:8: note: Assuming that condition '4!=type' is not redundant qstat-2.17/gs2.c:295:11: note: Condition '4==type' is always true qstat-2.17/gs2.c:43:52: style:inconclusive: Function 'deal_with_gs2_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/gs2.h:16:67: note: Function 'deal_with_gs2_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/gs2.c:43:52: note: Function 'deal_with_gs2_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/gs2.c:46:8: style: Variable 'end' can be declared as pointer to const [constVariablePointer] qstat-2.17/gs3.c:626:13: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] qstat-2.17/gs3.c:620:15: note: outer condition: ptr=end qstat-2.17/gs3.c:524:13: style: Condition 'ptr>=end' is always false [knownConditionTrueFalse] qstat-2.17/gs3.c:498:15: note: Assuming that condition 'ptr=end' is always false qstat-2.17/gs3.c:312:4: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] qstat-2.17/gs3.c:314:6: note: Found duplicate branches for 'if' and 'else'. qstat-2.17/gs3.c:312:4: note: Found duplicate branches for 'if' and 'else'. qstat-2.17/gs3.c:55:52: style:inconclusive: Function 'deal_with_gs3_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/gs3.h:16:67: note: Function 'deal_with_gs3_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/gs3.c:55:52: note: Function 'deal_with_gs3_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/gs3.c:355:13: style: Local variable 'val' shadows outer variable [shadowVariable] qstat-2.17/gs3.c:309:16: note: Shadowed declaration qstat-2.17/gs3.c:355:13: note: Shadow variable qstat-2.17/gs3.c:288:9: style: Variable 'end' can be declared as pointer to const [constVariablePointer] qstat-2.17/gs3.c:593:10: style: Variable 'header' can be declared as pointer to const [constVariablePointer] qstat-2.17/gs3.c:668:8: style: Variable 'packet' can be declared as pointer to const [constVariablePointer] qstat-2.17/gs3.c:143:7: style: Variable 'pkti' is assigned a value that is never used. [unreadVariable] qstat-2.17/gs3.c:266:6: style: Variable 'pkt' is assigned a value that is never used. [unreadVariable] qstat-2.17/display_json.c:321:58: style: Condition 'player->skin' is always true [knownConditionTrueFalse] qstat-2.17/display_json.c:324:58: style: Condition 'player->mesh' is always true [knownConditionTrueFalse] qstat-2.17/display_json.c:327:58: style: Condition 'player->face' is always true [knownConditionTrueFalse] qstat-2.17/display_json.c:641:58: style: Condition 'player->tribe_tag' is always true [knownConditionTrueFalse] qstat-2.17/display_json.c:1053:38: style: Condition '(0x09==c)||(0xA==c)||(0xD==c)||((0x20<=c)&&(0xD7FF>=c))||((0xE000<=c)&&(0xFFFD>=c))||((0x10000<=c)&&(0x10FFFF>=c))' is always true [knownConditionTrueFalse] qstat-2.17/display_json.c:1022:7: note: Assuming that condition '!((0x09==c)||(0xA==c)||(0xD==c)||((0x20<=c)&&(0xD7FF>=c))||((0xE000<=c)&&(0xFFFD>=c))||((0x10000<=c)&&(0x10FFFF>=c)))' is not redundant qstat-2.17/display_json.c:1053:38: note: Condition '(0x09==c)||(0xA==c)||(0xD==c)||((0x20<=c)&&(0xD7FF>=c))||((0xE000<=c)&&(0xFFFD>=c))||((0x10000<=c)&&(0x10FFFF>=c))' is always true qstat-2.17/display_json.c:1033:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/display_json.c:1113:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/display_json.c:40:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sorted_types [nullPointerOutOfMemory] qstat-2.17/display_json.c:37:39: note: Assuming allocation function fails qstat-2.17/display_json.c:37:17: note: Assignment 'sorted_types=(struct server_type**)malloc(sizeof(struct server_type*)*n_server_types)', assigned value is 0 qstat-2.17/display_json.c:40:3: note: Null pointer dereference qstat-2.17/display_json.c:47:10: warning: If memory allocation fails, then there is a possible null pointer dereference: sorted_types [nullPointerOutOfMemory] qstat-2.17/display_json.c:37:39: note: Assuming allocation function fails qstat-2.17/display_json.c:37:17: note: Assignment 'sorted_types=(struct server_type**)malloc(sizeof(struct server_type*)*n_server_types)', assigned value is 0 qstat-2.17/display_json.c:47:10: note: Null pointer dereference qstat-2.17/display_json.c:990:30: style: Variable 'end' can be declared as pointer to const [constVariablePointer] qstat-2.17/hcache.c:81:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] qstat-2.17/hcache.c:227:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] qstat-2.17/hcache.c:303:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/hcache.c:359:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] qstat-2.17/haze.c:474:13: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] qstat-2.17/haze.c:468:15: note: outer condition: ptr=end qstat-2.17/haze.c:380:13: style: Condition 'ptr>=end' is always false [knownConditionTrueFalse] qstat-2.17/haze.c:354:15: note: Assuming that condition 'ptr=end' is always false qstat-2.17/haze.c:62:53: style:inconclusive: Function 'deal_with_haze_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/haze.h:21:68: note: Function 'deal_with_haze_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/haze.c:62:53: note: Function 'deal_with_haze_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/haze.c:212:9: style: Variable 'end' can be declared as pointer to const [constVariablePointer] qstat-2.17/haze.c:447:10: style: Variable 'header' can be declared as pointer to const [constVariablePointer] qstat-2.17/haze.c:516:8: style: Variable 'packet' can be declared as pointer to const [constVariablePointer] qstat-2.17/haze.c:79:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] qstat-2.17/hcache.c:309:10: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] qstat-2.17/hcache.c:313:10: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] qstat-2.17/hcache.c:359:9: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] qstat-2.17/hcache.c:363:9: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] qstat-2.17/hcache.c:106:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] qstat-2.17/hcache.c:132:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] qstat-2.17/hcache.c:155:4: error: Common realloc mistake: 'hcache' nulled but not freed upon failure [memleakOnRealloc] qstat-2.17/hcache.c:205:16: warning: Possible null pointer dereference: hostname [nullPointer] qstat-2.17/hcache.c:122:30: note: Calling function 'init_entry', 2nd argument 'NULL' value is 0 qstat-2.17/hcache.c:164:27: note: Calling function 'find_host_entry', 1st argument 'hostname' value is 0 qstat-2.17/hcache.c:205:16: note: Null pointer dereference qstat-2.17/hcache.c:210:48: warning: Possible null pointer dereference: hostname [nullPointer] qstat-2.17/hcache.c:122:30: note: Calling function 'init_entry', 2nd argument 'NULL' value is 0 qstat-2.17/hcache.c:164:27: note: Calling function 'find_host_entry', 1st argument 'hostname' value is 0 qstat-2.17/hcache.c:210:48: note: Null pointer dereference qstat-2.17/hcache.c:200:23: style: Parameter 'hostname' can be declared as pointer to const [constParameterPointer] qstat-2.17/hcache.c:220:25: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] qstat-2.17/ksp.c:202:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] qstat-2.17/ksp.c:260:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] qstat-2.17/ksp.c:138:52: style:inconclusive: Function 'deal_with_ksp_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/ksp.h:16:67: note: Function 'deal_with_ksp_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/ksp.c:138:52: note: Function 'deal_with_ksp_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/ksp.c:52:50: style: Parameter 'rawpkt' can be declared as pointer to const [constParameterPointer] qstat-2.17/ksp.c:99:35: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] qstat-2.17/mumble.c:46:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] qstat-2.17/mumble.c:46:2: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] qstat-2.17/mumble.c:46:2: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] qstat-2.17/mumble.c:31:55: style:inconclusive: Function 'deal_with_mumble_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/mumble.h:16:70: note: Function 'deal_with_mumble_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/mumble.c:31:55: note: Function 'deal_with_mumble_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/mumble.c:64:6: style: Variable 'pkt' is assigned a value that is never used. [unreadVariable] qstat-2.17/md5.c:410:8: style: Variable 'digestp' can be declared as pointer to const [constVariablePointer] qstat-2.17/packet_manip.c:51:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/packet_manip.c:198:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/packet_manip.c:219:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/ottd.c:249:4: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] qstat-2.17/ottd.c:256:4: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] qstat-2.17/ottd.c:263:4: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] qstat-2.17/ottd.c:255:8: style: Variable 'lli' is reassigned a value before the old one has been used. [redundantAssignment] qstat-2.17/ottd.c:254:8: note: lli is assigned qstat-2.17/ottd.c:255:8: note: lli is overwritten qstat-2.17/ottd.c:229:7: style: Variable 'nr' is assigned a value that is never used. [unreadVariable] qstat-2.17/packet_manip.c:51:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/packet_manip.c:188:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/packet_manip.c:187:30: note: Assuming allocation function fails qstat-2.17/packet_manip.c:187:11: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/packet_manip.c:188:3: note: Null pointer dereference qstat-2.17/packet_manip.c:192:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/packet_manip.c:187:30: note: Assuming allocation function fails qstat-2.17/packet_manip.c:187:11: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/packet_manip.c:192:2: note: Null pointer dereference qstat-2.17/packet_manip.c:193:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/packet_manip.c:187:30: note: Assuming allocation function fails qstat-2.17/packet_manip.c:187:11: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/packet_manip.c:193:2: note: Null pointer dereference qstat-2.17/packet_manip.c:194:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/packet_manip.c:187:30: note: Assuming allocation function fails qstat-2.17/packet_manip.c:187:11: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/packet_manip.c:194:2: note: Null pointer dereference qstat-2.17/packet_manip.c:195:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/packet_manip.c:187:30: note: Assuming allocation function fails qstat-2.17/packet_manip.c:187:11: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/packet_manip.c:195:2: note: Null pointer dereference qstat-2.17/packet_manip.c:196:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/packet_manip.c:187:30: note: Assuming allocation function fails qstat-2.17/packet_manip.c:187:11: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/packet_manip.c:196:2: note: Null pointer dereference qstat-2.17/packet_manip.c:196:31: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/packet_manip.c:187:30: note: Assuming allocation function fails qstat-2.17/packet_manip.c:187:11: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/packet_manip.c:196:31: note: Null pointer dereference qstat-2.17/packet_manip.c:197:14: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/packet_manip.c:187:30: note: Assuming allocation function fails qstat-2.17/packet_manip.c:187:11: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/packet_manip.c:197:14: note: Null pointer dereference qstat-2.17/packet_manip.c:155:104: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] qstat-2.17/qserver.c:96:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] qstat-2.17/qserver.c:159:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] qstat-2.17/qserver.c:161:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qserver.c:161:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qserver.c:161:2: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qserver.c:161:2: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qserver.c:92:32: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] qstat-2.17/qserver.c:156:28: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] qstat-2.17/gps.c:106:13: style: Redundant condition: The condition '*s' is redundant since '*s == '\\'' is sufficient. [redundantCondition] qstat-2.17/gps.c:148:12: style: Condition 'isalpha((unsigned char)s[1])' is always true [knownConditionTrueFalse] qstat-2.17/gps.c:72:52: style:inconclusive: Function 'deal_with_gps_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/gps.h:16:67: note: Function 'deal_with_gps_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/gps.c:72:52: note: Function 'deal_with_gps_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/gps.c:43:36: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] qstat-2.17/starmade.c:168:57: style:inconclusive: Function 'deal_with_starmade_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/starmade.h:16:72: note: Function 'deal_with_starmade_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/starmade.c:168:57: note: Function 'deal_with_starmade_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/starmade.c:43:7: style: Variable 'buf' can be declared as const array [constVariable] qstat-2.17/tee.c:226:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] qstat-2.17/tee.c:233:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] qstat-2.17/tee.c:240:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] qstat-2.17/tee.c:120:70: style:inconclusive: Function 'deal_with_teeserver_packet' argument 3 names different: declaration 'pktlen' definition 'rawpktlen'. [funcArgNamesDifferent] qstat-2.17/tee.h:17:85: note: Function 'deal_with_teeserver_packet' argument 3 names different: declaration 'pktlen' definition 'rawpktlen'. qstat-2.17/tee.c:120:70: note: Function 'deal_with_teeserver_packet' argument 3 names different: declaration 'pktlen' definition 'rawpktlen'. qstat-2.17/tee.c:369:70: style:inconclusive: Function 'deal_with_teemaster_packet' argument 3 names different: declaration 'pktlen' definition 'rawpktlen'. [funcArgNamesDifferent] qstat-2.17/tee.h:19:85: note: Function 'deal_with_teemaster_packet' argument 3 names different: declaration 'pktlen' definition 'rawpktlen'. qstat-2.17/tee.c:369:70: note: Function 'deal_with_teemaster_packet' argument 3 names different: declaration 'pktlen' definition 'rawpktlen'. qstat-2.17/tee.c:124:25: style: Variable 'end' can be declared as pointer to const [constVariablePointer] qstat-2.17/tee.c:124:55: style: Variable 'tok' can be declared as pointer to const [constVariablePointer] qstat-2.17/template.c:1123:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/terraria.c:38:57: style:inconclusive: Function 'deal_with_terraria_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/terraria.h:16:72: note: Function 'deal_with_terraria_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/terraria.c:38:57: note: Function 'deal_with_terraria_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/terraria.c:40:24: style: Variable 'sep' can be declared as pointer to const [constVariablePointer] qstat-2.17/terraria.c:143:10: style: Variable 'player_name' can be declared as pointer to const [constVariablePointer] qstat-2.17/template.c:924:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] qstat-2.17/template.c:326:2: error: Resource leak: file [resourceLeak] qstat-2.17/template.c:1086:13: warning: If memory allocation fails, then there is a possible null pointer dereference: variable_option [nullPointerOutOfMemory] qstat-2.17/template.c:1085:37: note: Assuming allocation function fails qstat-2.17/template.c:1085:23: note: Assignment 'variable_option=(char*)malloc(v-colon+1)', assigned value is 0 qstat-2.17/template.c:1086:13: note: Null pointer dereference qstat-2.17/template.c:1087:5: warning: If memory allocation fails, then there is a possible null pointer dereference: variable_option [nullPointerOutOfMemory] qstat-2.17/template.c:1085:37: note: Assuming allocation function fails qstat-2.17/template.c:1085:23: note: Assignment 'variable_option=(char*)malloc(v-colon+1)', assigned value is 0 qstat-2.17/template.c:1087:5: note: Null pointer dereference qstat-2.17/template.c:1160:18: style: Local variable 'rule' shadows outer argument [shadowArgument] qstat-2.17/template.c:1102:69: note: Shadowed declaration qstat-2.17/template.c:1160:18: note: Shadow variable qstat-2.17/template.c:301:21: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] qstat-2.17/template.c:624:8: style: Variable 'game' can be declared as pointer to const [constVariablePointer] qstat-2.17/template.c:1037:24: style: Variable 'colon' can be declared as pointer to const [constVariablePointer] qstat-2.17/template.c:1102:69: style: Parameter 'rule' can be declared as pointer to const [constParameterPointer] qstat-2.17/template.c:1103:11: style: Parameter 'expr' can be declared as pointer to const [constParameterPointer] qstat-2.17/template.c:1106:8: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] qstat-2.17/template.c:1106:30: style: Variable 'rparen' can be declared as pointer to const [constVariablePointer] qstat-2.17/template.c:1129:11: style: Variable 'g' can be declared as pointer to const [constVariablePointer] qstat-2.17/tf.c:108:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] qstat-2.17/tf.c:452:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] qstat-2.17/tf.c:159:8: style: Variable 'key' can be declared as pointer to const [constVariablePointer] qstat-2.17/ts2.c:68:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] qstat-2.17/ts2.c:124:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] qstat-2.17/ts2.c:68:4: style: Variable 's' is reassigned a value before the old one has been used. [redundantAssignment] qstat-2.17/ts2.c:67:4: note: s is assigned qstat-2.17/ts2.c:68:4: note: s is overwritten qstat-2.17/ts2.c:48:52: style:inconclusive: Function 'deal_with_ts2_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/ts2.h:16:67: note: Function 'deal_with_ts2_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/ts2.c:48:52: note: Function 'deal_with_ts2_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/tm.c:177:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] qstat-2.17/tm.c:186:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] qstat-2.17/tm.c:272:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] qstat-2.17/tm.c:177:4: style: Variable 's' is reassigned a value before the old one has been used. [redundantAssignment] qstat-2.17/tm.c:130:6: note: s is assigned qstat-2.17/tm.c:177:4: note: s is overwritten qstat-2.17/tm.c:77:51: style:inconclusive: Function 'deal_with_tm_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/tm.h:16:66: note: Function 'deal_with_tm_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/tm.c:77:51: note: Function 'deal_with_tm_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/tm.c:37:8: style: Variable 'user' can be declared as pointer to const [constVariablePointer] qstat-2.17/tm.c:38:8: style: Variable 'password' can be declared as pointer to const [constVariablePointer] qstat-2.17/ts3.c:283:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] qstat-2.17/ts3.c:395:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] qstat-2.17/ts3.c:283:4: style: Variable 's' is reassigned a value before the old one has been used. [redundantAssignment] qstat-2.17/ts3.c:220:4: note: s is assigned qstat-2.17/ts3.c:283:4: note: s is overwritten qstat-2.17/ts3.c:204:52: style:inconclusive: Function 'deal_with_ts3_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/ts3.h:16:67: note: Function 'deal_with_ts3_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/ts3.c:204:52: note: Function 'deal_with_ts3_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/ts3.c:57:18: style: Variable 'password' can be declared as pointer to const [constVariablePointer] qstat-2.17/ts3.c:57:29: style: Variable 'username' can be declared as pointer to const [constVariablePointer] qstat-2.17/ts3.c:99:18: style: Variable 'password' can be declared as pointer to const [constVariablePointer] qstat-2.17/ts3.c:99:29: style: Variable 'username' can be declared as pointer to const [constVariablePointer] qstat-2.17/ts3.c:170:8: style: Variable 'end' can be declared as pointer to const [constVariablePointer] qstat-2.17/ut2004.c:593:6: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] qstat-2.17/ut2004.c:592:19: note: Assuming allocation function fails qstat-2.17/ut2004.c:592:19: note: Assignment 'data=malloc(sizeof(struct SavedData))', assigned value is 0 qstat-2.17/ut2004.c:593:6: note: Null pointer dereference qstat-2.17/ut2004.c:594:6: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] qstat-2.17/ut2004.c:592:19: note: Assuming allocation function fails qstat-2.17/ut2004.c:592:19: note: Assignment 'data=malloc(sizeof(struct SavedData))', assigned value is 0 qstat-2.17/ut2004.c:594:6: note: Null pointer dereference qstat-2.17/ut2004.c:595:13: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] qstat-2.17/ut2004.c:592:19: note: Assuming allocation function fails qstat-2.17/ut2004.c:592:19: note: Assignment 'data=malloc(sizeof(struct SavedData))', assigned value is 0 qstat-2.17/ut2004.c:595:13: note: Null pointer dereference qstat-2.17/ut2004.c:595:28: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] qstat-2.17/ut2004.c:592:19: note: Assuming allocation function fails qstat-2.17/ut2004.c:592:19: note: Assignment 'data=malloc(sizeof(struct SavedData))', assigned value is 0 qstat-2.17/ut2004.c:595:28: note: Null pointer dereference qstat-2.17/ut2004.c:596:6: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] qstat-2.17/ut2004.c:592:19: note: Assuming allocation function fails qstat-2.17/ut2004.c:592:19: note: Assignment 'data=malloc(sizeof(struct SavedData))', assigned value is 0 qstat-2.17/ut2004.c:596:6: note: Null pointer dereference qstat-2.17/ut2004.c:357:11: warning: Either the condition 'sep' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] qstat-2.17/ut2004.c:283:18: note: Assuming that condition 'sep' is not redundant qstat-2.17/ut2004.c:357:11: note: Null pointer addition qstat-2.17/ut2004.c:187:51: style: Parameter 'pkt' can be declared as pointer to const [constParameterPointer] qstat-2.17/ut2004.c:265:16: style: Variable 'r' can be declared as pointer to const [constVariablePointer] qstat-2.17/ut2004.c:266:16: style: Variable 'flen' is assigned a value that is never used. [unreadVariable] qstat-2.17/utils.c:92:10: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] qstat-2.17/utils.c:91:26: note: Assuming allocation function fails qstat-2.17/utils.c:91:12: note: Assignment 'result=(char*)malloc(len+1)', assigned value is 0 qstat-2.17/utils.c:92:10: note: Null pointer dereference qstat-2.17/utils.c:93:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] qstat-2.17/utils.c:91:26: note: Assuming allocation function fails qstat-2.17/utils.c:91:12: note: Assignment 'result=(char*)malloc(len+1)', assigned value is 0 qstat-2.17/utils.c:93:3: note: Null pointer dereference qstat-2.17/utils.c:140:33: style: Parameter 'find' can be declared as pointer to const [constParameterPointer] qstat-2.17/utils.c:140:45: style: Parameter 'replace' can be declared as pointer to const [constParameterPointer] qstat-2.17/ventrilo.c:281:57: style:inconclusive: Function 'deal_with_ventrilo_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/ventrilo.h:17:72: note: Function 'deal_with_ventrilo_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/ventrilo.c:281:57: note: Function 'deal_with_ventrilo_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/ventrilo.c:228:33: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] qstat-2.17/ventrilo.c:242:57: style: Parameter 'pass' can be declared as pointer to const [constParameterPointer] qstat-2.17/ventrilo.c:329:10: style: Variable 'player_info' can be declared as pointer to const [constVariablePointer] qstat-2.17/wic.c:111:20: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] qstat-2.17/wic.c:49:52: style:inconclusive: Function 'deal_with_wic_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/wic.h:16:67: note: Function 'deal_with_wic_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/wic.c:49:52: note: Function 'deal_with_wic_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/wic.c:30:8: style: Variable 'password' can be declared as pointer to const [constVariablePointer] qstat-2.17/wic.c:51:12: style: Variable 'end' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:2546:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:2607:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:2857:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type_id [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:2949:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:2973:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:3146:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:3287:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:3798:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:3860:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:3903:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:3952:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:4189:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:4294:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:4431:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:4490:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:4559:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:5123:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:6090:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:6144:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:6406:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:6785:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:6930:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:7331:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:7405:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:7536:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:7799:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:8183:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:10260:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:11084:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:11259:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:11270:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:11281:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:11292:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] qstat-2.17/qstat.c:11303:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] qstat-2.17/xform.c:626:18: style: Condition '*s>=0x12' is always true [knownConditionTrueFalse] qstat-2.17/xform.c:617:10: note: Assuming that condition '*s<' '' is not redundant qstat-2.17/xform.c:626:18: note: Condition '*s>=0x12' is always true qstat-2.17/xform.c:626:34: style: Condition '*s<0x1c' is always false [knownConditionTrueFalse] qstat-2.17/xform.c:617:10: note: Assuming that condition '*s<' '' is not redundant qstat-2.17/xform.c:626:34: note: Condition '*s<0x1c' is always false qstat-2.17/xform.c:732:4: warning: %hhx in format string (no. 1) requires 'unsigned char' but the argument type is 'char'. [invalidPrintfArgType_uint] qstat-2.17/xform.c:112:8: style: Variable 'oldbuf' can be declared as pointer to const [constVariablePointer] qstat-2.17/xform.c:369:10: style: Variable 'font_color' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:9416:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] qstat-2.17/qstat.c:4309:12: warning: Identical inner 'return' condition is always true. [identicalInnerCondition] qstat-2.17/qstat.c:4308:7: note: outer condition: *hashed qstat-2.17/qstat.c:4309:12: note: identical inner condition: *hashed qstat-2.17/qstat.c:3124:19: style: Redundant condition: !connected. 'connected || (!connected && bind_retry==-2)' is equivalent to 'connected || bind_retry==-2' [redundantCondition] qstat-2.17/qstat.c:6902:13: style: Redundant condition: The condition '*p' is redundant since '*p == '\\'' is sufficient. [redundantCondition] qstat-2.17/qstat.c:1918:56: style: Condition 'player->skin' is always true [knownConditionTrueFalse] qstat-2.17/qstat.c:1921:56: style: Condition 'player->mesh' is always true [knownConditionTrueFalse] qstat-2.17/qstat.c:1924:56: style: Condition 'player->face' is always true [knownConditionTrueFalse] qstat-2.17/qstat.c:2188:56: style: Condition 'player->tribe_tag' is always true [knownConditionTrueFalse] qstat-2.17/qstat.c:2945:30: style: Condition '!isdigit((unsigned char)*ip)' is always true [knownConditionTrueFalse] qstat-2.17/qstat.c:4958:34: style: Condition 'server->server_name!=NULL' is always true [knownConditionTrueFalse] qstat-2.17/qstat.c:8389:68: style: Condition 'rawpkt[4]!='m'' is always true [knownConditionTrueFalse] qstat-2.17/qstat.c:8389:90: style: Condition 'rawpkt[4]!='C'' is always true [knownConditionTrueFalse] qstat-2.17/qstat.c:11111:38: style: Condition '(0x09==c)||(0xA==c)||(0xD==c)||((0x20<=c)&&(0xD7FF>=c))||((0xE000<=c)&&(0xFFFD>=c))||((0x10000<=c)&&(0x10FFFF>=c))' is always true [knownConditionTrueFalse] qstat-2.17/qstat.c:11073:7: note: Assuming that condition '!((0x09==c)||(0xA==c)||(0xD==c)||((0x20<=c)&&(0xD7FF>=c))||((0xE000<=c)&&(0xFFFD>=c))||((0x10000<=c)&&(0x10FFFF>=c)))' is not redundant qstat-2.17/qstat.c:11111:38: note: Condition '(0x09==c)||(0xA==c)||(0xD==c)||((0x20<=c)&&(0xD7FF>=c))||((0xE000<=c)&&(0xFFFD>=c))||((0x10000<=c)&&(0x10FFFF>=c))' is always true qstat-2.17/qstat.c:2607:3: warning: fprintf format string requires 0 parameters but 1 is given. [wrongPrintfScanfArgNum] qstat-2.17/qstat.c:2880:2: warning: %i in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] qstat-2.17/qstat.c:4116:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:4116:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:4116:2: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:4116:2: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:4206:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:4206:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:4206:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:4206:5: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:4301:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:4301:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:6144:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:6144:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:6144:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:6144:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:6226:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:6226:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:6226:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:6226:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:6406:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:6406:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:6406:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:6406:4: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:6785:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:6785:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:6785:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:6785:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:7515:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:7515:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:7515:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:7515:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:8183:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:8183:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:8183:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:8183:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:9171:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'char'. [invalidPrintfArgType_uint] qstat-2.17/qstat.c:9343:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] qstat-2.17/qstat.c:9346:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] qstat-2.17/qstat.c:10119:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:10123:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:10311:3: warning: %hhu in format string (no. 1) requires 'unsigned char' but the argument type is 'char'. [invalidPrintfArgType_uint] qstat-2.17/qstat.c:10679:3: warning: %hhu in format string (no. 1) requires 'unsigned char' but the argument type is 'char'. [invalidPrintfArgType_uint] qstat-2.17/qstat.c:11084:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:11171:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] qstat-2.17/qstat.c:3872:10: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] qstat-2.17/qstat.c:3881:14: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] qstat-2.17/qstat.c:4392:4: error: Common realloc mistake: 'connmap' nulled but not freed upon failure [memleakOnRealloc] qstat-2.17/qstat.c:2624:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sorted_types [nullPointerOutOfMemory] qstat-2.17/qstat.c:2621:39: note: Assuming allocation function fails qstat-2.17/qstat.c:2621:17: note: Assignment 'sorted_types=(struct server_type**)malloc(sizeof(struct server_type*)*n_server_types)', assigned value is 0 qstat-2.17/qstat.c:2624:3: note: Null pointer dereference qstat-2.17/qstat.c:2629:10: warning: If memory allocation fails, then there is a possible null pointer dereference: sorted_types [nullPointerOutOfMemory] qstat-2.17/qstat.c:2621:39: note: Assuming allocation function fails qstat-2.17/qstat.c:2621:17: note: Assignment 'sorted_types=(struct server_type**)malloc(sizeof(struct server_type*)*n_server_types)', assigned value is 0 qstat-2.17/qstat.c:2629:10: note: Null pointer dereference qstat-2.17/qstat.c:2637:10: warning: If memory allocation fails, then there is a possible null pointer dereference: sorted_types [nullPointerOutOfMemory] qstat-2.17/qstat.c:2621:39: note: Assuming allocation function fails qstat-2.17/qstat.c:2621:17: note: Assignment 'sorted_types=(struct server_type**)malloc(sizeof(struct server_type*)*n_server_types)', assigned value is 0 qstat-2.17/qstat.c:2637:10: note: Null pointer dereference qstat-2.17/qstat.c:2857:3: warning: If memory allocation fails, then there is a possible null pointer dereference: *args [nullPointerOutOfMemory] qstat-2.17/qstat.c:2851:39: note: Assuming allocation function fails qstat-2.17/qstat.c:2851:12: note: Assignment '*args=(struct server_arg*)malloc(sizeof(struct server_arg)*(*max))', assigned value is 0 qstat-2.17/qstat.c:2857:3: note: Null pointer dereference qstat-2.17/qstat.c:2877:2: warning: If memory allocation fails, then there is a possible null pointer dereference: param [nullPointerOutOfMemory] qstat-2.17/qstat.c:2876:38: note: Assuming allocation function fails qstat-2.17/qstat.c:2876:10: note: Assignment 'param=(struct query_param*)malloc(sizeof(struct query_param))', assigned value is 0 qstat-2.17/qstat.c:2877:2: note: Null pointer dereference qstat-2.17/qstat.c:2878:2: warning: If memory allocation fails, then there is a possible null pointer dereference: param [nullPointerOutOfMemory] qstat-2.17/qstat.c:2876:38: note: Assuming allocation function fails qstat-2.17/qstat.c:2876:10: note: Assignment 'param=(struct query_param*)malloc(sizeof(struct query_param))', assigned value is 0 qstat-2.17/qstat.c:2878:2: note: Null pointer dereference qstat-2.17/qstat.c:2881:2: warning: If memory allocation fails, then there is a possible null pointer dereference: param [nullPointerOutOfMemory] qstat-2.17/qstat.c:2876:38: note: Assuming allocation function fails qstat-2.17/qstat.c:2876:10: note: Assignment 'param=(struct query_param*)malloc(sizeof(struct query_param))', assigned value is 0 qstat-2.17/qstat.c:2881:2: note: Null pointer dereference qstat-2.17/qstat.c:2996:9: warning: If memory allocation fails, then there is a possible null pointer dereference: new_types [nullPointerOutOfMemory] qstat-2.17/qstat.c:2994:35: note: Assuming allocation function fails qstat-2.17/qstat.c:2994:14: note: Assignment 'new_types=(struct server_type*)malloc(sizeof(struct server_type)*(n_builtin_types+n_config_types+1))', assigned value is 0 qstat-2.17/qstat.c:2996:9: note: Null pointer dereference qstat-2.17/qstat.c:3002:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_types [nullPointerOutOfMemory] qstat-2.17/qstat.c:2994:35: note: Assuming allocation function fails qstat-2.17/qstat.c:2994:14: note: Assignment 'new_types=(struct server_type*)malloc(sizeof(struct server_type)*(n_builtin_types+n_config_types+1))', assigned value is 0 qstat-2.17/qstat.c:3002:2: note: Null pointer dereference qstat-2.17/qstat.c:3813:5: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] qstat-2.17/qstat.c:3810:37: note: Assuming allocation function fails qstat-2.17/qstat.c:3810:12: note: Assignment 'array=(struct qserver**)malloc(sizeof(struct qserver*)*num_servers_total)', assigned value is 0 qstat-2.17/qstat.c:3813:5: note: Null pointer dereference qstat-2.17/qstat.c:3821:20: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] qstat-2.17/qstat.c:3810:37: note: Assuming allocation function fails qstat-2.17/qstat.c:3810:12: note: Assignment 'array=(struct qserver**)malloc(sizeof(struct qserver*)*num_servers_total)', assigned value is 0 qstat-2.17/qstat.c:3821:20: note: Null pointer dereference qstat-2.17/qstat.c:3998:5: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:3993:36: note: Assuming allocation function fails qstat-2.17/qstat.c:3993:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:3998:5: note: Null pointer dereference qstat-2.17/qstat.c:4000:13: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:3993:36: note: Assuming allocation function fails qstat-2.17/qstat.c:3993:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4000:13: note: Null pointer dereference qstat-2.17/qstat.c:4002:5: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:3993:36: note: Assuming allocation function fails qstat-2.17/qstat.c:3993:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4002:5: note: Null pointer dereference qstat-2.17/qstat.c:4004:4: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:3993:36: note: Assuming allocation function fails qstat-2.17/qstat.c:3993:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4004:4: note: Null pointer dereference qstat-2.17/qstat.c:4005:4: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:3993:36: note: Assuming allocation function fails qstat-2.17/qstat.c:3993:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4005:4: note: Null pointer dereference qstat-2.17/qstat.c:4006:4: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:3993:36: note: Assuming allocation function fails qstat-2.17/qstat.c:3993:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4006:4: note: Null pointer dereference qstat-2.17/qstat.c:4006:24: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:3993:36: note: Assuming allocation function fails qstat-2.17/qstat.c:3993:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4006:24: note: Null pointer dereference qstat-2.17/qstat.c:4006:45: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:3993:36: note: Assuming allocation function fails qstat-2.17/qstat.c:3993:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4006:45: note: Null pointer dereference qstat-2.17/qstat.c:4029:3: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4028:36: note: Assuming allocation function fails qstat-2.17/qstat.c:4028:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4029:3: note: Null pointer dereference qstat-2.17/qstat.c:4031:12: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4028:36: note: Assuming allocation function fails qstat-2.17/qstat.c:4028:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4031:12: note: Null pointer dereference qstat-2.17/qstat.c:4040:3: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4028:36: note: Assuming allocation function fails qstat-2.17/qstat.c:4028:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4040:3: note: Null pointer dereference qstat-2.17/qstat.c:4041:3: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4028:36: note: Assuming allocation function fails qstat-2.17/qstat.c:4028:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4041:3: note: Null pointer dereference qstat-2.17/qstat.c:4041:23: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4028:36: note: Assuming allocation function fails qstat-2.17/qstat.c:4028:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4041:23: note: Null pointer dereference qstat-2.17/qstat.c:4041:44: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4028:36: note: Assuming allocation function fails qstat-2.17/qstat.c:4028:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4041:44: note: Null pointer dereference qstat-2.17/qstat.c:4042:3: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4028:36: note: Assuming allocation function fails qstat-2.17/qstat.c:4028:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4042:3: note: Null pointer dereference qstat-2.17/qstat.c:4043:3: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4028:36: note: Assuming allocation function fails qstat-2.17/qstat.c:4028:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4043:3: note: Null pointer dereference qstat-2.17/qstat.c:4044:3: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4028:36: note: Assuming allocation function fails qstat-2.17/qstat.c:4028:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4044:3: note: Null pointer dereference qstat-2.17/qstat.c:4045:3: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4028:36: note: Assuming allocation function fails qstat-2.17/qstat.c:4028:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4045:3: note: Null pointer dereference qstat-2.17/qstat.c:4047:4: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4028:36: note: Assuming allocation function fails qstat-2.17/qstat.c:4028:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4047:4: note: Null pointer dereference qstat-2.17/qstat.c:4048:31: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4028:36: note: Assuming allocation function fails qstat-2.17/qstat.c:4028:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4048:31: note: Null pointer dereference qstat-2.17/qstat.c:4050:4: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4028:36: note: Assuming allocation function fails qstat-2.17/qstat.c:4028:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4050:4: note: Null pointer dereference qstat-2.17/qstat.c:4054:7: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4028:36: note: Assuming allocation function fails qstat-2.17/qstat.c:4028:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4054:7: note: Null pointer dereference qstat-2.17/qstat.c:4114:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4114:2: note: Null pointer dereference qstat-2.17/qstat.c:4117:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4117:2: note: Null pointer dereference qstat-2.17/qstat.c:4130:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4130:2: note: Null pointer dereference qstat-2.17/qstat.c:4130:22: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4130:22: note: Null pointer dereference qstat-2.17/qstat.c:4130:43: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4130:43: note: Null pointer dereference qstat-2.17/qstat.c:4238:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4238:2: note: Null pointer dereference qstat-2.17/qstat.c:4239:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4239:2: note: Null pointer dereference qstat-2.17/qstat.c:4240:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4240:2: note: Null pointer dereference qstat-2.17/qstat.c:4241:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4241:2: note: Null pointer dereference qstat-2.17/qstat.c:4242:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4242:2: note: Null pointer dereference qstat-2.17/qstat.c:4243:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4243:2: note: Null pointer dereference qstat-2.17/qstat.c:4244:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4244:2: note: Null pointer dereference qstat-2.17/qstat.c:4252:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4252:2: note: Null pointer dereference qstat-2.17/qstat.c:4253:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4253:2: note: Null pointer dereference qstat-2.17/qstat.c:4254:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4254:2: note: Null pointer dereference qstat-2.17/qstat.c:4255:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4255:2: note: Null pointer dereference qstat-2.17/qstat.c:4257:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4257:2: note: Null pointer dereference qstat-2.17/qstat.c:4258:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4258:2: note: Null pointer dereference qstat-2.17/qstat.c:4259:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4259:2: note: Null pointer dereference qstat-2.17/qstat.c:4260:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4260:2: note: Null pointer dereference qstat-2.17/qstat.c:4262:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4262:2: note: Null pointer dereference qstat-2.17/qstat.c:4263:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4263:2: note: Null pointer dereference qstat-2.17/qstat.c:4264:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4264:2: note: Null pointer dereference qstat-2.17/qstat.c:4265:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4265:2: note: Null pointer dereference qstat-2.17/qstat.c:4266:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4266:2: note: Null pointer dereference qstat-2.17/qstat.c:4268:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4268:2: note: Null pointer dereference qstat-2.17/qstat.c:4269:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4269:2: note: Null pointer dereference qstat-2.17/qstat.c:4270:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4270:2: note: Null pointer dereference qstat-2.17/qstat.c:4272:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4272:2: note: Null pointer dereference qstat-2.17/qstat.c:4273:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4273:2: note: Null pointer dereference qstat-2.17/qstat.c:4274:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4274:2: note: Null pointer dereference qstat-2.17/qstat.c:4275:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4275:2: note: Null pointer dereference qstat-2.17/qstat.c:4276:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4276:2: note: Null pointer dereference qstat-2.17/qstat.c:4277:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4131:15: note: Calling function 'init_qserver', 1st argument 'server' value is 0 qstat-2.17/qstat.c:4277:2: note: Null pointer dereference qstat-2.17/qstat.c:6272:11: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] qstat-2.17/qstat.c:6271:26: note: Assuming allocation function fails qstat-2.17/qstat.c:6271:12: note: Assignment 'value=(char*)malloc(end-pkt+1)', assigned value is 0 qstat-2.17/qstat.c:6272:11: note: Null pointer dereference qstat-2.17/qstat.c:6273:4: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] qstat-2.17/qstat.c:6271:26: note: Assuming allocation function fails qstat-2.17/qstat.c:6271:12: note: Assignment 'value=(char*)malloc(end-pkt+1)', assigned value is 0 qstat-2.17/qstat.c:6273:4: note: Null pointer dereference qstat-2.17/qstat.c:6321:5: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:6320:37: note: Assuming allocation function fails qstat-2.17/qstat.c:6320:14: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:6321:5: note: Null pointer dereference qstat-2.17/qstat.c:6322:5: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:6320:37: note: Assuming allocation function fails qstat-2.17/qstat.c:6320:14: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:6322:5: note: Null pointer dereference qstat-2.17/qstat.c:6323:5: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:6320:37: note: Assuming allocation function fails qstat-2.17/qstat.c:6320:14: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:6323:5: note: Null pointer dereference qstat-2.17/qstat.c:6324:5: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:6320:37: note: Assuming allocation function fails qstat-2.17/qstat.c:6320:14: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:6324:5: note: Null pointer dereference qstat-2.17/qstat.c:6461:11: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] qstat-2.17/qstat.c:6460:26: note: Assuming allocation function fails qstat-2.17/qstat.c:6460:12: note: Assignment 'value=(char*)malloc(end-pkt+1)', assigned value is 0 qstat-2.17/qstat.c:6461:11: note: Null pointer dereference qstat-2.17/qstat.c:6462:4: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] qstat-2.17/qstat.c:6460:26: note: Assuming allocation function fails qstat-2.17/qstat.c:6460:12: note: Assignment 'value=(char*)malloc(end-pkt+1)', assigned value is 0 qstat-2.17/qstat.c:6462:4: note: Null pointer dereference qstat-2.17/qstat.c:6565:5: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:6564:37: note: Assuming allocation function fails qstat-2.17/qstat.c:6564:14: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:6565:5: note: Null pointer dereference qstat-2.17/qstat.c:6566:5: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:6564:37: note: Assuming allocation function fails qstat-2.17/qstat.c:6564:14: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:6566:5: note: Null pointer dereference qstat-2.17/qstat.c:6567:5: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:6564:37: note: Assuming allocation function fails qstat-2.17/qstat.c:6564:14: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:6567:5: note: Null pointer dereference qstat-2.17/qstat.c:6568:5: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:6564:37: note: Assuming allocation function fails qstat-2.17/qstat.c:6564:14: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:6568:5: note: Null pointer dereference qstat-2.17/qstat.c:7211:2: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:7210:34: note: Assuming allocation function fails qstat-2.17/qstat.c:7210:11: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:7211:2: note: Null pointer dereference qstat-2.17/qstat.c:7212:2: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:7210:34: note: Assuming allocation function fails qstat-2.17/qstat.c:7210:11: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:7212:2: note: Null pointer dereference qstat-2.17/qstat.c:7213:2: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:7210:34: note: Assuming allocation function fails qstat-2.17/qstat.c:7210:11: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:7213:2: note: Null pointer dereference qstat-2.17/qstat.c:7214:2: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:7210:34: note: Assuming allocation function fails qstat-2.17/qstat.c:7210:11: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:7214:2: note: Null pointer dereference qstat-2.17/qstat.c:7215:2: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:7210:34: note: Assuming allocation function fails qstat-2.17/qstat.c:7210:11: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:7215:2: note: Null pointer dereference qstat-2.17/qstat.c:7216:2: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:7210:34: note: Assuming allocation function fails qstat-2.17/qstat.c:7210:11: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:7216:2: note: Null pointer dereference qstat-2.17/qstat.c:7217:2: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:7210:34: note: Assuming allocation function fails qstat-2.17/qstat.c:7210:11: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:7217:2: note: Null pointer dereference qstat-2.17/qstat.c:7218:2: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:7210:34: note: Assuming allocation function fails qstat-2.17/qstat.c:7210:11: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:7218:2: note: Null pointer dereference qstat-2.17/qstat.c:7277:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] qstat-2.17/qstat.c:7276:30: note: Assuming allocation function fails qstat-2.17/qstat.c:7276:9: note: Assignment 'rule=(struct rule*)malloc(sizeof(struct rule))', assigned value is 0 qstat-2.17/qstat.c:7277:2: note: Null pointer dereference qstat-2.17/qstat.c:7278:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] qstat-2.17/qstat.c:7276:30: note: Assuming allocation function fails qstat-2.17/qstat.c:7276:9: note: Assignment 'rule=(struct rule*)malloc(sizeof(struct rule))', assigned value is 0 qstat-2.17/qstat.c:7278:2: note: Null pointer dereference qstat-2.17/qstat.c:7279:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] qstat-2.17/qstat.c:7276:30: note: Assuming allocation function fails qstat-2.17/qstat.c:7276:9: note: Assignment 'rule=(struct rule*)malloc(sizeof(struct rule))', assigned value is 0 qstat-2.17/qstat.c:7279:2: note: Null pointer dereference qstat-2.17/qstat.c:7288:22: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] qstat-2.17/qstat.c:7276:30: note: Assuming allocation function fails qstat-2.17/qstat.c:7276:9: note: Assignment 'rule=(struct rule*)malloc(sizeof(struct rule))', assigned value is 0 qstat-2.17/qstat.c:7288:22: note: Null pointer dereference qstat-2.17/qstat.c:7347:3: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] qstat-2.17/qstat.c:7345:30: note: Assuming allocation function fails qstat-2.17/qstat.c:7345:9: note: Assignment 'info=(struct info*)malloc(sizeof(struct info))', assigned value is 0 qstat-2.17/qstat.c:7347:3: note: Null pointer dereference qstat-2.17/qstat.c:7349:3: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] qstat-2.17/qstat.c:7345:30: note: Assuming allocation function fails qstat-2.17/qstat.c:7345:9: note: Assignment 'info=(struct info*)malloc(sizeof(struct info))', assigned value is 0 qstat-2.17/qstat.c:7349:3: note: Null pointer dereference qstat-2.17/qstat.c:7352:3: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] qstat-2.17/qstat.c:7345:30: note: Assuming allocation function fails qstat-2.17/qstat.c:7345:9: note: Assignment 'info=(struct info*)malloc(sizeof(struct info))', assigned value is 0 qstat-2.17/qstat.c:7352:3: note: Null pointer dereference qstat-2.17/qstat.c:7354:3: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] qstat-2.17/qstat.c:7345:30: note: Assuming allocation function fails qstat-2.17/qstat.c:7345:9: note: Assignment 'info=(struct info*)malloc(sizeof(struct info))', assigned value is 0 qstat-2.17/qstat.c:7354:3: note: Null pointer dereference qstat-2.17/qstat.c:7356:2: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] qstat-2.17/qstat.c:7345:30: note: Assuming allocation function fails qstat-2.17/qstat.c:7345:9: note: Assignment 'info=(struct info*)malloc(sizeof(struct info))', assigned value is 0 qstat-2.17/qstat.c:7356:2: note: Null pointer dereference qstat-2.17/qstat.c:7421:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] qstat-2.17/qstat.c:7419:30: note: Assuming allocation function fails qstat-2.17/qstat.c:7419:9: note: Assignment 'rule=(struct rule*)malloc(sizeof(struct rule))', assigned value is 0 qstat-2.17/qstat.c:7421:3: note: Null pointer dereference qstat-2.17/qstat.c:7423:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] qstat-2.17/qstat.c:7419:30: note: Assuming allocation function fails qstat-2.17/qstat.c:7419:9: note: Assignment 'rule=(struct rule*)malloc(sizeof(struct rule))', assigned value is 0 qstat-2.17/qstat.c:7423:3: note: Null pointer dereference qstat-2.17/qstat.c:7427:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] qstat-2.17/qstat.c:7419:30: note: Assuming allocation function fails qstat-2.17/qstat.c:7419:9: note: Assignment 'rule=(struct rule*)malloc(sizeof(struct rule))', assigned value is 0 qstat-2.17/qstat.c:7427:3: note: Null pointer dereference qstat-2.17/qstat.c:7429:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] qstat-2.17/qstat.c:7419:30: note: Assuming allocation function fails qstat-2.17/qstat.c:7419:9: note: Assignment 'rule=(struct rule*)malloc(sizeof(struct rule))', assigned value is 0 qstat-2.17/qstat.c:7429:3: note: Null pointer dereference qstat-2.17/qstat.c:7431:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] qstat-2.17/qstat.c:7419:30: note: Assuming allocation function fails qstat-2.17/qstat.c:7419:9: note: Assignment 'rule=(struct rule*)malloc(sizeof(struct rule))', assigned value is 0 qstat-2.17/qstat.c:7431:2: note: Null pointer dereference qstat-2.17/qstat.c:7452:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] qstat-2.17/qstat.c:7451:30: note: Assuming allocation function fails qstat-2.17/qstat.c:7451:9: note: Assignment 'rule=(struct rule*)malloc(sizeof(struct rule))', assigned value is 0 qstat-2.17/qstat.c:7452:2: note: Null pointer dereference qstat-2.17/qstat.c:7453:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] qstat-2.17/qstat.c:7451:30: note: Assuming allocation function fails qstat-2.17/qstat.c:7451:9: note: Assignment 'rule=(struct rule*)malloc(sizeof(struct rule))', assigned value is 0 qstat-2.17/qstat.c:7453:2: note: Null pointer dereference qstat-2.17/qstat.c:7454:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] qstat-2.17/qstat.c:7451:30: note: Assuming allocation function fails qstat-2.17/qstat.c:7451:9: note: Assignment 'rule=(struct rule*)malloc(sizeof(struct rule))', assigned value is 0 qstat-2.17/qstat.c:7454:2: note: Null pointer dereference qstat-2.17/qstat.c:7473:2: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:7472:34: note: Assuming allocation function fails qstat-2.17/qstat.c:7472:11: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:7473:2: note: Null pointer dereference qstat-2.17/qstat.c:7474:2: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:7472:34: note: Assuming allocation function fails qstat-2.17/qstat.c:7472:11: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:7474:2: note: Null pointer dereference qstat-2.17/qstat.c:7475:2: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:7472:34: note: Assuming allocation function fails qstat-2.17/qstat.c:7472:11: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:7475:2: note: Null pointer dereference qstat-2.17/qstat.c:7476:2: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:7472:34: note: Assuming allocation function fails qstat-2.17/qstat.c:7472:11: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:7476:2: note: Null pointer dereference qstat-2.17/qstat.c:7477:2: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:7472:34: note: Assuming allocation function fails qstat-2.17/qstat.c:7472:11: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:7477:2: note: Null pointer dereference qstat-2.17/qstat.c:7478:2: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:7472:34: note: Assuming allocation function fails qstat-2.17/qstat.c:7472:11: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:7478:2: note: Null pointer dereference qstat-2.17/qstat.c:7479:2: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:7472:34: note: Assuming allocation function fails qstat-2.17/qstat.c:7472:11: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:7479:2: note: Null pointer dereference qstat-2.17/qstat.c:7480:2: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:7472:34: note: Assuming allocation function fails qstat-2.17/qstat.c:7472:11: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:7480:2: note: Null pointer dereference qstat-2.17/qstat.c:7481:2: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:7472:34: note: Assuming allocation function fails qstat-2.17/qstat.c:7472:11: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:7481:2: note: Null pointer dereference qstat-2.17/qstat.c:8203:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/qstat.c:8202:31: note: Assuming allocation function fails qstat-2.17/qstat.c:8202:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/qstat.c:8203:4: note: Null pointer dereference qstat-2.17/qstat.c:8207:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/qstat.c:8202:31: note: Assuming allocation function fails qstat-2.17/qstat.c:8202:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/qstat.c:8207:3: note: Null pointer dereference qstat-2.17/qstat.c:8208:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/qstat.c:8202:31: note: Assuming allocation function fails qstat-2.17/qstat.c:8202:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/qstat.c:8208:3: note: Null pointer dereference qstat-2.17/qstat.c:8209:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/qstat.c:8202:31: note: Assuming allocation function fails qstat-2.17/qstat.c:8202:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/qstat.c:8209:3: note: Null pointer dereference qstat-2.17/qstat.c:8210:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/qstat.c:8202:31: note: Assuming allocation function fails qstat-2.17/qstat.c:8202:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/qstat.c:8210:3: note: Null pointer dereference qstat-2.17/qstat.c:8211:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/qstat.c:8202:31: note: Assuming allocation function fails qstat-2.17/qstat.c:8202:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/qstat.c:8211:3: note: Null pointer dereference qstat-2.17/qstat.c:8212:10: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/qstat.c:8202:31: note: Assuming allocation function fails qstat-2.17/qstat.c:8202:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/qstat.c:8212:10: note: Null pointer dereference qstat-2.17/qstat.c:8346:4: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:8345:36: note: Assuming allocation function fails qstat-2.17/qstat.c:8345:13: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:8346:4: note: Null pointer dereference qstat-2.17/qstat.c:8355:4: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:8345:36: note: Assuming allocation function fails qstat-2.17/qstat.c:8345:13: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:8355:4: note: Null pointer dereference qstat-2.17/qstat.c:8482:4: warning: If memory allocation fails, then there is a possible null pointer dereference: teams [nullPointerOutOfMemory] qstat-2.17/qstat.c:8480:35: note: Assuming allocation function fails qstat-2.17/qstat.c:8480:11: note: Assignment 'teams=(struct player**)calloc(1,sizeof(struct player*)*n_teams)', assigned value is 0 qstat-2.17/qstat.c:8482:4: note: Null pointer dereference qstat-2.17/qstat.c:8483:4: warning: If memory allocation fails, then there is a possible null pointer dereference: teams [nullPointerOutOfMemory] qstat-2.17/qstat.c:8480:35: note: Assuming allocation function fails qstat-2.17/qstat.c:8480:11: note: Assignment 'teams=(struct player**)calloc(1,sizeof(struct player*)*n_teams)', assigned value is 0 qstat-2.17/qstat.c:8483:4: note: Null pointer dereference qstat-2.17/qstat.c:8484:4: warning: If memory allocation fails, then there is a possible null pointer dereference: teams [nullPointerOutOfMemory] qstat-2.17/qstat.c:8480:35: note: Assuming allocation function fails qstat-2.17/qstat.c:8480:11: note: Assignment 'teams=(struct player**)calloc(1,sizeof(struct player*)*n_teams)', assigned value is 0 qstat-2.17/qstat.c:8484:4: note: Null pointer dereference qstat-2.17/qstat.c:8486:4: warning: If memory allocation fails, then there is a possible null pointer dereference: teams [nullPointerOutOfMemory] qstat-2.17/qstat.c:8480:35: note: Assuming allocation function fails qstat-2.17/qstat.c:8480:11: note: Assignment 'teams=(struct player**)calloc(1,sizeof(struct player*)*n_teams)', assigned value is 0 qstat-2.17/qstat.c:8486:4: note: Null pointer dereference qstat-2.17/qstat.c:8523:3: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:8522:35: note: Assuming allocation function fails qstat-2.17/qstat.c:8522:12: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:8523:3: note: Null pointer dereference qstat-2.17/qstat.c:8524:19: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:8522:35: note: Assuming allocation function fails qstat-2.17/qstat.c:8522:12: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:8524:19: note: Null pointer dereference qstat-2.17/qstat.c:8529:3: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:8522:35: note: Assuming allocation function fails qstat-2.17/qstat.c:8522:12: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:8529:3: note: Null pointer dereference qstat-2.17/qstat.c:8530:3: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:8522:35: note: Assuming allocation function fails qstat-2.17/qstat.c:8522:12: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:8530:3: note: Null pointer dereference qstat-2.17/qstat.c:8531:3: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:8522:35: note: Assuming allocation function fails qstat-2.17/qstat.c:8522:12: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:8531:3: note: Null pointer dereference qstat-2.17/qstat.c:8532:3: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:8522:35: note: Assuming allocation function fails qstat-2.17/qstat.c:8522:12: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:8532:3: note: Null pointer dereference qstat-2.17/qstat.c:8762:3: warning: If memory allocation fails, then there is a possible null pointer dereference: teams [nullPointerOutOfMemory] qstat-2.17/qstat.c:8760:34: note: Assuming allocation function fails qstat-2.17/qstat.c:8760:10: note: Assignment 'teams=(struct player**)calloc(1,sizeof(struct player*)*n_teams)', assigned value is 0 qstat-2.17/qstat.c:8762:3: note: Null pointer dereference qstat-2.17/qstat.c:8763:3: warning: If memory allocation fails, then there is a possible null pointer dereference: teams [nullPointerOutOfMemory] qstat-2.17/qstat.c:8760:34: note: Assuming allocation function fails qstat-2.17/qstat.c:8760:10: note: Assignment 'teams=(struct player**)calloc(1,sizeof(struct player*)*n_teams)', assigned value is 0 qstat-2.17/qstat.c:8763:3: note: Null pointer dereference qstat-2.17/qstat.c:8764:3: warning: If memory allocation fails, then there is a possible null pointer dereference: teams [nullPointerOutOfMemory] qstat-2.17/qstat.c:8760:34: note: Assuming allocation function fails qstat-2.17/qstat.c:8760:10: note: Assignment 'teams=(struct player**)calloc(1,sizeof(struct player*)*n_teams)', assigned value is 0 qstat-2.17/qstat.c:8764:3: note: Null pointer dereference qstat-2.17/qstat.c:9078:3: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:9072:35: note: Assuming allocation function fails qstat-2.17/qstat.c:9072:12: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:9074:18: note: Assuming condition is false qstat-2.17/qstat.c:9078:3: note: Null pointer dereference qstat-2.17/qstat.c:9080:3: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:9072:35: note: Assuming allocation function fails qstat-2.17/qstat.c:9072:12: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:9074:18: note: Assuming condition is false qstat-2.17/qstat.c:9080:3: note: Null pointer dereference qstat-2.17/qstat.c:9081:3: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:9072:35: note: Assuming allocation function fails qstat-2.17/qstat.c:9072:12: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:9074:18: note: Assuming condition is false qstat-2.17/qstat.c:9081:3: note: Null pointer dereference qstat-2.17/qstat.c:9082:3: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:9072:35: note: Assuming allocation function fails qstat-2.17/qstat.c:9072:12: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:9074:18: note: Assuming condition is false qstat-2.17/qstat.c:9082:3: note: Null pointer dereference qstat-2.17/qstat.c:9083:3: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:9072:35: note: Assuming allocation function fails qstat-2.17/qstat.c:9072:12: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:9074:18: note: Assuming condition is false qstat-2.17/qstat.c:9083:3: note: Null pointer dereference qstat-2.17/qstat.c:9085:3: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:9072:35: note: Assuming allocation function fails qstat-2.17/qstat.c:9072:12: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:9074:18: note: Assuming condition is false qstat-2.17/qstat.c:9085:3: note: Null pointer dereference qstat-2.17/qstat.c:10337:4: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] qstat-2.17/qstat.c:10336:36: note: Assuming allocation function fails qstat-2.17/qstat.c:10336:13: note: Assignment 'player=(struct player*)calloc(1,sizeof(struct player))', assigned value is 0 qstat-2.17/qstat.c:10337:4: note: Null pointer dereference qstat-2.17/qstat.c:10397:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/qstat.c:10396:31: note: Assuming allocation function fails qstat-2.17/qstat.c:10396:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/qstat.c:10397:4: note: Null pointer dereference qstat-2.17/qstat.c:10401:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/qstat.c:10396:31: note: Assuming allocation function fails qstat-2.17/qstat.c:10396:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/qstat.c:10401:3: note: Null pointer dereference qstat-2.17/qstat.c:10402:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/qstat.c:10396:31: note: Assuming allocation function fails qstat-2.17/qstat.c:10396:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/qstat.c:10402:3: note: Null pointer dereference qstat-2.17/qstat.c:10403:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/qstat.c:10396:31: note: Assuming allocation function fails qstat-2.17/qstat.c:10396:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/qstat.c:10403:3: note: Null pointer dereference qstat-2.17/qstat.c:11508:3: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] qstat-2.17/qstat.c:11506:34: note: Assuming allocation function fails qstat-2.17/qstat.c:11506:10: note: Assignment 'array=(struct player**)malloc(sizeof(struct player*)*(server->num_players+server->num_spectators))', assigned value is 0 qstat-2.17/qstat.c:11508:3: note: Null pointer dereference qstat-2.17/qstat.c:11520:11: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] qstat-2.17/qstat.c:11506:34: note: Assuming allocation function fails qstat-2.17/qstat.c:11506:10: note: Assignment 'array=(struct player**)malloc(sizeof(struct player*)*(server->num_players+server->num_spectators))', assigned value is 0 qstat-2.17/qstat.c:11520:11: note: Null pointer dereference qstat-2.17/qstat.c:11521:3: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] qstat-2.17/qstat.c:11506:34: note: Assuming allocation function fails qstat-2.17/qstat.c:11506:10: note: Assignment 'array=(struct player**)malloc(sizeof(struct player*)*(server->num_players+server->num_spectators))', assigned value is 0 qstat-2.17/qstat.c:11521:3: note: Null pointer dereference qstat-2.17/qstat.c:11522:11: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] qstat-2.17/qstat.c:11506:34: note: Assuming allocation function fails qstat-2.17/qstat.c:11506:10: note: Assignment 'array=(struct player**)malloc(sizeof(struct player*)*(server->num_players+server->num_spectators))', assigned value is 0 qstat-2.17/qstat.c:11522:11: note: Null pointer dereference qstat-2.17/qstat.c:5099:11: warning: Either the condition 'sep' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] qstat-2.17/qstat.c:5072:18: note: Assuming that condition 'sep' is not redundant qstat-2.17/qstat.c:5099:11: note: Null pointer addition qstat-2.17/qstat.c:10907:20: warning: Either the condition 'portptr!=NULL' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] qstat-2.17/qstat.c:10896:17: note: Assuming that condition 'portptr!=NULL' is not redundant qstat-2.17/qstat.c:10907:20: note: Null pointer subtraction qstat-2.17/qstat.c:5765:9: style: Redundant initialization for 'server'. The initialized value is overwritten before it is read. [redundantInitialization] qstat-2.17/qstat.c:5756:25: note: server is initialized qstat-2.17/qstat.c:5765:9: note: server is overwritten qstat-2.17/qstat.c:6082:50: style:inconclusive: Function 'deal_with_q_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/qstat.h:421:65: note: Function 'deal_with_q_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:6082:50: note: Function 'deal_with_q_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:6135:51: style:inconclusive: Function 'deal_with_qw_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/qstat.h:422:66: note: Function 'deal_with_qw_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:6135:51: note: Function 'deal_with_qw_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:6242:53: style:inconclusive: Function 'deal_with_q1qw_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/qstat.h:423:68: note: Function 'deal_with_q1qw_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:6242:53: note: Function 'deal_with_q1qw_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:6424:51: style:inconclusive: Function 'deal_with_q2_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/qstat.h:424:66: note: Function 'deal_with_q2_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:6424:51: note: Function 'deal_with_q2_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:6667:63: style:inconclusive: Function 'deal_with_descent3master_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/qstat.h:438:78: note: Function 'deal_with_descent3master_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:6667:63: note: Function 'deal_with_descent3master_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:6711:57: style:inconclusive: Function 'deal_with_qwmaster_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/qstat.h:425:72: note: Function 'deal_with_qwmaster_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:6711:57: note: Function 'deal_with_qwmaster_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:6844:54: style:inconclusive: Function 'decode_q3master_packet' argument 2 names different: declaration 'ikt' definition 'pkt'. [funcArgNamesDifferent] qstat-2.17/qstat.c:267:65: note: Function 'decode_q3master_packet' argument 2 names different: declaration 'ikt' definition 'pkt'. qstat-2.17/qstat.c:6844:54: note: Function 'decode_q3master_packet' argument 2 names different: declaration 'ikt' definition 'pkt'. qstat-2.17/qstat.c:6917:61: style:inconclusive: Function 'deal_with_tribesmaster_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/qstat.h:429:76: note: Function 'deal_with_tribesmaster_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:6917:61: note: Function 'deal_with_tribesmaster_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:8021:55: style:inconclusive: Function 'deal_with_ut2003_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/qstat.h:427:70: note: Function 'deal_with_ut2003_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:8021:55: note: Function 'deal_with_ut2003_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:8163:57: style:inconclusive: Function 'deal_with_halflife_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/qstat.h:426:72: note: Function 'deal_with_halflife_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:8163:57: note: Function 'deal_with_halflife_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:8400:55: style:inconclusive: Function 'deal_with_tribes_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/qstat.h:428:70: note: Function 'deal_with_tribes_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:8400:55: note: Function 'deal_with_tribes_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:9477:60: style:inconclusive: Function 'deal_with_ravenshield_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/qstat.h:432:75: note: Function 'deal_with_ravenshield_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:9477:60: note: Function 'deal_with_ravenshield_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:9740:55: style:inconclusive: Function 'deal_with_savage_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/qstat.h:433:70: note: Function 'deal_with_savage_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:9740:55: note: Function 'deal_with_savage_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:9884:55: style:inconclusive: Function 'deal_with_farcry_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/qstat.h:434:70: note: Function 'deal_with_farcry_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:9884:55: note: Function 'deal_with_farcry_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:10031:54: style:inconclusive: Function 'deal_with_bfris_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/qstat.h:430:69: note: Function 'deal_with_bfris_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:10031:54: note: Function 'deal_with_bfris_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:10248:57: style:inconclusive: Function 'deal_with_descent3_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/qstat.h:437:72: note: Function 'deal_with_descent3_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:10248:57: note: Function 'deal_with_descent3_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:10360:52: style:inconclusive: Function 'deal_with_eye_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/qstat.h:440:67: note: Function 'deal_with_eye_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:10360:52: note: Function 'deal_with_eye_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:10586:52: style:inconclusive: Function 'deal_with_hl2_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/qstat.h:441:67: note: Function 'deal_with_hl2_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:10586:52: note: Function 'deal_with_hl2_packet' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:10796:65: style:inconclusive: Function 'deal_with_gamespy_master_response' argument 2 names different: declaration 'pkt' definition 'rawpkt'. [funcArgNamesDifferent] qstat-2.17/qstat.h:431:80: note: Function 'deal_with_gamespy_master_response' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:10796:65: note: Function 'deal_with_gamespy_master_response' argument 2 names different: declaration 'pkt' definition 'rawpkt'. qstat-2.17/qstat.c:11672:30: style:inconclusive: Function 'qpartition' argument 2 names different: declaration 'i' definition 'a'. [funcArgNamesDifferent] qstat-2.17/qstat.c:207:34: note: Function 'qpartition' argument 2 names different: declaration 'i' definition 'a'. qstat-2.17/qstat.c:11672:30: note: Function 'qpartition' argument 2 names different: declaration 'i' definition 'a'. qstat-2.17/qstat.c:11672:37: style:inconclusive: Function 'qpartition' argument 3 names different: declaration 'j' definition 'b'. [funcArgNamesDifferent] qstat-2.17/qstat.c:207:41: note: Function 'qpartition' argument 3 names different: declaration 'j' definition 'b'. qstat-2.17/qstat.c:11672:37: note: Function 'qpartition' argument 3 names different: declaration 'j' definition 'b'. qstat-2.17/qstat.c:999:6: style: Local variable 'ping_time' shadows outer function [shadowFunction] qstat-2.17/qstat.h:3951:7: note: Shadowed declaration qstat-2.17/qstat.c:999:6: note: Shadow variable qstat-2.17/qstat.c:4374:7: style: Local variable 'one' shadows outer variable [shadowVariable] qstat-2.17/qstat.c:2566:12: note: Shadowed declaration qstat-2.17/qstat.c:4374:7: note: Shadow variable qstat-2.17/qstat.c:4541:13: style: Local variable 'one' shadows outer variable [shadowVariable] qstat-2.17/qstat.c:2566:12: note: Shadowed declaration qstat-2.17/qstat.c:4541:13: note: Shadow variable qstat-2.17/qstat.c:4666:56: style: Local variable 'last_server' shadows outer variable [shadowVariable] qstat-2.17/qstat.c:231:18: note: Shadowed declaration qstat-2.17/qstat.c:4666:56: note: Shadow variable qstat-2.17/qstat.c:966:8: style: Variable 'game_rule' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:1159:7: style: Variable 'fmt' can be declared as const array [constVariable] qstat-2.17/qstat.c:1262:14: style: Variable 'fmt' can be declared as const array [constVariable] qstat-2.17/qstat.c:1276:14: style: Variable 'fmt' can be declared as const array [constVariable] qstat-2.17/qstat.c:1297:14: style: Variable 'fmt' can be declared as const array [constVariable] qstat-2.17/qstat.c:1346:14: style: Variable 'fmt' can be declared as const array [constVariable] qstat-2.17/qstat.c:1368:14: style: Variable 'fmt' can be declared as const array [constVariable] qstat-2.17/qstat.c:1382:14: style: Variable 'fmt' can be declared as const array [constVariable] qstat-2.17/qstat.c:1639:14: style: Variable 'fmt' can be declared as const array [constVariable] qstat-2.17/qstat.c:1652:14: style: Variable 'fmt' can be declared as const array [constVariable] qstat-2.17/qstat.c:1665:14: style: Variable 'fmt' can be declared as const array [constVariable] qstat-2.17/qstat.c:2600:13: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:2600:37: style: Parameter 'a1' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:2776:31: style: Parameter 'option' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:2790:32: style: Parameter 'option' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:2793:16: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:2901:49: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:2915:50: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:2958:25: style: Parameter 'port' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:2960:8: style: Variable 'dash' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:3499:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:3690:17: style: Variable 'type' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:3739:16: style: Variable 'server_type' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:3935:34: style: Variable 'hostname' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:4088:8: style: Variable 'hostname' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:4159:8: style: Variable 'pkt' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:4160:15: style: Variable 'server_type' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:4333:41: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:4417:35: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:4429:34: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:4666:56: style: Variable 'last_server' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:5022:14: style: Variable 'r' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:5023:8: style: Variable 'gamedir' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:5023:18: style: Variable 'map' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:5177:10: style: Variable 'master_protocol' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:5242:8: style: Variable 'pkt' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:5260:8: style: Variable 'pkt' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:5281:8: style: Variable 'game' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:5281:15: style: Variable 'mission' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:5326:9: style: Variable 'r' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:5377:9: style: Variable 'r' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:5415:9: style: Variable 'b' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:6306:11: style: Variable 'nl' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:6550:11: style: Variable 'nl' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:6646:57: style: Parameter 'curtok' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:6745:19: style: Variable 'sin_addr' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:6746:9: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:6847:8: style: Variable 'end' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:6848:8: style: Variable 'last' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:6887:25: style: Variable 'end' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:6919:17: style: Variable 'upkt' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:7162:8: style: Variable 'name' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:7162:15: style: Variable 'address' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:7241:8: style: Variable 'name' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:7241:15: style: Variable 'value' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:7441:41: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:7555:64: style: Parameter 'teamname' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:7587:31: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:7607:65: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:7652:65: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:7698:64: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:7744:64: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:7844:66: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:8005:40: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:8147:61: style: Parameter 'rawpkt' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:8166:8: style: Variable 'end' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:8402:23: style: Variable 'end' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:8606:42: style: Variable 'start' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:8887:29: style: Variable 'lpszIgnoreServerPlayer' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:9427:29: style: Parameter 'gameno' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:9466:24: style: Parameter 'gametype' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:9479:12: style: Variable 'key' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:9591:12: style: Variable 'player_name' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:9622:12: style: Variable 'time' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:9653:12: style: Variable 'ping' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:9681:12: style: Variable 'frags' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:9742:12: style: Variable 'key' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:9830:10: style: Variable 'team_name' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:9886:12: style: Variable 'key' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:9974:10: style: Variable 'team_name' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:10031:54: style: Parameter 'rawpkt' can be declared as pointer to const. However it seems that 'deal_with_bfris_packet' is a callback function, if 'rawpkt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] qstat-2.17/qstat.h:1586:4: note: You might need to cast the function pointer here qstat-2.17/qstat.c:10031:54: note: Parameter 'rawpkt' can be declared as pointer to const qstat-2.17/qstat.c:10035:17: style: Variable 'saved_data' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:10589:8: style: Variable 'end' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:10802:8: style: Variable 'ipptr' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:10802:16: style: Variable 'portptr' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:10936:17: style: Variable 'b' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:10945:17: style: Variable 'b' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:10954:17: style: Variable 'b' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:10983:17: style: Variable 'b' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:11011:30: style: Variable 'end' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:11190:30: style: Parameter 'rule' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:11243:51: style: Parameter 'past' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:11397:9: style: Variable 'fmt_hour' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:11398:9: style: Variable 'fmt_minute' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:11399:9: style: Variable 'fmt_second' can be declared as pointer to const [constVariablePointer] qstat-2.17/qstat.c:11461:23: style: Parameter 'one' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:11461:34: style: Parameter 'two' can be declared as pointer to const [constParameterPointer] qstat-2.17/qstat.c:3739:28: style: Variable 'server_type' is assigned a value that is never used. [unreadVariable] qstat-2.17/qstat.c:3739:16: style: Variable 'server_type' is assigned a value that is never used. [unreadVariable] qstat-2.17/qstat.c:7909:12: style: Variable 'rawpkt' is assigned a value that is never used. [unreadVariable] qstat-2.17/qstat.c:8167:16: style: Variable 'pkt_index' is assigned a value that is never used. [unreadVariable] qstat-2.17/qstat.c:8167:29: style: Variable 'pkt_max' is assigned a value that is never used. [unreadVariable] qstat-2.17/qstat.c:10723:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] qstat-2.17/qstat.c:11661:8: style: Variable 'q' is assigned a value that is never used. [unreadVariable] diff: head qstat-2.17/a2s.c:228:32: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/a2s.c:219:31: note: Assuming allocation function fails qstat-2.17/a2s.c:219:12: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/a2s.c:228:32: note: Null pointer dereference 2.17.0 qstat-2.17/config.c:1130:18: error: If memory allocation fail: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] qstat-2.17/config.c:1064:24: note: Assuming allocation function fails qstat-2.17/config.c:1064:10: note: Assignment 'value=(char*)malloc(len+1)', assigned value is 0 qstat-2.17/config.c:1065:0: note: Assignment 'end=value', assigned value is 0 qstat-2.17/config.c:1071:10: note: Assuming condition is false qstat-2.17/config.c:1130:18: note: Null pointer subtraction head qstat-2.17/config.c:1130:18: error: If memory allocation fails: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] qstat-2.17/config.c:1064:24: note: Assuming allocation function fails qstat-2.17/config.c:1064:10: note: Assignment 'value=(char*)malloc(len+1)', assigned value is 0 qstat-2.17/config.c:1065:0: note: Assignment 'end=value', assigned value is 0 qstat-2.17/config.c:1071:10: note: Assuming condition is false qstat-2.17/config.c:1130:18: note: Null pointer subtraction head qstat-2.17/display_json.c:1053:38: style: Condition '(0x09==c)||(0xA==c)||(0xD==c)||((0x20<=c)&&(0xD7FF>=c))||((0xE000<=c)&&(0xFFFD>=c))||((0x10000<=c)&&(0x10FFFF>=c))' is always true [knownConditionTrueFalse] qstat-2.17/display_json.c:1022:7: note: Assuming that condition '!((0x09==c)||(0xA==c)||(0xD==c)||((0x20<=c)&&(0xD7FF>=c))||((0xE000<=c)&&(0xFFFD>=c))||((0x10000<=c)&&(0x10FFFF>=c)))' is not redundant qstat-2.17/display_json.c:1053:38: note: Condition '(0x09==c)||(0xA==c)||(0xD==c)||((0x20<=c)&&(0xD7FF>=c))||((0xE000<=c)&&(0xFFFD>=c))||((0x10000<=c)&&(0x10FFFF>=c))' is always true head qstat-2.17/packet_manip.c:196:31: warning: If memory allocation fails, then there is a possible null pointer dereference: sdata [nullPointerOutOfMemory] qstat-2.17/packet_manip.c:187:30: note: Assuming allocation function fails qstat-2.17/packet_manip.c:187:11: note: Assignment 'sdata=(struct SavedData*)calloc(1,sizeof(struct SavedData))', assigned value is 0 qstat-2.17/packet_manip.c:196:31: note: Null pointer dereference head qstat-2.17/qstat.c:11111:38: style: Condition '(0x09==c)||(0xA==c)||(0xD==c)||((0x20<=c)&&(0xD7FF>=c))||((0xE000<=c)&&(0xFFFD>=c))||((0x10000<=c)&&(0x10FFFF>=c))' is always true [knownConditionTrueFalse] qstat-2.17/qstat.c:11073:7: note: Assuming that condition '!((0x09==c)||(0xA==c)||(0xD==c)||((0x20<=c)&&(0xD7FF>=c))||((0xE000<=c)&&(0xFFFD>=c))||((0x10000<=c)&&(0x10FFFF>=c)))' is not redundant qstat-2.17/qstat.c:11111:38: note: Condition '(0x09==c)||(0xA==c)||(0xD==c)||((0x20<=c)&&(0xD7FF>=c))||((0xE000<=c)&&(0xFFFD>=c))||((0x10000<=c)&&(0x10FFFF>=c))' is always true head qstat-2.17/qstat.c:3739:16: style: Variable 'server_type' is assigned a value that is never used. [unreadVariable] head qstat-2.17/qstat.c:4006:24: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:3993:36: note: Assuming allocation function fails qstat-2.17/qstat.c:3993:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4006:24: note: Null pointer dereference head qstat-2.17/qstat.c:4006:45: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:3993:36: note: Assuming allocation function fails qstat-2.17/qstat.c:3993:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4006:45: note: Null pointer dereference head qstat-2.17/qstat.c:4041:23: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4028:36: note: Assuming allocation function fails qstat-2.17/qstat.c:4028:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4041:23: note: Null pointer dereference head qstat-2.17/qstat.c:4041:44: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4028:36: note: Assuming allocation function fails qstat-2.17/qstat.c:4028:12: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4041:44: note: Null pointer dereference head qstat-2.17/qstat.c:4130:22: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4130:22: note: Null pointer dereference head qstat-2.17/qstat.c:4130:43: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] qstat-2.17/qstat.c:4113:35: note: Assuming allocation function fails qstat-2.17/qstat.c:4113:11: note: Assignment 'server=(struct qserver*)calloc(1,sizeof(struct qserver))', assigned value is 0 qstat-2.17/qstat.c:4130:43: note: Null pointer dereference head qstat-2.17/ut2004.c:595:28: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] qstat-2.17/ut2004.c:592:19: note: Assuming allocation function fails qstat-2.17/ut2004.c:592:19: note: Assignment 'data=malloc(sizeof(struct SavedData))', assigned value is 0 qstat-2.17/ut2004.c:595:28: note: Null pointer dereference DONE