Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Analysis of TC code from commit https://github.com/TrinityCore/TrinityCore/commit/6a8e935e317519fb88f2d253eb96acf29b83c57f
- C6387 Invalid parameter value 'Temp_value_#1326' could be '0': this does not adhere to the specification for the function 'GetProcAddress'. worldserver win_iocp_handle_service.ipp 238
- Skip this branch, (assume '!is_open(impl)' is false) 230
- 'Temp_value_#1326' should not be NULL, because this is not consistent with the SAL annotation on 'GetProcAddress' 238
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'q'. authserver timer_queue_set.ipp 53
- Enter this branch, (assume 'first_') 40
- Skip this branch, (assume 'q==first_' is false) 42
- Enter this loop, (assume 'p->next_') 49
- Enter this branch, (assume 'p->next_==q') 51
- 'q' is dereferenced, but may still be NULL 53
- C6102 Using 'module_folder_name' from failed function call at line '101'. authserver wheatyexceptionreport.cpp 102
- 'module_folder_name' is not initialized 101
- 'module_folder_name' is an Input to '_tcsrchr' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\tchar.h:2072) 102
- 'module_folder_name' is used, but may not have been initialized 102
- C6054 Zero termination missing String 'crash_folder_path' might not be zero-terminated. authserver wheatyexceptionreport.cpp 110
- This expression may not zero-terminate 'crash_folder_path' 108
- 'crash_folder_path' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356) 109
- 'crash_folder_path' is an Input to 'CreateDirectoryA' (declared at c:\program files (x86)\windows kits\8.1\include\um\fileapi.h:93) 110
- 'crash_folder_path' is required to be zero-terminated by a SAL annotation on 'CreateDirectoryA' 110
- C28159 Consider using another function instead Consider using 'IsWindows*' instead of 'GetVersionExA'. Reason: Deprecated. Use VerifyVersionInfo* or IsWindows* macros from VersionHelpers. authserver wheatyexceptionreport.cpp 203
- C28159 Consider using another function instead Consider using 'IsWindows*' instead of 'GetVersionExA'. Reason: Deprecated. Use VerifyVersionInfo* or IsWindows* macros from VersionHelpers. authserver wheatyexceptionreport.cpp 207
- C6054 Zero termination missing String 'wszTmp' might not be zero-terminated. authserver wheatyexceptionreport.cpp 338
- This expression may not zero-terminate 'wszTmp' 211
- Assume switch ( 'osvi.dwPlatformId' ) resolves to the default case 212
- 'wszTmp' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356) 336
- 'wszTmp' is an Input to '_tcsncat' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\tchar.h:1553) 338
- 'wszTmp' is required to be zero-terminated by a SAL annotation on '_tcsncat' 338
- C28159 Consider using another function instead Consider using 'GlobalMemoryStatusEx' instead of 'GlobalMemoryStatus'. Reason: Deprecated. See MSDN for details authserver wheatyexceptionreport.cpp 352
- C6262 Excessive stack usage Function uses '131084' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. authserver wheatyexceptionreport.cpp 765
- C6273 Non-integer argument to format function Non-integer passed as _Param_(3) when an integer is required in call to 'sprintf' Actual type: 'unsigned long *': if a pointer value is being passed, %p should be used. authserver wheatyexceptionreport.cpp 1251
- C6273 Non-integer argument to format function Non-integer passed as _Param_(3) when an integer is required in call to 'sprintf' Actual type: 'unsigned long *': if a pointer value is being passed, %p should be used. authserver wheatyexceptionreport.cpp 1262
- C6262 Excessive stack usage Function uses '131088' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. authserver wheatyexceptionreport.cpp 1308
- C6387 Invalid parameter value 'Temp_value_#407' could be '0': this does not adhere to the specification for the function 'GetProcAddress'. authserver win_iocp_handle_service.ipp 238
- Skip this branch, (assume '!is_open(impl)' is false) 230
- 'Temp_value_#407' should not be NULL, because this is not consistent with the SAL annotation on 'GetProcAddress' 238
- C6387 Invalid parameter value 'Temp_value_#28540' could be '0': this does not adhere to the specification for the function 'GetProcAddress'. authserver win_iocp_socket_service_base.ipp 205
- Skip this branch, (assume '!is_open(impl)' is false) 197
- 'Temp_value_#28540' should not be NULL, because this is not consistent with the SAL annotation on 'GetProcAddress' 205
- C6031 Return value ignored Return value ignored: 'UnregisterWaitEx'. authserver win_object_handle_service.ipp 106
- C6031 Return value ignored Return value ignored: 'UnregisterWaitEx'. authserver win_object_handle_service.ipp 158
- C6031 Return value ignored Return value ignored: 'UnregisterWaitEx'. authserver win_object_handle_service.ipp 200
- C6031 Return value ignored Return value ignored: 'UnregisterWaitEx'. authserver win_object_handle_service.ipp 251
- C6031 Return value ignored Return value ignored: 'UnregisterWaitEx'. authserver win_object_handle_service.ipp 302
- C6031 Return value ignored Return value ignored: 'UnregisterWaitEx'. authserver win_object_handle_service.ipp 402
- C6258 Using TerminateThread Using TerminateThread does not allow proper thread clean up. authserver win_thread.ipp 48
- C6386 Write overrun Buffer overrun while writing to 's->inUse': the writable size is '256' bytes, but '-4' bytes might be written. bzip2 bzlib.c 238
- Skip this loop, (assume 'i<s->state_in_len' is false) 220
- Assume switch ( 's->state_in_len' ) resolves to the default case 224
- Invalid write to 's->inUse[-4]', (writable range is 0 to 255) 238
- C6031 Return value ignored Return value ignored: 'setmode'. bzip2 bzlib.c 1423
- C6001 Using uninitialized memory Using uninitialized memory 'yy'. bzip2 compress.c 170
- 'yy' is not initialized 122
- Skip this loop, (assume 'i<s->nInUse' is false) 161
- Enter this loop, (assume 'i<s->nblock') 163
- 'yy' is used, but may not have been initialized 170
- C6385 Read overrun Reading invalid data from 's->mtfFreq': the readable size is '1032' bytes, but 'EOB' bytes may be read. bzip2 compress.c 228
- Skip this loop, (assume 'i<=EOB' is false) 157
- Skip this loop, (assume 'i<s->nblock' is false) 163
- Skip this branch, (assume 'zPend>0' is false) 212
- Invalid read from 's->mtfFreq[-1]', (readable range is 0 to 257) 228
- C6385 Read overrun Reading invalid data from 'parent': the readable size is '2064' bytes, but '2068' bytes may be read. bzip2 huffman.c 118
- 'parent' is an array of 516 elements (2064 bytes) 77
- Skip this loop, (assume 'i<alphaSize' is false) 79
- Enter this loop, (assume '1') 82
- Skip this branch, (assume '!((nHeap<((258+2))))' is false) 98
- Enter this branch, (assume '!((nNodes<((258*2))))') 112
- Enter this loop, (assume 'i<=alphaSize') 115
- Skip this loop, (assume 'parent[k]>=0' is false) 118
- 'k' may equal 3 118
- Enter this loop, (assume 'parent[k]>=0') 118
- Invalid read from 'parent[516]', (readable range is 0 to 515) 118
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'data'. collision array.h 892
- '*this' may be NULL (Enter this branch) 891
- '*this' is dereferenced, but may still be NULL 892
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'data'. collision array.h 898
- '*this' may be NULL (Enter this branch) 897
- '*this' is dereferenced, but may still be NULL 898
- C6385 Read overrun Reading invalid data from 'elt': the readable size is '36' bytes, but 'iRow' bytes may be read. collision matrix3.h 124
- Invalid read from 'elt[-1]', (readable range is 0 to 2) 124
- C6385 Read overrun Reading invalid data from 'elt': the readable size is '36' bytes, but 'iRow' bytes may be read. collision matrix3.h 130
- Invalid read from 'elt[-1]', (readable range is 0 to 2) 130
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'm_bucket'. collision table.h 233
- 'm_bucket' may be NULL (Enter this branch) 219
- Enter this loop, (assume 'b<m_numBuckets') 223
- Skip this loop, (assume 'node!=0' is false) 227
- Continue this loop, (assume 'b<m_numBuckets') 223
- Enter this loop, (assume 'node!=0') 227
- 'm_bucket' is dereferenced, but may still be NULL 233
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'e'. collision table.h 717
- 'e' may be NULL (Enter this branch) 716
- 'e' is dereferenced, but may still be NULL 717
- C6031 Return value ignored Return value ignored: 'fopen'. collision tileassembler.cpp 164
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'q'. collision timer_queue_set.ipp 53
- Enter this branch, (assume 'first_') 40
- Skip this branch, (assume 'q==first_' is false) 42
- Enter this loop, (assume 'p->next_') 49
- Enter this branch, (assume 'p->next_==q') 51
- 'q' is dereferenced, but may still be NULL 53
- C6385 Read overrun Reading invalid data from '_vertex': the readable size is '36' bytes, but 'n' bytes may be read. collision triangle.h 72
- Enter this branch, (assume '!((((n>=0))&&((n<3))))') 71
- Invalid read from '_vertex[-1]', (readable range is 0 to 2) 72
- C6387 Invalid parameter value '_bits' could be '0': this does not adhere to the specification for the function 'memcpy'. collision updatemask.h 42
- '_bits' should not be NULL, because this is not consistent with the SAL annotation on 'memcpy' 42
- C6258 Using TerminateThread Using TerminateThread does not allow proper thread clean up. collision win_thread.ipp 48
- C28182 Dereferencing a copy of a null pointer Dereferencing NULL pointer. 'tile->polys' contains the same NULL value as 'j' did. Detour detournavmesh.cpp 353
- 'tile->polys' may equal 4294967295 (Skip this loop) 356
- Continue this loop, (assume 'i<tile->header->polyCount') 351
- 'tile->polys' is dereferenced, but may still be NULL 353
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'target->polys'. Detour detournavmesh.cpp 461
- 'target->polys' may equal 4294967295 (Enter this branch) 463
- Continue this loop, (assume '<branch condition>') 455
- Skip this branch, (assume 'targetCon->side!=oppositeSide' is false) 458
- 'target->polys' is dereferenced, but may still be NULL 461
- C6385 Read overrun Reading invalid data from 'edget': the readable size is '24' bytes, but '-4' bytes may be read. Detour detournavmesh.cpp 659
- 'edget' is an array of 6 elements (24 bytes) 638
- 'edget' is an Output from 'dtDistancePtPolyEdgesSqr' (declared at e:\cores\trinitycore\test\source\dep\recastnavigation\detour\include\detourcommon.h:395) 644
- Enter this branch, (assume '<branch condition>') 644
- 'imin' is equal to -1 648
- Skip this loop, (assume 'i<nv' is false) 649
- 'edget' is an In/Out argument to 'dtVlerp' (declared at e:\cores\trinitycore\test\source\dep\recastnavigation\detour\include\detourcommon.h:120) 659
- Invalid read from 'edget[-1]', (readable range is 0 to 5) 659
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'tile->detailTris'. Detour detournavmesh.cpp 673
- Skip this branch, (assume '<branch condition>' is false) 619
- Skip this branch, (assume '<branch condition>' is false) 644
- Enter this loop, (assume 'j<pd->triCount') 671
- Enter this loop, (assume 'k<3') 675
- Enter this branch, (assume 't[k]<poly->vertCount') 677
- Enter this loop, (assume 'k<3') 675
- Continue this loop, (assume 'k<3') 675
- Skip this branch, (assume '<branch condition>' is false) 683
- Continue this loop, (assume 'j<pd->triCount') 671
- 'tile->detailTris' is dereferenced, but may still be NULL 673
- C6385 Read overrun Reading invalid data from 'edget': the readable size is '24' bytes, but '-4' bytes may be read. Detour detournavmeshquery.cpp 556
- 'edget' is an array of 6 elements (24 bytes) 535
- 'edget' is an Output from 'dtDistancePtPolyEdgesSqr' (declared at e:\cores\trinitycore\test\source\dep\recastnavigation\detour\include\detourcommon.h:395) 541
- Enter this branch, (assume '<branch condition>') 541
- 'imin' is equal to -1 545
- Skip this loop, (assume 'i<nv' is false) 546
- 'edget' is an In/Out argument to 'dtVlerp' (declared at e:\cores\trinitycore\test\source\dep\recastnavigation\detour\include\detourcommon.h:120) 556
- Invalid read from 'edget[-1]', (readable range is 0 to 5) 556
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'tile->detailTris'. Detour detournavmeshquery.cpp 570
- Enter this loop, (assume '!!((m_nav))') 507
- Skip this branch, (assume '<branch condition>' is false) 510
- Skip this branch, (assume '!tile' is false) 512
- Skip this branch, (assume '<branch condition>' is false) 516
- Skip this branch, (assume '<branch condition>' is false) 541
- Enter this loop, (assume 'j<pd->triCount') 568
- Enter this loop, (assume 'k<3') 572
- Enter this branch, (assume 't[k]<poly->vertCount') 574
- Enter this loop, (assume 'k<3') 572
- Continue this loop, (assume 'k<3') 572
- Skip this branch, (assume '<branch condition>' is false) 580
- Continue this loop, (assume 'j<pd->triCount') 568
- 'tile->detailTris' is dereferenced, but may still be NULL 570
- C6385 Read overrun Reading invalid data from 'edget': the readable size is '24' bytes, but '-4' bytes may be read. Detour detournavmeshquery.cpp 642
- 'edget' is an array of 6 elements (24 bytes) 613
- 'edget' is an Output from 'dtDistancePtPolyEdgesSqr' (declared at e:\cores\trinitycore\test\source\dep\recastnavigation\detour\include\detourcommon.h:395) 621
- Skip this branch, (assume 'inside' is false) 622
- 'imin' is equal to -1 631
- Skip this loop, (assume 'i<nv' is false) 632
- 'edget' is an In/Out argument to 'dtVlerp' (declared at e:\cores\trinitycore\test\source\dep\recastnavigation\detour\include\detourcommon.h:120) 642
- Invalid read from 'edget[-1]', (readable range is 0 to 5) 642
- C6385 Read overrun Reading invalid data from 'poly->verts': the readable size is '12' bytes, but '-2' bytes may be read. Detour detournavmeshquery.cpp 2491
- Enter this loop, (assume '!!((m_nav))') 2371
- Skip this branch, (assume '<branch condition>' is false) 2378
- Skip this branch, (assume '<branch condition>' is false) 2380
- Skip this branch, (assume 'prevRef' is false) 2404
- Enter this loop, (assume 'curRef') 2407
- Skip this loop, (assume 'i<(int)poly->vertCount' is false) 2413
- Skip this branch, (assume '<branch condition>' is false) 2421
- Skip this branch, (assume 'tmax>hit->t' is false) 2428
- Skip this branch, (assume 'n<hit->maxPath' is false) 2432
- Skip this branch, (assume 'segMax==-1' is false) 2438
- Enter this loop, (assume 'i!=DT_NULL_LINK') 2452
- Skip this branch, (assume '(int)link->edge!=segMax' is false) 2457
- Skip this branch, (assume '<branch condition>' is false) 2466
- Skip this branch, (assume '<branch condition>' is false) 2470
- Skip this branch, (assume 'link->side==255' is false) 2474
- Skip this branch, (assume 'link->bmin==0&&link->bmax==255' is false) 2483
- Invalid read from 'poly->verts[-1]', (readable range is 0 to 5) 2491
- C6385 Read overrun Reading invalid data from 'bestPoly->verts': the readable size is '12' bytes, but '-2' bytes may be read. Detour detournavmeshquery.cpp 3453
- Enter this loop, (assume '!!((m_nav))') 3335
- Enter this loop, (assume '!!((m_nodePool))') 3336
- Enter this loop, (assume '!!((m_openList))') 3337
- Skip this branch, (assume '<branch condition>' is false) 3340
- Enter this loop, (assume '!m_openList->empty()') 3359
- Skip this branch, (assume 'bestNode->pidx' is false) 3376
- Skip this branch, (assume 'parentRef' is false) 3378
- Skip this loop, (assume 'i<(int)bestPoly->vertCount' is false) 3382
- Skip this loop, (assume 'i!=DT_NULL_LINK' is false) 3434
- Continue this loop, (assume '!m_openList->empty()') 3359
- Enter this branch, (assume 'bestNode->pidx') 3376
- Skip this loop, (assume 'i<(int)bestPoly->vertCount' is false) 3382
- Enter this loop, (assume 'i!=DT_NULL_LINK') 3434
- Skip this branch, (assume '<branch condition>' is false) 3439
- Skip this branch, (assume '<branch condition>' is false) 3448
- Invalid read from 'bestPoly->verts[-1]', (readable range is 0 to 5) 3453
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'p'. g3dlib any.cpp 268
- 'p' may be NULL 244
- Assume switch ( 't' ) resolves to case NIL: case BOOLEAN: case NUMBER: case EMPTY_CONTAINER: 247
- Skip this branch, (assume 'isContainerType(p->type)' is false) 268
- 'p' is dereferenced, but may still be NULL 268
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'm_data'. g3dlib any.cpp 633
- 'm_data' may be NULL (Enter this branch) 632
- 'm_data' is dereferenced, but may still be NULL 633
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'm_data'. g3dlib any.cpp 655
- 'm_data' may be NULL (Enter this branch) 654
- 'm_data' is dereferenced, but may still be NULL 655
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'm_data'. g3dlib any.cpp 667
- 'm_data' may be NULL (Enter this branch) 666
- 'm_data' is dereferenced, but may still be NULL 667
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'm_data'. g3dlib any.cpp 678
- 'm_data' may be NULL (Enter this branch) 674
- Skip this branch, (assume 'type()==EMPTY_CONTAINER' is false) 675
- 'm_data' is dereferenced, but may still be NULL 678
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'm_data'. g3dlib any.cpp 716
- 'm_data' may be NULL (Enter this branch) 709
- Skip this branch, (assume 'type()==EMPTY_CONTAINER' is false) 711
- 'm_data' is dereferenced, but may still be NULL 716
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'm_data'. g3dlib any.cpp 724
- 'm_data' may be NULL (Enter this branch) 723
- 'm_data' is dereferenced, but may still be NULL 724
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'm_data'. g3dlib any.cpp 766
- 'm_data' may be NULL (Enter this branch) 762
- Skip this branch, (assume 'type()==EMPTY_CONTAINER' is false) 763
- 'm_data' is dereferenced, but may still be NULL 766
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'm_data'. g3dlib any.cpp 802
- 'm_data' may be NULL (Enter this branch) 801
- 'm_data' is dereferenced, but may still be NULL 802
- C6290 Logical-NOT bitwise-AND precedence Bitwise operation on logical result: ! has higher precedence than &. Use && or (!(x & y)) instead. g3dlib any.cpp 946
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'm_data'. g3dlib any.cpp 1020
- 'm_data' may be NULL (Skip this branch) 959
- Skip this branch, (assume '<branch condition>' is false) 974
- Assume switch ( 'm_type' ) resolves to case STRING: 984
- Enter this branch, (assume '!((m_data!=0))') 1019
- 'm_data' is dereferenced, but may still be NULL 1020
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'data'. g3dlib array.h 872
- '*this' may be NULL (Enter this branch) 871
- '*this' is dereferenced, but may still be NULL 872
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'data'. g3dlib array.h 892
- '*this' may be NULL (Enter this branch) 891
- '*this' is dereferenced, but may still be NULL 892
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'data'. g3dlib array.h 926
- '*this' may be NULL (Enter this branch) 925
- '*this' is dereferenced, but may still be NULL 926
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'data'. g3dlib array.h 933
- '*this' may be NULL (Enter this branch) 932
- '*this' is dereferenced, but may still be NULL 933
- C6387 Invalid parameter value 'm_buffer' could be '0': this does not adhere to the specification for the function 'fread'. g3dlib binaryinput.cpp 206
- Skip this branch, (assume '!file||((m_length==-1))' is false) 175
- Skip this branch, (assume '<branch condition>' is false) 180
- Skip this branch, (assume '!((m_freeBuffer))' is false) 190
- Enter this branch, (assume 'm_buffer==0') 192
- Skip this branch, (assume 'compressed' is false) 193
- Enter this branch, (assume '!((m_buffer))') 204
- 'm_buffer' is an Output from 'fread' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:222) 206
- 'm_buffer' should not be NULL, because this is not consistent with the SAL annotation on 'fread' 206
- C6387 Invalid parameter value 'file' could be '0': this does not adhere to the specification for the function 'fseek'. g3dlib binaryinput.cpp 301
- 'file' may be NULL (Enter this branch) 300
- 'file' is an In/Out argument to 'fseek' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:240) 301
- 'file' should not be NULL, because this is not consistent with the SAL annotation on 'fseek' 301
- C6387 Invalid parameter value 'file' could be '0': this does not adhere to the specification for the function 'fread'. See line 301 for an earlier location where this can occur g3dlib binaryinput.cpp 304
- 'file' may be NULL (Enter this branch) 300
- 'file' is an In/Out argument to 'fseek' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:240) 301
- 'file' is an In/Out argument to 'fread' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:222) 304
- 'file' should not be NULL, because this is not consistent with the SAL annotation on 'fread' 304
- C6387 Invalid parameter value 'file' could be '0': this does not adhere to the specification for the function 'fclose'. See line 301 for an earlier location where this can occur g3dlib binaryinput.cpp 306
- 'file' may be NULL (Enter this branch) 300
- 'file' is an In/Out argument to 'fseek' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:240) 301
- 'file' is an In/Out argument to 'fread' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:222) 304
- 'file' is an In/Out argument to 'fclose' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:184) 306
- 'file' should not be NULL, because this is not consistent with the SAL annotation on 'fclose' 306
- C6387 Invalid parameter value 'file' could be '0': this does not adhere to the specification for the function 'fwrite'. g3dlib binaryoutput.cpp 170
- 'file' may be NULL (Enter this branch) 168
- 'file' is an In/Out argument to 'fwrite' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:246) 170
- 'file' should not be NULL, because this is not consistent with the SAL annotation on 'fwrite' 170
- C6387 Invalid parameter value 'file' could be '0': this does not adhere to the specification for the function 'fclose'. See line 170 for an earlier location where this can occur g3dlib binaryoutput.cpp 173
- 'file' may be NULL (Enter this branch) 168
- 'file' is an In/Out argument to 'fwrite' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:246) 170
- 'file' is an In/Out argument to 'fclose' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:184) 173
- 'file' should not be NULL, because this is not consistent with the SAL annotation on 'fclose' 173
- C6385 Read overrun Reading invalid data from '_edgeVector': the readable size is '36' bytes, but 'a' bytes may be read. g3dlib box.h 139
- Enter this branch, (assume '!((a<3))') 138
- '_edgeVector' is an Output from 'G3D::Vector3::direction' (declared at e:\cores\trinitycore\test\source\dep\g3dlite\include\g3d\vector3.h:190) 139
- Invalid read from '_edgeVector[3]', (readable range is 0 to 2) 139
- C6385 Read overrun Reading invalid data from '_edgeVector': the readable size is '36' bytes, but 'a' bytes may be read. g3dlib box.h 148
- Enter this branch, (assume '!((a<3))') 147
- '_edgeVector' is an Output from 'G3D::Vector3::length' (declared at e:\cores\trinitycore\test\source\dep\g3dlite\include\g3d\vector3.h:177) 148
- Invalid read from '_edgeVector[3]', (readable range is 0 to 2) 148
- C6385 Read overrun Reading invalid data from 'table': the readable size is '1212' bytes, but 'n' bytes may be read. g3dlib crypto.cpp 58
- Enter this branch, (assume '!((n<numSmallPrimes()&&n>=0))') 20
- Invalid read from 'table[-1]', (readable range is 0 to 302) 58
- C6102 Using 'formatMsg' from failed function call at line '96'. g3dlib debugassert.cpp 103
- 'formatMsg' is not initialized 90
- 'formatMsg' is used, but may not have been initialized 103
- C6102 Using 'modulePath' from failed function call at line '119'. g3dlib debugassert.cpp 121
- 'modulePath' is not initialized 119
- 'modulePath' is an Input to 'strrchr' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:225) 121
- 'modulePath' is used, but may not have been initialized 121
- C6031 Return value ignored Return value ignored: '_mkdir'. g3dlib filesystem.cpp 412
- C6102 Using 'bufData' from failed function call at line '679'. g3dlib filesystem.cpp 682
- 'bufData' is not initialized 679
- 'bufData' is used, but may not have been initialized 682
- C6387 Invalid parameter value 'f' could be '0': this does not adhere to the specification for the function 'fread'. g3dlib fileutils.cpp 124
- 'f' may be NULL 123
- 'f' is an In/Out argument to 'fread' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:222) 124
- 'f' should not be NULL, because this is not consistent with the SAL annotation on 'fread' 124
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'buffer'. See line 124 for an earlier location where this can occur g3dlib fileutils.cpp 128
- 'buffer' may be NULL (Enter this branch) 121
- 'buffer' is an In/Out argument to 'fread' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:222) 124
- 'buffer' is dereferenced, but may still be NULL 128
- C6387 Invalid parameter value 'file' could be '0': this does not adhere to the specification for the function 'fwrite'. g3dlib fileutils.cpp 226
- 'file' may be NULL (Enter this branch) 224
- 'file' is an In/Out argument to 'fwrite' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:246) 226
- 'file' should not be NULL, because this is not consistent with the SAL annotation on 'fwrite' 226
- C6031 Return value ignored Return value ignored: '_mkdir'. g3dlib fileutils.cpp 288
- C6387 Invalid parameter value 'm_event' could be '0': this does not adhere to the specification for the function 'CloseHandle'. g3dlib gthread.cpp 134
- Skip this branch, (assume 'started()' is false) 111
- Skip this branch, (assume 'behavior==USE_CURRENT_THREAD' is false) 117
- Enter this branch, (assume '!((m_event))') 129
- Enter this branch, (assume 'm_handle==0') 133
- 'm_event' should not be NULL, because this is not consistent with the SAL annotation on 'CloseHandle' 134
- C6258 Using TerminateThread Using TerminateThread does not allow proper thread clean up. g3dlib gthread.cpp 156
- C6387 Invalid parameter value 'm_event' could be '0': this does not adhere to the specification for the function 'WaitForSingleObject'. g3dlib gthread.cpp 184
- Skip this branch, (assume 'm_status==STATUS_COMPLETED' is false) 177
- Enter this branch, (assume '!((m_event))') 183
- 'm_event' should not be NULL, because this is not consistent with the SAL annotation on 'WaitForSingleObject' 184
- C6387 Invalid parameter value 'current->m_event' could be '0': this does not adhere to the specification for the function 'SetEvent'. g3dlib gthread.cpp 199
- Enter this branch, (assume '!((current->m_event))') 195
- 'm_event' is an Input to 'SetEvent' (declared at c:\program files (x86)\windows kits\8.1\include\um\synchapi.h:432) 199
- 'current->m_event' should not be NULL, because this is not consistent with the SAL annotation on 'SetEvent' 199
- C6385 Read overrun Reading invalid data from 'data': the readable size is '16' bytes, but 'i' bytes may be read. g3dlib matrix2.h 62
- Enter this branch, (assume '!((i>=0&&i<=1))') 61
- Invalid read from 'data[-1]', (readable range is 0 to 1) 62
- C6385 Read overrun Reading invalid data from 'data': the readable size is '16' bytes, but 'i' bytes may be read. g3dlib matrix2.h 67
- Enter this branch, (assume '!((i>=0&&i<=1))') 66
- Invalid read from 'data[-1]', (readable range is 0 to 1) 67
- C6386 Write overrun Buffer overrun while writing to 'elt[0]': the writable size is '12' bytes, but 'iCol' bytes might be written. g3dlib matrix3.cpp 218
- Enter this branch, (assume '!((((iCol>=0))&&((iCol<3))))') 217
- Invalid write to 'elt[0][-1]', (writable range is 0 to 2) 218
- C6386 Write overrun Buffer overrun while writing to 'elt[1]': the writable size is '12' bytes, but 'iCol' bytes might be written. g3dlib matrix3.cpp 219
- Enter this branch, (assume '!((((iCol>=0))&&((iCol<3))))') 217
- Invalid write to 'elt[1][-1]', (writable range is 0 to 2) 219
- C6386 Write overrun Buffer overrun while writing to 'elt[2]': the writable size is '12' bytes, but 'iCol' bytes might be written. g3dlib matrix3.cpp 220
- Enter this branch, (assume '!((((iCol>=0))&&((iCol<3))))') 217
- Invalid write to 'elt[2][-1]', (writable range is 0 to 2) 220
- C6386 Write overrun Buffer overrun while writing to 'elt': the writable size is '36' bytes, but 'iRow' bytes might be written. g3dlib matrix3.cpp 226
- Enter this branch, (assume '!((((iRow>=0))&&((iRow<3))))') 225
- Invalid write to 'elt[-1]', (writable range is 0 to 2) 226
- C6385 Read overrun Reading invalid data from 'elt': the readable size is '36' bytes, but 'iRow' bytes may be read. g3dlib matrix3.h 124
- Invalid read from 'elt[-1]', (readable range is 0 to 2) 124
- C6385 Read overrun Reading invalid data from 'elt': the readable size is '36' bytes, but 'iRow' bytes may be read. g3dlib matrix3.h 130
- Invalid read from 'elt[-1]', (readable range is 0 to 2) 130
- C6031 Return value ignored Return value ignored: '_getch'. g3dlib prompt.cpp 524
- C6031 Return value ignored Return value ignored: '_getch'. g3dlib prompt.cpp 530
- C6102 Using 'dataSize' from failed function call at line '161'. g3dlib registryutil.cpp 165
- 'dataSize' is not initialized 161
- Enter this branch, (assume '!((result==0))') 162
- 'dataSize' is used, but may not have been initialized 165
- C6385 Read overrun Reading invalid data from 'm_embedded': the readable size is '128' bytes, but 'i' bytes may be read. g3dlib smallarray.h 58
- Enter this branch, (assume '!((i<m_size&&i>=0))') 56
- Enter this branch, (assume 'i<8') 57
- Invalid read from 'm_embedded[-1]', (readable range is 0 to 7) 58
- C6385 Read overrun Reading invalid data from 'm_embedded': the readable size is '128' bytes, but 'i' bytes may be read. g3dlib smallarray.h 67
- Enter this branch, (assume '!((i<m_size&&i>=0))') 65
- Enter this branch, (assume 'i<8') 66
- Invalid read from 'm_embedded[-1]', (readable range is 0 to 7) 67
- C28159 Consider using another function instead Consider using 'IsWindows*' instead of 'GetVersionExA'. Reason: Deprecated. Use VerifyVersionInfo* or IsWindows* macros from VersionHelpers. g3dlib system.cpp 229
- C6387 Invalid parameter value 'dst' could be '0': this does not adhere to the specification for the function 'memset'. g3dlib system.cpp 703
- 'dst' may be NULL (Enter this branch) 696
- Skip this branch, (assume '<branch condition>' is false) 698
- 'dst' should not be NULL, because this is not consistent with the SAL annotation on 'memset' 703
- C6031 Return value ignored Return value ignored: '_putenv'. g3dlib system.cpp 1569
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'm_bucket'. g3dlib table.h 233
- 'm_bucket' may be NULL (Enter this branch) 219
- Enter this loop, (assume 'b<m_numBuckets') 223
- Skip this loop, (assume 'node!=0' is false) 227
- Continue this loop, (assume 'b<m_numBuckets') 223
- Enter this loop, (assume 'node!=0') 227
- 'm_bucket' is dereferenced, but may still be NULL 233
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'node'. g3dlib table.h 508
- 'node' may be NULL (Enter this branch) 506
- Skip this loop, (assume '0' is false) 507
- 'node' is dereferenced, but may still be NULL 508
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'e'. g3dlib table.h 717
- 'e' may be NULL (Enter this branch) 716
- 'e' is dereferenced, but may still be NULL 717
- C6031 Return value ignored Return value ignored: 'sscanf'. g3dlib textinput.cpp 66
- C6031 Return value ignored Return value ignored: 'sscanf'. g3dlib textinput.cpp 69
- C6387 Invalid parameter value 'f' could be '0': this does not adhere to the specification for the function 'fwrite'. g3dlib textoutput.cpp 427
- 'f' may be NULL (Enter this branch) 426
- 'f' is an In/Out argument to 'fwrite' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:246) 427
- 'f' should not be NULL, because this is not consistent with the SAL annotation on 'fwrite' 427
- C6385 Read overrun Reading invalid data from '_vertex': the readable size is '36' bytes, but 'n' bytes may be read. g3dlib triangle.h 72
- Enter this branch, (assume '!((((n>=0))&&((n<3))))') 71
- Invalid read from '_vertex[-1]', (readable range is 0 to 2) 72
- C6385 Read overrun Reading invalid data from 'BG_AV_StaticCreaturePos': the readable size is '2460' bytes, but 'type' bytes may be read. game battlegroundav.cpp 283
- Skip this branch, (assume '<branch condition>' is false) 279
- Enter this branch, (assume 'type>=AV_CPLACE_MAX') 280
- Invalid read from 'BG_AV_StaticCreaturePos[123]', (readable range is 0 to 122) 283
- C6385 Read overrun Reading invalid data from 'm_BattlegroundQueues': the readable size is '26136' bytes, but '608256' bytes may be read. game battlegroundmgr.cpp 125
- Skip this loop, (assume '(bool)=itr1.!=(), (), (bool)' is false) 84
- Enter this loop, (assume '<branch condition>') 109
- 'm_BattlegroundQueues' is an Output from 'BattlegroundQueue::UpdateEvents' (declared at e:\cores\trinitycore\test\source\src\server\game\battlegrounds\battlegroundqueue.h:75) 110
- Enter this loop, (assume '<branch condition>') 109
- 'm_BattlegroundQueues' is an Output from 'BattlegroundQueue::UpdateEvents' (declared at e:\cores\trinitycore\test\source\src\server\game\battlegrounds\battlegroundqueue.h:75) 110
- Continue this loop, (assume '<branch condition>') 109
- Enter this branch, (assume '<branch condition>') 113
- Enter this loop, (assume 'i<scheduled.size()') 118
- 'm_BattlegroundQueues' is an Output from 'BattlegroundQueue::BattlegroundQueueUpdate' (declared at e:\cores\trinitycore\test\source\src\server\game\battlegrounds\battlegroundqueue.h:74) 125
- Invalid read from 'm_BattlegroundQueues[255]', (readable range is 0 to 10) 125
- C6297 Result of shift cast to larger size Arithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value. game battlegroundmgr.cpp 835
- C6297 Result of shift cast to larger size Arithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value. game battlegroundmgr.cpp 835
- C6297 Result of shift cast to larger size Arithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value. game battlegroundmgr.cpp 835
- C28182 Dereferencing a copy of a null pointer Dereferencing NULL pointer. 'invite' contains the same NULL value as '(CalendarInvite *)=(invite)' did. game calendarmgr.cpp 170
- 'invite' may be NULL 168
- 'invite' is dereferenced, but may still be NULL 170
- C6031 Return value ignored Return value ignored: 'strtok'. game chat.cpp 834
- C6031 Return value ignored Return value ignored: 'strtok'. game chat.cpp 846
- C6031 Return value ignored Return value ignored: 'strtok'. game chat.cpp 847
- C6031 Return value ignored Return value ignored: 'strtok'. game chat.cpp 902
- C6031 Return value ignored Return value ignored: 'strtok'. game chat.cpp 903
- C6031 Return value ignored Return value ignored: 'strtok'. game chat.cpp 910
- C6031 Return value ignored Return value ignored: 'strtok'. game chat.cpp 1219
- C6001 Using uninitialized memory Using uninitialized memory 'sharedList'. game conditionmgr.cpp 1171
- 'sharedList' is not initialized 1169
- 'sharedList' is an Output from 'std::list<Condition *,std::allocator<Condition *> >::push_back' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\list:1284) 1171
- 'sharedList' is used, but may not have been initialized 1171
- C6262 Excessive stack usage Function uses '32780' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. game databaseworkerpool.h 139
- C6262 Excessive stack usage Function uses '32780' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. game databaseworkerpool.h 179
- C6262 Excessive stack usage Function uses '32780' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. game databaseworkerpool.h 245
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'sql'. game dbcstore.h 153
- 'sql' may be NULL (Skip this branch) 106
- Enter this branch, (assume 'result.._N()') 142
- Enter this branch, (assume 'indexTable.asT') 144
- Enter this branch, (assume '!fields') 150
- 'sql' is dereferenced, but may still be NULL 153
- C28182 Dereferencing a copy of a null pointer Dereferencing NULL pointer. 'save' contains the same NULL value as '(InstanceSave *)=(save)' did. game instancesavemgr.cpp 51
- 'save' may be NULL 49
- 'save' is dereferenced, but may still be NULL 51
- C28182 Dereferencing a copy of a null pointer Dereferencing NULL pointer. 'item' contains the same NULL value as '(Item *)=(item)' did. game mail.cpp 121
- 'item' may be NULL 116
- Enter this branch, (assume 'inDB') 118
- 'item' is dereferenced, but may still be NULL 121
- C6385 Read overrun Reading invalid data from 'elt': the readable size is '36' bytes, but 'iRow' bytes may be read. game matrix3.h 124
- Invalid read from 'elt[-1]', (readable range is 0 to 2) 124
- C6385 Read overrun Reading invalid data from 'elt': the readable size is '36' bytes, but 'iRow' bytes may be read. game matrix3.h 130
- Invalid read from 'elt[-1]', (readable range is 0 to 2) 130
- C6053 Zero termination from call The prior call to '_vsnprintf' might not zero-terminate string 'szStr'. game mischandler.cpp 807
- 'szStr' is Output from '_vsnprintf', which may not zero-terminate it 804
- 'szStr' is an Input to 'strlen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:121) 807
- 'szStr' is required to be zero-terminated by a SAL annotation on 'strlen' 807
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'target'. game object.cpp 571
- Skip this branch, (assume 'target==this' is false) 563
- Assume switch ( 'GetTypeId()' ) resolves to case TYPEID_ITEM: case TYPEID_CONTAINER: 566
- 'target' is dereferenced, but may still be NULL 571
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'obj'. game object.cpp 1691
- Skip this branch, (assume 'this==obj' is false) 1688
- 'obj' is an In/Out argument to 'WorldObject::CanNeverSee' (declared at e:\cores\trinitycore\test\source\src\server\game\entities\object\object.h:795) 1691
- 'obj' is dereferenced, but may still be NULL 1691
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'player'. game object.cpp 2744
- Skip this branch, (assume '!IsInWorld()' is false) 2730
- Enter this loop, (assume '(bool)=iter.!=(), (), (bool)') 2737
- Skip this branch, (assume 'player==this' is false) 2741
- 'player' is dereferenced, but may still be NULL 2744
- C6385 Read overrun Reading invalid data from 'spellInfo->Effects': the readable size is '300' bytes, but '25600' bytes may be read. game objectmgr.cpp 4882
- Enter this loop, (assume '(bool)=itr.!=(), (), (bool)') 4869
- Skip this branch, (assume '!spellInfo' is false) 4874
- Invalid read from 'spellInfo->Effects[255]', (readable range is 0 to 2) 4882
- C6385 Read overrun Reading invalid data from '_pathPolyRefs': the readable size is '592' bytes, but '-8' bytes may be read. game pathgenerator.cpp 329
- Skip this branch, (assume 'startPoly==0||endPoly==0' is false) 172
- Skip this branch, (assume 'farFromPoly' is false) 200
- Skip this branch, (assume 'startPoly==endPoly' is false) 248
- Enter this branch, (assume '_polyLength') 269
- Enter this loop, (assume 'pathStartIndex<_polyLength') 271
- Skip this branch, (assume '<branch condition>' is false) 274
- Skip this branch, (assume '<branch condition>' is false) 284
- Continue this loop, (assume 'pathStartIndex<_polyLength') 271
- Skip this branch, (assume '<branch condition>' is false) 274
- Enter this branch, (assume '<branch condition>') 284
- Skip this loop, (assume 'pathEndIndex>pathStartIndex' is false) 291
- Skip this branch, (assume 'startPolyFound&&endPolyFound' is false) 299
- Enter this branch, (assume 'startPolyFound&&!endPolyFound') 310
- '_pathPolyRefs' is an Output from 'memmove' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:139) 327
- Invalid read from '_pathPolyRefs[-1]', (readable range is 0 to 73) 329
- C6385 Read overrun Reading invalid data from 'pathPoints': the readable size is '_Old_2`12' bytes, but '20' bytes may be read. game pathgenerator.cpp 549
- 'pathPoints' is a 888 byte array 475
- Enter this branch, (assume '_straightLine') 478
- 'pathPoints' is an Output from 'memcpy' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:55) 482
- 'pathPoints' is an Output from 'memcpy' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:55) 501
- Skip this branch, (assume '<branch condition>' is false) 529
- Skip this branch, (assume 'pointCount==_pointPathLimit' is false) 539
- Enter this loop, (assume 'i<pointCount') 548
- 'pathPoints' is an In/Out argument to 'G3D::Vector3::{ctor}' (declared at e:\cores\trinitycore\test\source\dep\g3dlite\include\g3d\vector3.h:95) 549
- 'i' may equal 1 548
- Continue this loop, (assume 'i<pointCount') 548
- 'pathPoints' is an In/Out argument to 'G3D::Vector3::{ctor}' (declared at e:\cores\trinitycore\test\source\dep\g3dlite\include\g3d\vector3.h:95) 549
- Invalid read from 'pathPoints[4]', (readable range is 0 to 2) 549
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'p'. game player.cpp 2894
- 'p' is dereferenced, but may still be NULL 2894
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'p'. game player.cpp 2901
- 'p' is dereferenced, but may still be NULL 2901
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'spellInfo'. game player.cpp 4088
- 'spellInfo' may be NULL (Skip this branch) 3995
- Skip this branch, (assume 'spellLearnSkill' is false) 4004
- Skip this branch, (assume 'Has310Flyer(0, 0)&&spellInfo' is false) 4044
- Skip this loop, (assume 'itr2.!=(spell_bounds.second)' is false) 4071
- Skip this branch, (assume 'talentCosts' is false) 4080
- Skip this branch, (assume '<branch condition>' is false) 4088
- 'spellInfo' is dereferenced, but may still be NULL 4088
- C6385 Read overrun Reading invalid data from 'm_spellMods': the readable size is '384' bytes, but 'mod->op' bytes may be read. game player.cpp 20928
- 'm_spellMods' is an Output from 'std::list<SpellModifier *,std::allocator<SpellModifier *> >::begin' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\list:1114) 20910
- Enter this loop, (assume 'eff<96') 20901
- Skip this branch, (assume 'eff!=0&&eff%32==0' is false) 20903
- Skip this branch, (assume 'mod->mask.&(_mask)->._N()' is false) 20907
- Enter this loop, (assume 'eff<96') 20901
- Enter this branch, (assume 'eff!=0&&eff%32==0') 20903
- Skip this branch, (assume 'mod->mask.&(_mask)->._N()' is false) 20907
- Continue this loop, (assume 'eff<96') 20901
- Skip this branch, (assume 'apply' is false) 20924
- 'm_spellMods' is an Output from 'std::list<SpellModifier *,std::allocator<SpellModifier *> >::remove' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\list:1606) 20928
- Invalid read from 'm_spellMods[107]', (readable range is 0 to 31) 20928
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'u'. game player.cpp 22427
- 'u' is dereferenced, but may still be NULL 22427
- C6262 Excessive stack usage Function uses '32376' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. game playerdump.cpp 399
- C6053 Zero termination from call The prior call to '_snprintf' might not zero-terminate string 'lastpetid'. game playerdump.cpp 630
- 'lastpetid' is Output from '_snprintf', which may not zero-terminate it 629
- 'lastpetid' is an Input to 'strcmp' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:120) 630
- Skip this branch, (assume '<branch condition>' is false) 630
- 'lastpetid' is required to be zero-terminated by a SAL annotation on 'strcmp' 630
- C6053 Zero termination from call The prior call to '_snprintf' might not zero-terminate string 'newpetid'. game playerdump.cpp 640
- 'newpetid' is Output from '_snprintf', which may not zero-terminate it 446
- Enter this loop, (assume '!feof(fin)') 463
- Skip this branch, (assume '!fgets(buf, 32000, fin)' is false) 465
- Skip this branch, (assume 'nw_pos==npos' is false) 476
- Skip this branch, (assume '<branch condition>' is false) 481
- Skip this branch, (assume 'tn.empty()' is false) 498
- Enter this loop, (assume 'i<27') 506
- Enter this branch, (assume '==(tn, dumpTables[i].name)') 508
- Skip this branch, (assume 'i==27' is false) 515
- Assume switch ( 'type' ) resolves to case DTT_PET: 522
- Skip this branch, (assume '<branch condition>' is false) 630
- Enter this branch, (assume '<branch condition>') 638
- 'newpetid' is an Input to 'atoi' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdlib.h:430) 640
- 'newpetid' is required to be zero-terminated by a SAL annotation on 'atoi' 640
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'factionEntry'. See line 287 for an earlier location where this can occur game reputationmgr.cpp 346
- Skip this branch, (assume '<branch condition>' is false) 311
- Enter this branch, (assume 'flist') 328
- Skip this loop, (assume '(bool)=itr.!=(*), (), (bool)' is false) 331
- 'factionEntry' is dereferenced, but may still be NULL 346
- C6386 Write overrun Buffer overrun while writing to 'SpellSummary': the writable size is 'public: static class SpellMgr * __cdecl SpellMgr::instance(void)()->public: unsigned int __thiscall SpellMgr::GetSpellInfoStoreSize(void)const ()*2' bytes, but '4' bytes might be written. game scriptmgr.cpp 260
- Enter this loop, (assume '<branch condition>') 258
- Skip this branch, (assume '!pTempSpell' is false) 265
- Enter this loop, (assume 'j<3') 268
- Skip this branch, (assume '<branch condition>' is false) 271
- Skip this branch, (assume '<branch condition>' is false) 275
- Skip this branch, (assume '<branch condition>' is false) 282
- Skip this branch, (assume '<branch condition>' is false) 291
- Skip this branch, (assume '<branch condition>' is false) 297
- Skip this branch, (assume '<branch condition>' is false) 303
- Skip this branch, (assume '<branch condition>' is false) 312
- Enter this loop, (assume 'j<3') 268
- Skip this branch, (assume '<branch condition>' is false) 271
- Skip this branch, (assume '<branch condition>' is false) 275
- Skip this branch, (assume '<branch condition>' is false) 282
- Skip this branch, (assume '<branch condition>' is false) 291
- Skip this branch, (assume '<branch condition>' is false) 297
- Skip this branch, (assume '<branch condition>' is false) 303
- Skip this branch, (assume '<branch condition>' is false) 312
- Continue this loop, (assume 'j<3') 268
- 'i' may equal 1 258
- Continue this loop, (assume '<branch condition>') 258
- Invalid write to 'SpellSummary[1]', (writable range is 0 to 0) 260
- C6385 Read overrun Reading invalid data from 'm_spellInfo->Effects': the readable size is '300' bytes, but 'effIndex' bytes may be read. game spell.cpp 1461
- Enter this branch, (assume 'maxTargets>1') 1452
- Skip this loop, (assume 'k<3' is false) 1455
- 'Effects' is an Output from 'Spell::SearchChainTargets' (declared at e:\cores\trinitycore\test\source\src\server\game\spells\spell.h:376) 1461
- Invalid read from 'm_spellInfo->Effects[3]', (readable range is 0 to 2) 1461
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'm_CastItem'. game spell.cpp 4524
- 'm_CastItem' is NULL 4532
- Continue this loop, (assume 'x<8') 4510
- Skip this branch, (assume 'm_spellInfo->Reagent[x]<=0' is false) 4512
- Enter this branch, (assume '<branch condition>') 4519
- Continue this loop, (assume 's<5') 4521
- 'm_CastItem' is dereferenced, but may still be NULL 4524
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'existingAura'. game spellauras.cpp 1769
- Skip this branch, (assume 'this==existingAura' is false) 1765
- 'existingAura' is dereferenced, but may still be NULL 1769
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'unitTarget'. game spelleffects.cpp 695
- 'unitTarget' may be NULL (Skip this branch) 679
- Assume switch ( 'm_spellInfo->SpellFamilyName' ) resolves to case SPELLFAMILY_PALADIN: 683
- Assume switch ( 'm_spellInfo->Id' ) resolves to case 31789: 686
- Skip this loop, (assume '(bool)=ihit.!=(), (), (bool)' is false) 691
- 'unitTarget' is dereferenced, but may still be NULL 695
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'caster'. game spellinfo.cpp 1602
- Skip this branch, (assume '<branch condition>' is false) 1495
- Skip this branch, (assume '<branch condition>' is false) 1499
- Skip this branch, (assume 'unitTarget' is false) 1505
- Skip this branch, (assume '<branch condition>' is false) 1564
- Skip this branch, (assume '<branch condition>' is false) 1577
- Skip this branch, (assume '<branch condition>' is false) 1580
- Skip this branch, (assume '<branch condition>' is false) 1584
- Skip this branch, (assume '<branch condition>' is false) 1593
- Skip this branch, (assume '<branch condition>' is false) 1602
- 'caster' is dereferenced, but may still be NULL 1602
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'currentRef'. See line 330 for an earlier location where this can occur game threatmanager.cpp 358
- 'currentRef' is NULL 319
- Enter this loop, (assume '<branch condition>') 326
- Skip this branch, (assume '!((target))' is false) 331
- Skip this branch, (assume '<branch condition>' is false) 334
- Enter this branch, (assume '<branch condition>') 353
- Enter this branch, (assume 'currentVictim') 355
- 'currentRef' is dereferenced, but may still be NULL 358
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'q'. game timer_queue_set.ipp 53
- Enter this branch, (assume 'first_') 40
- Skip this branch, (assume 'q==first_' is false) 42
- Enter this loop, (assume 'p->next_') 49
- Enter this branch, (assume 'p->next_==q') 51
- 'q' is dereferenced, but may still be NULL 53
- C6385 Read overrun Reading invalid data from '_vertex': the readable size is '36' bytes, but 'n' bytes may be read. game triangle.h 72
- Enter this branch, (assume '!((((n>=0))&&((n<3))))') 71
- Invalid read from '_vertex[-1]', (readable range is 0 to 2) 72
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'victim'. See line 561 for an earlier location where this can occur game unit.cpp 760
- Skip this branch, (assume 'victim->IsAIEnabled' is false) 561
- Skip this branch, (assume 'IsAIEnabled' is false) 564
- 'victim' is an In/Out argument to 'ScriptMgr::OnDamage' (declared at e:\cores\trinitycore\test\source\src\server\game\scripting\scriptmgr.h:1118) 568
- Skip this branch, (assume '<branch condition>' is false) 570
- Skip this branch, (assume '<branch condition>' is false) 583
- Skip this branch, (assume 'damagetype!=NODAMAGE' is false) 586
- Skip this branch, (assume '<branch condition>' is false) 624
- Skip this branch, (assume '!damage' is false) 658
- Skip this branch, (assume '<branch condition>' is false) 667
- Skip this branch, (assume '<branch condition>' is false) 670
- Skip this branch, (assume '<branch condition>' is false) 675
- Skip this branch, (assume '<branch condition>' is false) 683
- Skip this branch, (assume '<branch condition>' is false) 698
- Skip this branch, (assume '<branch condition>' is false) 711
- Skip this branch, (assume '<branch condition>' is false) 713
- Skip this branch, (assume 'health<=damage' is false) 722
- Skip this branch, (assume '<branch condition>' is false) 735
- 'victim' is an Output from 'Unit::ModifyHealth' (declared at e:\cores\trinitycore\test\source\src\server\game\entities\unit\unit.h:1390) 738
- Skip this branch, (assume '<branch condition>' is false) 740
- Skip this branch, (assume '<branch condition>' is false) 747
- Skip this branch, (assume '<branch condition>' is false) 752
- Skip this branch, (assume '<branch condition>' is false) 760
- 'victim' is dereferenced, but may still be NULL 760
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'victim'. See line 2592 for an earlier location where this can occur game unit.cpp 2608
- Skip this branch, (assume '<branch condition>' is false) 2592
- Skip this branch, (assume '<branch condition>' is false) 2597
- Skip this branch, (assume '<branch condition>' is false) 2601
- Skip this branch, (assume 'this==victim' is false) 2604
- 'victim' is dereferenced, but may still be NULL 2608
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'target'. game unit.cpp 8698
- Skip this branch, (assume 'this==target' is false) 8694
- 'target' is dereferenced, but may still be NULL 8698
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'creature'. game unit.cpp 15384
- 'creature' may be NULL (Skip this branch) 15211
- Skip this branch, (assume '<branch condition>' is false) 15218
- Skip this branch, (assume '<branch condition>' is false) 15223
- Skip this branch, (assume 'IsPet()||IsTotem()' is false) 15293
- Skip this branch, (assume '!victim->IsCritter()' is false) 15297
- Skip this branch, (assume '<branch condition>' is false) 15310
- Enter this branch, (assume '!spiritOfRedemption') 15335
- Skip this branch, (assume '<branch condition>' is false) 15337
- Skip this branch, (assume 'player' is false) 15344
- Skip this branch, (assume '<branch condition>' is false) 15382
- 'creature' is dereferenced, but may still be NULL 15384
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'unit'. game unit.cpp 16082
- Skip this branch, (assume 'this==unit' is false) 16078
- 'unit' is dereferenced, but may still be NULL 16082
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'unit'. game unit.cpp 16101
- Skip this branch, (assume 'this==unit' is false) 16097
- 'unit' is dereferenced, but may still be NULL 16101
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'owner'. See line 16118 for an earlier location where this can occur game unit.cpp 16145
- 'owner' receives the Return value from 'Unit::GetCharmerOrOwnerOrSelf' (declared at e:\cores\trinitycore\test\source\src\server\game\entities\unit\unit.h:1676) 16116
- 'owner' receives the Return value from 'Unit::GetCharmerOrOwnerOrSelf' (declared at e:\cores\trinitycore\test\source\src\server\game\entities\unit\unit.h:1676) 16116
- Skip this branch, (assume '<branch condition>' is false) 16118
- Skip this branch, (assume 'group' is false) 16121
- 'owner' is an In/Out argument to 'WorldObject::IsInMap' (declared at e:\cores\trinitycore\test\source\src\server\game\entities\object\object.h:628) 16143
- Skip this branch, (assume '<branch condition>' is false) 16143
- 'owner' is dereferenced, but may still be NULL 16145
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'vehicle'. See line 16860 for an earlier location where this can occur game unit.cpp 16879
- Skip this branch, (assume '!((aurApp))' is false) 16858
- Skip this branch, (assume '<branch condition>' is false) 16860
- Enter this branch, (assume 'm_vehicle') 16863
- Enter this branch, (assume 'm_vehicle!=vehicle') 16865
- Skip this branch, (assume 'aurApp->GetRemoveMode()' is false) 16874
- Skip this branch, (assume '<branch condition>' is false) 16879
- 'vehicle' is dereferenced, but may still be NULL 16879
- C6387 Invalid parameter value '_bits' could be '0': this does not adhere to the specification for the function 'memcpy'. game updatemask.h 42
- '_bits' should not be NULL, because this is not consistent with the SAL annotation on 'memcpy' 42
- C6385 Read overrun Reading invalid data from 'o0': the readable size is '20' bytes, but '21' bytes may be read. game wardenkeygeneration.h 57
- Enter this loop, (assume 'i<sz') 52
- Continue this loop, (assume 'i<sz') 52
- Invalid read from 'o0[20]', (readable range is 0 to 19) 57
- C6387 Invalid parameter value 'Temp_value_#764' could be '0': this does not adhere to the specification for the function 'GetProcAddress'. game win_iocp_socket_service_base.ipp 205
- Skip this branch, (assume '!is_open(impl)' is false) 197
- 'Temp_value_#764' should not be NULL, because this is not consistent with the SAL annotation on 'GetProcAddress' 205
- C6258 Using TerminateThread Using TerminateThread does not allow proper thread clean up. game win_thread.ipp 48
- C6293 Loop counts down from minimum Ill-defined for-loop: counts down from minimum. game world.cpp 1854
- C6053 Zero termination from call The prior call to '_vsnprintf' might not zero-terminate string 'szStr'. game worldsession.cpp 598
- 'szStr' is Output from '_vsnprintf', which may not zero-terminate it 595
- 'szStr' is an Input to 'strlen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:121) 598
- 'szStr' is required to be zero-terminated by a SAL annotation on 'strlen' 598
- C6053 Zero termination from call The prior call to '_vsnprintf' might not zero-terminate string 'szStr'. game worldsession.cpp 616
- 'szStr' is Output from '_vsnprintf', which may not zero-terminate it 613
- 'szStr' is an Input to 'strlen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:121) 616
- 'szStr' is required to be zero-terminated by a SAL annotation on 'strlen' 616
- C6287 Redundant test Redundant code: the left and right sub-expressions are identical. gsoap stdsoap2.cpp 576
- C6287 Redundant test Redundant code: the left and right sub-expressions are identical. gsoap stdsoap2.cpp 654
- C6287 Redundant test Redundant code: the left and right sub-expressions are identical. gsoap stdsoap2.cpp 918
- C6287 Redundant test Redundant code: the left and right sub-expressions are identical. gsoap stdsoap2.cpp 986
- C6031 Return value ignored Return value ignored: '_setmode'. gsoap stdsoap2.cpp 7249
- C6387 Invalid parameter value 'tp' could be '0': this does not adhere to the specification for the function 'memcpy'. gsoap stdsoap2.cpp 8895
- 'tp' may be NULL 8894
- 'tp' is an In/Out argument to 'memcpy' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:55) 8895
- 'tp' should not be NULL, because this is not consistent with the SAL annotation on 'memcpy' 8895
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'tp'. See line 8895 for an earlier location where this can occur gsoap stdsoap2.cpp 8896
- 'tp' may be NULL 8894
- 'tp' is an In/Out argument to 'memcpy' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:55) 8895
- Skip this branch, (assume 'tp->size' is false) 8896
- 'tp' is dereferenced, but may still be NULL 8896
- C6031 Return value ignored Return value ignored: 'sscanf'. gsoap stdsoap2.cpp 13657
- C6031 Return value ignored Return value ignored: '_setmode'. gsoap stdsoap2.cpp 15100
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'soap->mime.first'. gsoap stdsoap2.cpp 15299
- 'soap->mime.first' may be NULL 15088
- Skip this branch, (assume '<branch condition>' is false) 15096
- Skip this branch, (assume '<branch condition>' is false) 15120
- Skip this loop, (assume '((c))+1>0&&((c))<=32' is false) 15153
- Skip this branch, (assume '<branch condition>' is false) 15156
- Skip this branch, (assume '<branch condition>' is false) 15158
- Skip this branch, (assume '<branch condition>' is false) 15163
- Skip this branch, (assume '<branch condition>' is false) 15173
- Skip this loop, (assume '((c))+1>0&&((c))<=32' is false) 15176
- Skip this branch, (assume '(int)c==((-1))' is false) 15179
- Skip this branch, (assume '<branch condition>' is false) 15184
- Enter this branch, (assume 'soap->mode') 15283
- Skip this branch, (assume '<branch condition>' is false) 15285
- Skip this branch, (assume 'soap_getmimehdr(soap)' is false) 15289
- Skip this branch, (assume 'soap->mime.start' is false) 15291
- 'soap->mime.first' is dereferenced, but may still be NULL 15299
- C6387 Invalid parameter value 'endpoint' could be '0': this does not adhere to the specification for the function 'strncpy'. gsoap stdsoap2.cpp 15704
- 'endpoint' may be NULL 15702
- 'endpoint' is an In/Out argument to 'strncpy' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:195) 15704
- 'endpoint' should not be NULL, because this is not consistent with the SAL annotation on 'strncpy' 15704
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'endpoint'. See line 15704 for an earlier location where this can occur gsoap stdsoap2.cpp 15705
- 'endpoint' may be NULL 15702
- 'endpoint' is an In/Out argument to 'strncpy' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:195) 15704
- 'endpoint' is dereferenced, but may still be NULL 15705
- C6031 Return value ignored Return value ignored: 'chdir'. mapextractor system.cpp 112
- C6054 Zero termination missing String 'fileName' might not be zero-terminated. mmaps_generator intermediatevalues.cpp 67
- This expression may not zero-terminate 'fileName' 34
- Skip this branch, (assume 'heightfield' is false) 58
- Skip this branch, (assume 'compactHeightfield' is false) 60
- Skip this branch, (assume 'contours' is false) 62
- Skip this branch, (assume 'polyMesh' is false) 64
- Enter this branch, (assume 'polyMeshDetail') 66
- 'fileName' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356) 67
- 'fileName' is required to be zero-terminated by a SAL annotation on 'fopen' 67
- C6054 Zero termination missing String 'objFileName' might not be zero-terminated. mmaps_generator intermediatevalues.cpp 207
- This expression may not zero-terminate 'objFileName' 204
- 'objFileName' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356) 205
- 'objFileName' is an Input to 'fopen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:211) 207
- 'objFileName' is required to be zero-terminated by a SAL annotation on 'fopen' 207
- C6054 Zero termination missing String 'message' might not be zero-terminated. mmaps_generator intermediatevalues.cpp 263
- This expression may not zero-terminate 'message' 261
- 'message' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356) 262
- 'message' is an Input to 'perror' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:258) 263
- 'message' is required to be zero-terminated by a SAL annotation on 'perror' 263
- C6054 Zero termination missing String 'fileName' might not be zero-terminated. mmaps_generator mapbuilder.cpp 521
- This expression may not zero-terminate 'fileName' 518
- 'fileName' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356) 519
- 'fileName' is an Input to 'fopen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:211) 521
- 'fileName' is required to be zero-terminated by a SAL annotation on 'fopen' 521
- C6054 Zero termination missing String 'message' might not be zero-terminated. mmaps_generator mapbuilder.cpp 527
- This expression may not zero-terminate 'message' 525
- 'message' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356) 526
- 'message' is an Input to 'perror' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:258) 527
- 'message' is required to be zero-terminated by a SAL annotation on 'perror' 527
- C6054 Zero termination missing String 'fileName' might not be zero-terminated. mmaps_generator mapbuilder.cpp 838
- This expression may not zero-terminate 'fileName' 836
- 'fileName' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356) 837
- 'fileName' is an Input to 'fopen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:211) 838
- 'fileName' is required to be zero-terminated by a SAL annotation on 'fopen' 838
- C6054 Zero termination missing String 'message' might not be zero-terminated. mmaps_generator mapbuilder.cpp 843
- This expression may not zero-terminate 'message' 841
- 'message' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356) 842
- 'message' is an Input to 'perror' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:258) 843
- 'message' is required to be zero-terminated by a SAL annotation on 'perror' 843
- C6054 Zero termination missing String 'fileName' might not be zero-terminated. mmaps_generator mapbuilder.cpp 997
- This expression may not zero-terminate 'fileName' 995
- 'fileName' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356) 996
- 'fileName' is an Input to 'fopen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:211) 997
- 'fileName' is required to be zero-terminated by a SAL annotation on 'fopen' 997
- C6385 Read overrun Reading invalid data from 'elt': the readable size is '36' bytes, but 'iRow' bytes may be read. mmaps_generator matrix3.h 124
- Invalid read from 'elt[-1]', (readable range is 0 to 2) 124
- C6385 Read overrun Reading invalid data from 'elt': the readable size is '36' bytes, but 'iRow' bytes may be read. mmaps_generator matrix3.h 130
- Invalid read from 'elt[-1]', (readable range is 0 to 2) 130
- C6031 Return value ignored Return value ignored: 'getchar'. mmaps_generator pathgenerator.cpp 239
- C6262 Excessive stack usage Function uses '232664' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. mmaps_generator terrainbuilder.cpp 134
- C6054 Zero termination missing String 'mapFileName' might not be zero-terminated. mmaps_generator terrainbuilder.cpp 139
- This expression may not zero-terminate 'mapFileName' 136
- 'mapFileName' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356) 137
- 'mapFileName' is an Input to 'fopen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:211) 139
- 'mapFileName' is required to be zero-terminated by a SAL annotation on 'fopen' 139
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'lverts_copy'. mmaps_generator terrainbuilder.cpp 436
- 'lverts_copy' is NULL 376
- Skip this branch, (assume 'meshData.liquidVerts.size()' is false) 377
- Enter this loop, (assume 'i<loopEnd') 384
- Enter this loop, (assume 'j<2') 386
- Skip this branch, (assume '<branch condition>' is false) 395
- Assume switch ( 'liquidType' ) resolves to case 1: case 2: 400
- Enter this branch, (assume 'useLiquid') 430
- Enter this loop, (assume 'idx<3') 434
- 'lverts_copy' is dereferenced, but may still be NULL 436
- C6385 Read overrun Reading invalid data from '_vertex': the readable size is '36' bytes, but 'n' bytes may be read. mmaps_generator triangle.h 72
- Enter this branch, (assume '!((((n>=0))&&((n<3))))') 71
- Invalid read from '_vertex[-1]', (readable range is 0 to 2) 72
- C28182 Dereferencing a copy of a null pointer Dereferencing NULL pointer. 'p_item3->next' contains the same NULL value as 'item' did. See line 733 for an earlier location where this can occur mpq huffman.c 796
- 'p_item3->next' may be NULL 785
- Enter this branch, (assume 'p_item3==(((void *)0))') 790
- 'p_item3->next' is dereferenced, but may still be NULL 796
- C28182 Dereferencing a copy of a null pointer Dereferencing NULL pointer. 'p_item1' contains the same NULL value as 'p_item1->child' did. See line 1025 for an earlier location where this can occur mpq huffman.c 1043
- 'p_item1' may be NULL (Skip this loop) 1025
- Enter this branch, (assume 'has_qd==0') 1028
- Skip this branch, (assume 'bit_count>7' is false) 1031
- Enter this loop, (assume 'index<=127') 1040
- 'p_item1' is dereferenced, but may still be NULL 1043
- C28182 Dereferencing a copy of a null pointer Dereferencing NULL pointer. 'p_item2' contains the same NULL value as 'p_item1->child' did. mpq huffman.c 1064
- 'p_item2' may be NULL 1063
- 'p_item2' is dereferenced, but may still be NULL 1064
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'mpq_archive->mpq_file[file_number]'. mpq mpq.c 753
- '*mpq_archive->mpq_file' may be NULL (Enter this branch) 645
- Go to error 649
- '*mpq_archive->mpq_file' is dereferenced, but may still be NULL 753
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'pmesh->polys'. Recast recastmesh.cpp 1417
- 'pmesh->polys' may equal 65535 (Enter this branch) 1424
- Skip this branch, (assume 'isOnBorder' is false) 1428
- Continue this loop, (assume 'j<pmesh->npolys') 1414
- 'pmesh->polys' is dereferenced, but may still be NULL 1417
- C28182 Dereferencing a copy of a null pointer Dereferencing NULL pointer. 'chf.spans' contains the same NULL value as 'hp.data[hx+hy*hp.width]' did. See line 1066 for an earlier location where this can occur Recast recastmeshdetail.cpp 1083
- 'chf.spans' may equal 65535 (Skip this branch) 1079
- 'chf.spans' is dereferenced, but may still be NULL 1083
- C6385 Read overrun Reading invalid data from 'AkamaWP': the readable size is '156' bytes, but '168' bytes may be read. scripts boss_illidan.cpp 1665
- Assume switch ( 'WalkCount' ) resolves to case 12: 1644
- Enter this branch, (assume 'Phase==PHASE_WALK') 1661
- 'AkamaWP' is an In/Out argument to 'MotionMaster::MovePoint' (declared at e:\cores\trinitycore\test\source\src\server\game\movement\motionmaster.h:174) 1665
- Invalid read from 'AkamaWP[13]', (readable range is 0 to 12) 1665
- C6031 Return value ignored Return value ignored: 'sscanf'. scripts cs_cast.cpp 169
- C6031 Return value ignored Return value ignored: 'sscanf'. scripts cs_titles.cpp 211
- C6262 Excessive stack usage Function uses '32780' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. scripts databaseworkerpool.h 139
- C6262 Excessive stack usage Function uses '32780' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. scripts databaseworkerpool.h 245
- C6385 Read overrun Reading invalid data from 'elt': the readable size is '36' bytes, but 'iRow' bytes may be read. scripts matrix3.h 124
- Invalid read from 'elt[-1]', (readable range is 0 to 2) 124
- C6385 Read overrun Reading invalid data from 'elt': the readable size is '36' bytes, but 'iRow' bytes may be read. scripts matrix3.h 130
- Invalid read from 'elt[-1]', (readable range is 0 to 2) 130
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'q'. scripts timer_queue_set.ipp 53
- Enter this branch, (assume 'first_') 40
- Skip this branch, (assume 'q==first_' is false) 42
- Enter this loop, (assume 'p->next_') 49
- Enter this branch, (assume 'p->next_==q') 51
- 'q' is dereferenced, but may still be NULL 53
- C6385 Read overrun Reading invalid data from '_vertex': the readable size is '36' bytes, but 'n' bytes may be read. scripts triangle.h 72
- Enter this branch, (assume '!((((n>=0))&&((n<3))))') 71
- Invalid read from '_vertex[-1]', (readable range is 0 to 2) 72
- C6387 Invalid parameter value '_bits' could be '0': this does not adhere to the specification for the function 'memcpy'. scripts updatemask.h 42
- '_bits' should not be NULL, because this is not consistent with the SAL annotation on 'memcpy' 42
- C6258 Using TerminateThread Using TerminateThread does not allow proper thread clean up. scripts win_thread.ipp 48
- C6385 Read overrun Reading invalid data from 'WavesInfo': the readable size is '64' bytes, but '80' bytes may be read. scripts zone_shadowmoon_valley.cpp 1659
- Enter this loop, (assume 'i<count') 1603
- Enter this branch, (assume 'Spawn') 1613
- Skip this branch, (assume 'WaveCount==0' is false) 1617
- Skip this branch, (assume 'WaveCount<3' is false) 1636
- Exit this loop, ('i<count' is false) 1603
- Invalid read from 'WavesInfo[4]', (readable range is 0 to 3) 1659
- C6385 Read overrun Reading invalid data from 'WavesInfo': the readable size is '120' bytes, but 'WaveCount' bytes may be read. scripts zone_silithus.cpp 925
- Enter this loop, (assume 'i<=count') 901
- Skip this branch, (assume 'i>=30' is false) 909
- Skip this branch, (assume 'i>=33' is false) 910
- Skip this branch, (assume 'i>=45' is false) 911
- Skip this branch, (assume 'i>=51' is false) 912
- Skip this branch, (assume 'WaveCount<5' is false) 914
- Exit this loop, ('i<=count' is false) 901
- Invalid read from 'WavesInfo[5]', (readable range is 0 to 4) 925
- C6262 Excessive stack usage Function uses '32776' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. shared appender.cpp 71
- C6031 Return value ignored Return value ignored: 'rename'. shared appenderfile.cpp 85
- C6029 Use of unchecked value Possible buffer overrun in call to 'fread': use of unchecked value 'this'. shared dbcfileloader.cpp 102
- C28182 Dereferencing a copy of a null pointer Dereferencing NULL pointer. 'Event' contains the same NULL value as '(BasicEvent *)=(Event)' did. shared eventprocessor.cpp 45
- 'Event' may be NULL 42
- Skip this branch, (assume '!Event->to_Abort' is false) 45
- 'Event' is dereferenced, but may still be NULL 45
- C6262 Excessive stack usage Function uses '32788' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. shared log.cpp 264
- C6262 Excessive stack usage Function uses '32940' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. shared log.cpp 355
- C6262 Excessive stack usage Function uses '32788' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. shared queryholder.cpp 43
- C6102 Using 'path' from failed function call at line '205'. shared servicewin32.cpp 207
- 'path' is not initialized 205
- 'path' is an Input to 'strlen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:121) 207
- 'path' is used, but may not have been initialized 207
- C6385 Read overrun Reading invalid data from 'state': the readable size is '1408' bytes, but 'ix++' bytes may be read. shared sfmt.h 247
- Enter this branch, (assume 'ix>=88*4') 244
- Invalid read from 'state[352]', (readable range is 0 to 87) 247
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'q'. shared timer_queue_set.ipp 53
- Enter this branch, (assume 'first_') 40
- Skip this branch, (assume 'q==first_' is false) 42
- Enter this loop, (assume 'p->next_') 49
- Enter this branch, (assume 'p->next_==q') 51
- 'q' is dereferenced, but may still be NULL 53
- C6262 Excessive stack usage Function uses '32780' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. shared transaction.cpp 30
- C6001 Using uninitialized memory Using uninitialized memory 'data'. shared transaction.cpp 61
- 'data' is not initialized 65
- 'data' is used, but may not have been initialized 61
- C6262 Excessive stack usage Function uses '98324' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. shared util.cpp 519
- C6258 Using TerminateThread Using TerminateThread does not allow proper thread clean up. shared win_thread.ipp 48
- C6385 Read overrun Reading invalid data from 'elt': the readable size is '36' bytes, but 'iRow' bytes may be read. vmap4assembler matrix3.h 124
- Invalid read from 'elt[-1]', (readable range is 0 to 2) 124
- C6385 Read overrun Reading invalid data from 'elt': the readable size is '36' bytes, but 'iRow' bytes may be read. vmap4assembler matrix3.h 130
- Invalid read from 'elt[-1]', (readable range is 0 to 2) 130
- C6385 Read overrun Reading invalid data from '_vertex': the readable size is '36' bytes, but 'n' bytes may be read. vmap4assembler triangle.h 72
- Enter this branch, (assume '!((((n>=0))&&((n<3))))') 71
- Invalid read from '_vertex[-1]', (readable range is 0 to 2) 72
- C28182 Dereferencing a copy of a null pointer Dereferencing NULL pointer. 'ModelInstansName' contains the same NULL value as '(string *)=((string *)=ModelInstansName, (string *))' did. vmap4extractor adtfile.cpp 184
- 'ModelInstansName' may be NULL 186
- Continue this loop, (assume '!ADT.isEof()') 113
- Skip this branch, (assume '!strcmp(fourcc, "MCIN")' is false) 123
- Skip this branch, (assume '!strcmp(fourcc, "MTEX")' is false) 126
- Skip this branch, (assume '!strcmp(fourcc, "MMDX")' is false) 129
- Skip this branch, (assume '!strcmp(fourcc, "MWMO")' is false) 154
- Enter this branch, (assume '!strcmp(fourcc, "MDDF")') 175
- Enter this branch, (assume 'size') 177
- Enter this loop, (assume 'i<nMDX') 180
- 'ModelInstansName' is dereferenced, but may still be NULL 184
- C28182 Dereferencing a copy of a null pointer Dereferencing NULL pointer. 'WmoInstansName' contains the same NULL value as '(string *)=((string *)=WmoInstansName, (string *))' did. vmap4extractor adtfile.cpp 198
- 'WmoInstansName' may be NULL 200
- Continue this loop, (assume '!ADT.isEof()') 113
- Skip this branch, (assume '!strcmp(fourcc, "MCIN")' is false) 123
- Skip this branch, (assume '!strcmp(fourcc, "MTEX")' is false) 126
- Skip this branch, (assume '!strcmp(fourcc, "MMDX")' is false) 129
- Skip this branch, (assume '!strcmp(fourcc, "MWMO")' is false) 154
- Skip this branch, (assume '!strcmp(fourcc, "MDDF")' is false) 175
- Enter this branch, (assume '!strcmp(fourcc, "MODF")') 189
- Enter this branch, (assume 'size') 191
- Enter this loop, (assume 'i<nWMO') 194
- 'WmoInstansName' is dereferenced, but may still be NULL 198
- C6054 Zero termination missing String 'tempname' might not be zero-terminated. vmap4extractor model.cpp 160
- This expression may not zero-terminate 'tempname' 158
- 'tempname' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356) 159
- 'tempname' is an Input to 'fopen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:211) 160
- 'tempname' is required to be zero-terminated by a SAL annotation on 'fopen' 160
- C6054 Zero termination missing String 'szLocalFile' might not be zero-terminated. vmap4extractor vmapexport.cpp 155
- This expression may not zero-terminate 'szLocalFile' 152
- 'szLocalFile' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356) 154
- 'szLocalFile' is an Input to 'strlen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:121) 155
- 'szLocalFile' is required to be zero-terminated by a SAL annotation on 'strlen' 155
- C6054 Zero termination missing String 'path' might not be zero-terminated. vmap4extractor vmapexport.cpp 288
- This expression may not zero-terminate 'path' 273
- Enter this loop, (assume 'i<=99') 275
- Skip this branch, (assume 'i!=1' is false) 277
- 'path' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356) 283
- 'path' is required to be zero-terminated by a SAL annotation on 'fopen' 288
- C6031 Return value ignored Return value ignored: 'getchar'. vmap4extractor vmapexport.cpp 532
- C6385 Read overrun Reading invalid data from 'gWmoInstansName': the readable size is '((unsigned int)=size*1)*28+4' bytes, but '56' bytes may be read. vmap4extractor wdtfile.cpp 86
- Skip this branch, (assume 'WDT.isEof()' is false) 40
- Skip this branch, (assume '!dirfile' is false) 52
- Enter this loop, (assume '!WDT.isEof()') 58
- Skip this branch, (assume '!strcmp(fourcc, "MAIN")' is false) 68
- Enter this branch, (assume '!strcmp(fourcc, "MWMO")') 71
- Skip this branch, (assume 'size' is false) 74
- Continue this loop, (assume '!WDT.isEof()') 58
- Skip this branch, (assume '!strcmp(fourcc, "MAIN")' is false) 68
- Enter this branch, (assume '!strcmp(fourcc, "MWMO")') 71
- Enter this branch, (assume 'size') 74
- Enter this loop, (assume 'p<buf+size') 81
- Continue this loop, (assume 'p<buf+size') 81
- 'q' may equal 1 86
- Invalid read from 'gWmoInstansName[1]', (readable range is 0 to 0) 86
- C28182 Dereferencing a copy of a null pointer Dereferencing NULL pointer. 'gWmoInstansName' contains the same NULL value as '(string *)=((string *)=gWmoInstansName, (string *))' did. vmap4extractor wdtfile.cpp 102
- 'gWmoInstansName' may be NULL 105
- Continue this loop, (assume '!WDT.isEof()') 58
- Skip this branch, (assume '!strcmp(fourcc, "MAIN")' is false) 68
- Skip this branch, (assume '!strcmp(fourcc, "MWMO")' is false) 71
- Enter this branch, (assume '!strcmp(fourcc, "MODF")') 91
- Enter this branch, (assume 'size') 94
- Enter this loop, (assume 'i<gnWMO') 98
- 'gWmoInstansName' is dereferenced, but may still be NULL 102
- C6054 Zero termination missing String 'tempname' might not be zero-terminated. vmap4extractor wmo.cpp 510
- This expression may not zero-terminate 'tempname' 507
- 'tempname' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356) 508
- 'tempname' is an Input to 'fopen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:211) 510
- 'tempname' is required to be zero-terminated by a SAL annotation on 'fopen' 510
- C6262 Excessive stack usage Function uses '18012' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. worldserver clirunnable.cpp 93
- C6262 Excessive stack usage Function uses '32780' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. worldserver databaseworkerpool.h 139
- C6262 Excessive stack usage Function uses '32780' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. worldserver databaseworkerpool.h 179
- C6385 Read overrun Reading invalid data from 'elt': the readable size is '36' bytes, but 'iRow' bytes may be read. worldserver matrix3.h 124
- Invalid read from 'elt[-1]', (readable range is 0 to 2) 124
- C6385 Read overrun Reading invalid data from 'elt': the readable size is '36' bytes, but 'iRow' bytes may be read. worldserver matrix3.h 130
- Invalid read from 'elt[-1]', (readable range is 0 to 2) 130
- C6262 Excessive stack usage Function uses '120532' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. worldserver tcsoap.cpp 25
- C6011 Dereferencing null pointer Dereferencing NULL pointer 'q'. worldserver timer_queue_set.ipp 53
- Enter this branch, (assume 'first_') 40
- Skip this branch, (assume 'q==first_' is false) 42
- Enter this loop, (assume 'p->next_') 49
- Enter this branch, (assume 'p->next_==q') 51
- 'q' is dereferenced, but may still be NULL 53
- C6385 Read overrun Reading invalid data from '_vertex': the readable size is '36' bytes, but 'n' bytes may be read. worldserver triangle.h 72
- Enter this branch, (assume '!((((n>=0))&&((n<3))))') 71
- Invalid read from '_vertex[-1]', (readable range is 0 to 2) 72
- C6387 Invalid parameter value '_bits' could be '0': this does not adhere to the specification for the function 'memcpy'. worldserver updatemask.h 42
- '_bits' should not be NULL, because this is not consistent with the SAL annotation on 'memcpy' 42
- C6102 Using 'module_folder_name' from failed function call at line '101'. worldserver wheatyexceptionreport.cpp 102
- 'module_folder_name' is not initialized 101
- 'module_folder_name' is an Input to '_tcsrchr' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\tchar.h:2072) 102
- 'module_folder_name' is used, but may not have been initialized 102
- C6054 Zero termination missing String 'crash_folder_path' might not be zero-terminated. worldserver wheatyexceptionreport.cpp 110
- This expression may not zero-terminate 'crash_folder_path' 108
- 'crash_folder_path' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356) 109
- 'crash_folder_path' is an Input to 'CreateDirectoryA' (declared at c:\program files (x86)\windows kits\8.1\include\um\fileapi.h:93) 110
- 'crash_folder_path' is required to be zero-terminated by a SAL annotation on 'CreateDirectoryA' 110
- C28159 Consider using another function instead Consider using 'IsWindows*' instead of 'GetVersionExA'. Reason: Deprecated. Use VerifyVersionInfo* or IsWindows* macros from VersionHelpers. worldserver wheatyexceptionreport.cpp 203
- C28159 Consider using another function instead Consider using 'IsWindows*' instead of 'GetVersionExA'. Reason: Deprecated. Use VerifyVersionInfo* or IsWindows* macros from VersionHelpers. worldserver wheatyexceptionreport.cpp 207
- C6054 Zero termination missing String 'wszTmp' might not be zero-terminated. worldserver wheatyexceptionreport.cpp 338
- This expression may not zero-terminate 'wszTmp' 211
- Assume switch ( 'osvi.dwPlatformId' ) resolves to the default case 212
- 'wszTmp' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356) 336
- 'wszTmp' is an Input to '_tcsncat' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\tchar.h:1553) 338
- 'wszTmp' is required to be zero-terminated by a SAL annotation on '_tcsncat' 338
- C28159 Consider using another function instead Consider using 'GlobalMemoryStatusEx' instead of 'GlobalMemoryStatus'. Reason: Deprecated. See MSDN for details worldserver wheatyexceptionreport.cpp 352
- C6262 Excessive stack usage Function uses '131084' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. worldserver wheatyexceptionreport.cpp 765
- C6273 Non-integer argument to format function Non-integer passed as _Param_(3) when an integer is required in call to 'sprintf' Actual type: 'unsigned long *': if a pointer value is being passed, %p should be used. worldserver wheatyexceptionreport.cpp 1251
- C6273 Non-integer argument to format function Non-integer passed as _Param_(3) when an integer is required in call to 'sprintf' Actual type: 'unsigned long *': if a pointer value is being passed, %p should be used. worldserver wheatyexceptionreport.cpp 1262
- C6262 Excessive stack usage Function uses '131088' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. worldserver wheatyexceptionreport.cpp 1308
- C6387 Invalid parameter value 'Temp_value_#798' could be '0': this does not adhere to the specification for the function 'GetProcAddress'. worldserver win_iocp_socket_service_base.ipp 205
- Skip this branch, (assume '!is_open(impl)' is false) 197
- 'Temp_value_#798' should not be NULL, because this is not consistent with the SAL annotation on 'GetProcAddress' 205
- C6031 Return value ignored Return value ignored: 'UnregisterWaitEx'. worldserver win_object_handle_service.ipp 106
- C6031 Return value ignored Return value ignored: 'UnregisterWaitEx'. worldserver win_object_handle_service.ipp 158
- C6031 Return value ignored Return value ignored: 'UnregisterWaitEx'. worldserver win_object_handle_service.ipp 200
- C6031 Return value ignored Return value ignored: 'UnregisterWaitEx'. worldserver win_object_handle_service.ipp 251
- C6031 Return value ignored Return value ignored: 'UnregisterWaitEx'. worldserver win_object_handle_service.ipp 302
- C6031 Return value ignored Return value ignored: 'UnregisterWaitEx'. worldserver win_object_handle_service.ipp 402
- C6258 Using TerminateThread Using TerminateThread does not allow proper thread clean up. worldserver win_thread.ipp 48
- C6385 Read overrun Reading invalid data from 's->bl_count': the readable size is '32' bytes, but '-2' bytes may be read. zlib trees.c 536
- Enter this loop, (assume 'h<((2*((256+1+29))+1))') 512
- Enter this branch, (assume 'bits>max_length') 515
- (alias) 'bits' receives the value of 'max_length' 515
- Skip this branch, (assume 'n>max_code' is false) 519
- Skip this branch, (assume 'n>=base' is false) 523
- Skip this branch, (assume 'stree' is false) 526
- Exit this loop, ('h<((2*((256+1+29))+1))' is false) 512
- Skip this branch, (assume 'overflow==0' is false) 528
- Enter this loop, (assume 's->bl_count[bits]==0') 536
- Invalid read from 's->bl_count[-1]', (readable range is 0 to 15) 536
- C6385 Read overrun Reading invalid data from 's->bl_count': the readable size is '32' bytes, but 'bits' bytes may be read. zlib trees.c 552
- Enter this loop, (assume 'h<((2*((256+1+29))+1))') 512
- Enter this branch, (assume 'bits>max_length') 515
- Skip this branch, (assume 'n>max_code' is false) 519
- Skip this branch, (assume 'n>=base' is false) 523
- Skip this branch, (assume 'stree' is false) 526
- Exit this loop, ('h<((2*((256+1+29))+1))' is false) 512
- Skip this branch, (assume 'overflow==0' is false) 528
- Skip this loop, (assume 'overflow>0' is false) 544
- 'bits' may be NULL (Enter this loop) 551
- Invalid read from 's->bl_count[-1]', (readable range is 0 to 15) 552
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement