Advertisement
Rochet2

TC VS analysis

Aug 31st, 2014
1,792
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 89.31 KB | None | 0 0
  1. Analysis of TC code from commit https://github.com/TrinityCore/TrinityCore/commit/6a8e935e317519fb88f2d253eb96acf29b83c57f
  2.  
  3.  
  4. 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
  5.         Skip this branch, (assume '!is_open(impl)' is false)            230
  6.         'Temp_value_#1326' should not be NULL, because this is not consistent with the SAL annotation on 'GetProcAddress'           238
  7. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'q'.     authserver  timer_queue_set.ipp 53
  8.         Enter this branch, (assume 'first_')            40
  9.         Skip this branch, (assume 'q==first_' is false)         42
  10.         Enter this loop, (assume 'p->next_')            49
  11.         Enter this branch, (assume 'p->next_==q')           51
  12.         'q' is dereferenced, but may still be NULL          53
  13. C6102       Using 'module_folder_name' from failed function call at line '101'. authserver  wheatyexceptionreport.cpp   102
  14.         'module_folder_name' is not initialized         101
  15.         'module_folder_name' is an Input to '_tcsrchr' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\tchar.h:2072)           102
  16.         'module_folder_name' is used, but may not have been initialized         102
  17. C6054   Zero termination missing    String 'crash_folder_path' might not be zero-terminated.    authserver  wheatyexceptionreport.cpp   110
  18.         This expression may not zero-terminate 'crash_folder_path'          108
  19.         'crash_folder_path' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356)           109
  20.         'crash_folder_path' is an Input to 'CreateDirectoryA' (declared at c:\program files (x86)\windows kits\8.1\include\um\fileapi.h:93)         110
  21.         'crash_folder_path' is required to be zero-terminated by a SAL annotation on 'CreateDirectoryA'         110
  22. 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
  23. 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
  24. C6054   Zero termination missing    String 'wszTmp' might not be zero-terminated.   authserver  wheatyexceptionreport.cpp   338
  25.         This expression may not zero-terminate 'wszTmp'         211
  26.         Assume switch ( 'osvi.dwPlatformId' ) resolves to the default case          212
  27.         'wszTmp' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356)          336
  28.         'wszTmp' is an Input to '_tcsncat' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\tchar.h:1553)           338
  29.         'wszTmp' is required to be zero-terminated by a SAL annotation on '_tcsncat'            338
  30. C28159  Consider using another function instead Consider using 'GlobalMemoryStatusEx' instead of 'GlobalMemoryStatus'. Reason: Deprecated. See MSDN for details authserver  wheatyexceptionreport.cpp   352
  31. C6262   Excessive stack usage   Function uses '131084' bytes of stack:  exceeds /analyze:stacksize '16384'.  Consider moving some data to heap. authserver  wheatyexceptionreport.cpp   765
  32. 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
  33. 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
  34. C6262   Excessive stack usage   Function uses '131088' bytes of stack:  exceeds /analyze:stacksize '16384'.  Consider moving some data to heap. authserver  wheatyexceptionreport.cpp   1308
  35. 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
  36.         Skip this branch, (assume '!is_open(impl)' is false)            230
  37.         'Temp_value_#407' should not be NULL, because this is not consistent with the SAL annotation on 'GetProcAddress'            238
  38. 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
  39.         Skip this branch, (assume '!is_open(impl)' is false)            197
  40.         'Temp_value_#28540' should not be NULL, because this is not consistent with the SAL annotation on 'GetProcAddress'          205
  41. C6031   Return value ignored    Return value ignored: 'UnregisterWaitEx'.   authserver  win_object_handle_service.ipp   106
  42. C6031   Return value ignored    Return value ignored: 'UnregisterWaitEx'.   authserver  win_object_handle_service.ipp   158
  43. C6031   Return value ignored    Return value ignored: 'UnregisterWaitEx'.   authserver  win_object_handle_service.ipp   200
  44. C6031   Return value ignored    Return value ignored: 'UnregisterWaitEx'.   authserver  win_object_handle_service.ipp   251
  45. C6031   Return value ignored    Return value ignored: 'UnregisterWaitEx'.   authserver  win_object_handle_service.ipp   302
  46. C6031   Return value ignored    Return value ignored: 'UnregisterWaitEx'.   authserver  win_object_handle_service.ipp   402
  47. C6258   Using TerminateThread   Using TerminateThread does not allow proper thread clean up.    authserver  win_thread.ipp  48
  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
  49.         Skip this loop, (assume 'i<s->state_in_len' is false)           220
  50.         Assume switch ( 's->state_in_len' ) resolves to the default case            224
  51.         Invalid write to 's->inUse[-4]', (writable range is 0 to 255)           238
  52. C6031   Return value ignored    Return value ignored: 'setmode'.    bzip2   bzlib.c 1423
  53. C6001   Using uninitialized memory  Using uninitialized memory 'yy'.    bzip2   compress.c  170
  54.         'yy' is not initialized         122
  55.         Skip this loop, (assume 'i<s->nInUse' is false)         161
  56.         Enter this loop, (assume 'i<s->nblock')         163
  57.         'yy' is used, but may not have been initialized         170
  58. 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
  59.         Skip this loop, (assume 'i<=EOB' is false)          157
  60.         Skip this loop, (assume 'i<s->nblock' is false)         163
  61.         Skip this branch, (assume 'zPend>0' is false)           212
  62.         Invalid read from 's->mtfFreq[-1]', (readable range is 0 to 257)            228
  63. C6385   Read overrun    Reading invalid data from 'parent':  the readable size is '2064' bytes, but '2068' bytes may be read.   bzip2   huffman.c   118
  64.         'parent' is an array of 516 elements (2064 bytes)           77
  65.         Skip this loop, (assume 'i<alphaSize' is false)         79
  66.         Enter this loop, (assume '1')           82
  67.         Skip this branch, (assume '!((nHeap<((258+2))))' is false)          98
  68.         Enter this branch, (assume '!((nNodes<((258*2))))')         112
  69.         Enter this loop, (assume 'i<=alphaSize')            115
  70.         Skip this loop, (assume 'parent[k]>=0' is false)            118
  71.         'k' may equal 3         118
  72.         Enter this loop, (assume 'parent[k]>=0')            118
  73.         Invalid read from 'parent[516]', (readable range is 0 to 515)           118
  74. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'data'.  collision   array.h 892
  75.         '*this' may be NULL (Enter this branch)         891
  76.         '*this' is dereferenced, but may still be NULL          892
  77. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'data'.  collision   array.h 898
  78.         '*this' may be NULL (Enter this branch)         897
  79.         '*this' is dereferenced, but may still be NULL          898
  80. C6385   Read overrun    Reading invalid data from 'elt':  the readable size is '36' bytes, but 'iRow' bytes may be read.    collision   matrix3.h   124
  81.         Invalid read from 'elt[-1]', (readable range is 0 to 2)         124
  82. C6385   Read overrun    Reading invalid data from 'elt':  the readable size is '36' bytes, but 'iRow' bytes may be read.    collision   matrix3.h   130
  83.         Invalid read from 'elt[-1]', (readable range is 0 to 2)         130
  84. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'm_bucket'.  collision   table.h 233
  85.         'm_bucket' may be NULL (Enter this branch)          219
  86.         Enter this loop, (assume 'b<m_numBuckets')          223
  87.         Skip this loop, (assume 'node!=0' is false)         227
  88.         Continue this loop, (assume 'b<m_numBuckets')           223
  89.         Enter this loop, (assume 'node!=0')         227
  90.         'm_bucket' is dereferenced, but may still be NULL           233
  91. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'e'.     collision   table.h 717
  92.         'e' may be NULL (Enter this branch)         716
  93.         'e' is dereferenced, but may still be NULL          717
  94. C6031   Return value ignored    Return value ignored: 'fopen'collision   tileassembler.cpp   164
  95. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'q'.     collision   timer_queue_set.ipp 53
  96.         Enter this branch, (assume 'first_')            40
  97.         Skip this branch, (assume 'q==first_' is false)         42
  98.         Enter this loop, (assume 'p->next_')            49
  99.         Enter this branch, (assume 'p->next_==q')           51
  100.         'q' is dereferenced, but may still be NULL          53
  101. C6385   Read overrun    Reading invalid data from '_vertex':  the readable size is '36' bytes, but 'n' bytes may be read.   collision   triangle.h  72
  102.         Enter this branch, (assume '!((((n>=0))&&((n<3))))')            71
  103.         Invalid read from '_vertex[-1]', (readable range is 0 to 2)         72
  104. C6387   Invalid parameter value '_bits' could be '0':  this does not adhere to the specification for the function 'memcpy'.     collision   updatemask.h    42
  105.         '_bits' should not be NULL, because this is not consistent with the SAL annotation on 'memcpy'          42
  106. C6258   Using TerminateThread   Using TerminateThread does not allow proper thread clean up.    collision   win_thread.ipp  48
  107. 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
  108.         'tile->polys' may equal 4294967295 (Skip this loop)         356
  109.         Continue this loop, (assume 'i<tile->header->polyCount')            351
  110.         'tile->polys' is dereferenced, but may still be NULL            353
  111. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'target->polys'.     Detour  detournavmesh.cpp   461
  112.         'target->polys' may equal 4294967295 (Enter this branch)            463
  113.         Continue this loop, (assume '<branch condition>')           455
  114.         Skip this branch, (assume 'targetCon->side!=oppositeSide' is false)         458
  115.         'target->polys' is dereferenced, but may still be NULL          461
  116. C6385   Read overrun    Reading invalid data from 'edget':  the readable size is '24' bytes, but '-4' bytes may be read.    Detour  detournavmesh.cpp   659
  117.         'edget' is an array of 6 elements (24 bytes)            638
  118.         'edget' is an Output from 'dtDistancePtPolyEdgesSqr' (declared at e:\cores\trinitycore\test\source\dep\recastnavigation\detour\include\detourcommon.h:395)          644
  119.         Enter this branch, (assume '<branch condition>')            644
  120.         'imin' is equal to -1           648
  121.         Skip this loop, (assume 'i<nv' is false)            649
  122.         'edget' is an In/Out argument to 'dtVlerp' (declared at e:\cores\trinitycore\test\source\dep\recastnavigation\detour\include\detourcommon.h:120)            659
  123.         Invalid read from 'edget[-1]', (readable range is 0 to 5)           659
  124. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'tile->detailTris'.  Detour  detournavmesh.cpp   673
  125.         Skip this branch, (assume '<branch condition>' is false)            619
  126.         Skip this branch, (assume '<branch condition>' is false)            644
  127.         Enter this loop, (assume 'j<pd->triCount')          671
  128.         Enter this loop, (assume 'k<3')         675
  129.         Enter this branch, (assume 't[k]<poly->vertCount')          677
  130.         Enter this loop, (assume 'k<3')         675
  131.         Continue this loop, (assume 'k<3')          675
  132.         Skip this branch, (assume '<branch condition>' is false)            683
  133.         Continue this loop, (assume 'j<pd->triCount')           671
  134.         'tile->detailTris' is dereferenced, but may still be NULL           673
  135. C6385   Read overrun    Reading invalid data from 'edget':  the readable size is '24' bytes, but '-4' bytes may be read.    Detour  detournavmeshquery.cpp  556
  136.         'edget' is an array of 6 elements (24 bytes)            535
  137.         'edget' is an Output from 'dtDistancePtPolyEdgesSqr' (declared at e:\cores\trinitycore\test\source\dep\recastnavigation\detour\include\detourcommon.h:395)          541
  138.         Enter this branch, (assume '<branch condition>')            541
  139.         'imin' is equal to -1           545
  140.         Skip this loop, (assume 'i<nv' is false)            546
  141.         'edget' is an In/Out argument to 'dtVlerp' (declared at e:\cores\trinitycore\test\source\dep\recastnavigation\detour\include\detourcommon.h:120)            556
  142.         Invalid read from 'edget[-1]', (readable range is 0 to 5)           556
  143. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'tile->detailTris'.  Detour  detournavmeshquery.cpp  570
  144.         Enter this loop, (assume '!!((m_nav))')         507
  145.         Skip this branch, (assume '<branch condition>' is false)            510
  146.         Skip this branch, (assume '!tile' is false)         512
  147.         Skip this branch, (assume '<branch condition>' is false)            516
  148.         Skip this branch, (assume '<branch condition>' is false)            541
  149.         Enter this loop, (assume 'j<pd->triCount')          568
  150.         Enter this loop, (assume 'k<3')         572
  151.         Enter this branch, (assume 't[k]<poly->vertCount')          574
  152.         Enter this loop, (assume 'k<3')         572
  153.         Continue this loop, (assume 'k<3')          572
  154.         Skip this branch, (assume '<branch condition>' is false)            580
  155.         Continue this loop, (assume 'j<pd->triCount')           568
  156.         'tile->detailTris' is dereferenced, but may still be NULL           570
  157. C6385   Read overrun    Reading invalid data from 'edget':  the readable size is '24' bytes, but '-4' bytes may be read.    Detour  detournavmeshquery.cpp  642
  158.         'edget' is an array of 6 elements (24 bytes)            613
  159.         'edget' is an Output from 'dtDistancePtPolyEdgesSqr' (declared at e:\cores\trinitycore\test\source\dep\recastnavigation\detour\include\detourcommon.h:395)          621
  160.         Skip this branch, (assume 'inside' is false)            622
  161.         'imin' is equal to -1           631
  162.         Skip this loop, (assume 'i<nv' is false)            632
  163.         'edget' is an In/Out argument to 'dtVlerp' (declared at e:\cores\trinitycore\test\source\dep\recastnavigation\detour\include\detourcommon.h:120)            642
  164.         Invalid read from 'edget[-1]', (readable range is 0 to 5)           642
  165. 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
  166.         Enter this loop, (assume '!!((m_nav))')         2371
  167.         Skip this branch, (assume '<branch condition>' is false)            2378
  168.         Skip this branch, (assume '<branch condition>' is false)            2380
  169.         Skip this branch, (assume 'prevRef' is false)           2404
  170.         Enter this loop, (assume 'curRef')          2407
  171.         Skip this loop, (assume 'i<(int)poly->vertCount' is false)          2413
  172.         Skip this branch, (assume '<branch condition>' is false)            2421
  173.         Skip this branch, (assume 'tmax>hit->t' is false)           2428
  174.         Skip this branch, (assume 'n<hit->maxPath' is false)            2432
  175.         Skip this branch, (assume 'segMax==-1' is false)            2438
  176.         Enter this loop, (assume 'i!=DT_NULL_LINK')         2452
  177.         Skip this branch, (assume '(int)link->edge!=segMax' is false)           2457
  178.         Skip this branch, (assume '<branch condition>' is false)            2466
  179.         Skip this branch, (assume '<branch condition>' is false)            2470
  180.         Skip this branch, (assume 'link->side==255' is false)           2474
  181.         Skip this branch, (assume 'link->bmin==0&&link->bmax==255' is false)            2483
  182.         Invalid read from 'poly->verts[-1]', (readable range is 0 to 5)         2491
  183. 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
  184.         Enter this loop, (assume '!!((m_nav))')         3335
  185.         Enter this loop, (assume '!!((m_nodePool))')            3336
  186.         Enter this loop, (assume '!!((m_openList))')            3337
  187.         Skip this branch, (assume '<branch condition>' is false)            3340
  188.         Enter this loop, (assume '!m_openList->empty()')            3359
  189.         Skip this branch, (assume 'bestNode->pidx' is false)            3376
  190.         Skip this branch, (assume 'parentRef' is false)         3378
  191.         Skip this loop, (assume 'i<(int)bestPoly->vertCount' is false)          3382
  192.         Skip this loop, (assume 'i!=DT_NULL_LINK' is false)         3434
  193.         Continue this loop, (assume '!m_openList->empty()')         3359
  194.         Enter this branch, (assume 'bestNode->pidx')            3376
  195.         Skip this loop, (assume 'i<(int)bestPoly->vertCount' is false)          3382
  196.         Enter this loop, (assume 'i!=DT_NULL_LINK')         3434
  197.         Skip this branch, (assume '<branch condition>' is false)            3439
  198.         Skip this branch, (assume '<branch condition>' is false)            3448
  199.         Invalid read from 'bestPoly->verts[-1]', (readable range is 0 to 5)         3453
  200. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'p'.     g3dlib  any.cpp 268
  201.         'p' may be NULL         244
  202.         Assume switch ( 't' ) resolves to case NIL: case BOOLEAN: case NUMBER: case EMPTY_CONTAINER:            247
  203.         Skip this branch, (assume 'isContainerType(p->type)' is false)          268
  204.         'p' is dereferenced, but may still be NULL          268
  205. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'm_data'.    g3dlib  any.cpp 633
  206.         'm_data' may be NULL (Enter this branch)            632
  207.         'm_data' is dereferenced, but may still be NULL         633
  208. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'm_data'.    g3dlib  any.cpp 655
  209.         'm_data' may be NULL (Enter this branch)            654
  210.         'm_data' is dereferenced, but may still be NULL         655
  211. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'm_data'.    g3dlib  any.cpp 667
  212.         'm_data' may be NULL (Enter this branch)            666
  213.         'm_data' is dereferenced, but may still be NULL         667
  214. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'm_data'.    g3dlib  any.cpp 678
  215.         'm_data' may be NULL (Enter this branch)            674
  216.         Skip this branch, (assume 'type()==EMPTY_CONTAINER' is false)           675
  217.         'm_data' is dereferenced, but may still be NULL         678
  218. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'm_data'.    g3dlib  any.cpp 716
  219.         'm_data' may be NULL (Enter this branch)            709
  220.         Skip this branch, (assume 'type()==EMPTY_CONTAINER' is false)           711
  221.         'm_data' is dereferenced, but may still be NULL         716
  222. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'm_data'.    g3dlib  any.cpp 724
  223.         'm_data' may be NULL (Enter this branch)            723
  224.         'm_data' is dereferenced, but may still be NULL         724
  225. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'm_data'.    g3dlib  any.cpp 766
  226.         'm_data' may be NULL (Enter this branch)            762
  227.         Skip this branch, (assume 'type()==EMPTY_CONTAINER' is false)           763
  228.         'm_data' is dereferenced, but may still be NULL         766
  229. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'm_data'.    g3dlib  any.cpp 802
  230.         'm_data' may be NULL (Enter this branch)            801
  231.         'm_data' is dereferenced, but may still be NULL         802
  232. C6290   Logical-NOT bitwise-AND precedence  Bitwise operation on logical result:  ! has higher precedence than &.  Use && or (!(x & y)) instead.    g3dlib  any.cpp 946
  233. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'm_data'.    g3dlib  any.cpp 1020
  234.         'm_data' may be NULL (Skip this branch)         959
  235.         Skip this branch, (assume '<branch condition>' is false)            974
  236.         Assume switch ( 'm_type' ) resolves to case STRING:             984
  237.         Enter this branch, (assume '!((m_data!=0))')            1019
  238.         'm_data' is dereferenced, but may still be NULL         1020
  239. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'data'.  g3dlib  array.h 872
  240.         '*this' may be NULL (Enter this branch)         871
  241.         '*this' is dereferenced, but may still be NULL          872
  242. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'data'.  g3dlib  array.h 892
  243.         '*this' may be NULL (Enter this branch)         891
  244.         '*this' is dereferenced, but may still be NULL          892
  245. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'data'.  g3dlib  array.h 926
  246.         '*this' may be NULL (Enter this branch)         925
  247.         '*this' is dereferenced, but may still be NULL          926
  248. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'data'.  g3dlib  array.h 933
  249.         '*this' may be NULL (Enter this branch)         932
  250.         '*this' is dereferenced, but may still be NULL          933
  251. C6387   Invalid parameter value 'm_buffer' could be '0':  this does not adhere to the specification for the function 'fread'.   g3dlib  binaryinput.cpp 206
  252.         Skip this branch, (assume '!file||((m_length==-1))' is false)           175
  253.         Skip this branch, (assume '<branch condition>' is false)            180
  254.         Skip this branch, (assume '!((m_freeBuffer))' is false)         190
  255.         Enter this branch, (assume 'm_buffer==0')           192
  256.         Skip this branch, (assume 'compressed' is false)            193
  257.         Enter this branch, (assume '!((m_buffer))')         204
  258.         'm_buffer' is an Output from 'fread' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:222)          206
  259.         'm_buffer' should not be NULL, because this is not consistent with the SAL annotation on 'fread'            206
  260. C6387   Invalid parameter value 'file' could be '0':  this does not adhere to the specification for the function 'fseek'.   g3dlib  binaryinput.cpp 301
  261.         'file' may be NULL (Enter this branch)          300
  262.         'file' is an In/Out argument to 'fseek' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:240)           301
  263.         'file' should not be NULL, because this is not consistent with the SAL annotation on 'fseek'            301
  264. 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
  265.         'file' may be NULL (Enter this branch)          300
  266.         'file' is an In/Out argument to 'fseek' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:240)           301
  267.         'file' is an In/Out argument to 'fread' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:222)           304
  268.         'file' should not be NULL, because this is not consistent with the SAL annotation on 'fread'            304
  269. 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
  270.         'file' may be NULL (Enter this branch)          300
  271.         'file' is an In/Out argument to 'fseek' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:240)           301
  272.         'file' is an In/Out argument to 'fread' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:222)           304
  273.         'file' is an In/Out argument to 'fclose' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:184)          306
  274.         'file' should not be NULL, because this is not consistent with the SAL annotation on 'fclose'           306
  275. C6387   Invalid parameter value 'file' could be '0':  this does not adhere to the specification for the function 'fwrite'.  g3dlib  binaryoutput.cpp    170
  276.         'file' may be NULL (Enter this branch)          168
  277.         'file' is an In/Out argument to 'fwrite' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:246)          170
  278.         'file' should not be NULL, because this is not consistent with the SAL annotation on 'fwrite'           170
  279. 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
  280.         'file' may be NULL (Enter this branch)          168
  281.         'file' is an In/Out argument to 'fwrite' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:246)          170
  282.         'file' is an In/Out argument to 'fclose' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:184)          173
  283.         'file' should not be NULL, because this is not consistent with the SAL annotation on 'fclose'           173
  284. C6385   Read overrun    Reading invalid data from '_edgeVector':  the readable size is '36' bytes, but 'a' bytes may be read.   g3dlib  box.h   139
  285.         Enter this branch, (assume '!((a<3))')          138
  286.         '_edgeVector' is an Output from 'G3D::Vector3::direction' (declared at e:\cores\trinitycore\test\source\dep\g3dlite\include\g3d\vector3.h:190)          139
  287.         Invalid read from '_edgeVector[3]', (readable range is 0 to 2)          139
  288. C6385   Read overrun    Reading invalid data from '_edgeVector':  the readable size is '36' bytes, but 'a' bytes may be read.   g3dlib  box.h   148
  289.         Enter this branch, (assume '!((a<3))')          147
  290.         '_edgeVector' is an Output from 'G3D::Vector3::length' (declared at e:\cores\trinitycore\test\source\dep\g3dlite\include\g3d\vector3.h:177)         148
  291.         Invalid read from '_edgeVector[3]', (readable range is 0 to 2)          148
  292. C6385   Read overrun    Reading invalid data from 'table':  the readable size is '1212' bytes, but 'n' bytes may be read.   g3dlib  crypto.cpp  58
  293.         Enter this branch, (assume '!((n<numSmallPrimes()&&n>=0))')         20
  294.         Invalid read from 'table[-1]', (readable range is 0 to 302)         58
  295. C6102       Using 'formatMsg' from failed function call at line '96'.   g3dlib  debugassert.cpp 103
  296.         'formatMsg' is not initialized          90
  297.         'formatMsg' is used, but may not have been initialized          103
  298. C6102       Using 'modulePath' from failed function call at line '119'. g3dlib  debugassert.cpp 121
  299.         'modulePath' is not initialized         119
  300.         'modulePath' is an Input to 'strrchr' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:225)            121
  301.         'modulePath' is used, but may not have been initialized         121
  302. C6031   Return value ignored    Return value ignored: '_mkdir'. g3dlib  filesystem.cpp  412
  303. C6102       Using 'bufData' from failed function call at line '679'.    g3dlib  filesystem.cpp  682
  304.         'bufData' is not initialized            679
  305.         'bufData' is used, but may not have been initialized            682
  306. C6387   Invalid parameter value 'f' could be '0':  this does not adhere to the specification for the function 'fread'.  g3dlib  fileutils.cpp   124
  307.         'f' may be NULL         123
  308.         'f' is an In/Out argument to 'fread' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:222)          124
  309.         'f' should not be NULL, because this is not consistent with the SAL annotation on 'fread'           124
  310. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'buffer'. See line 124 for an earlier location where this can occur  g3dlib  fileutils.cpp   128
  311.         'buffer' may be NULL (Enter this branch)            121
  312.         'buffer' is an In/Out argument to 'fread' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:222)         124
  313.         'buffer' is dereferenced, but may still be NULL         128
  314. C6387   Invalid parameter value 'file' could be '0':  this does not adhere to the specification for the function 'fwrite'.  g3dlib  fileutils.cpp   226
  315.         'file' may be NULL (Enter this branch)          224
  316.         'file' is an In/Out argument to 'fwrite' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:246)          226
  317.         'file' should not be NULL, because this is not consistent with the SAL annotation on 'fwrite'           226
  318. C6031   Return value ignored    Return value ignored: '_mkdir'. g3dlib  fileutils.cpp   288
  319. C6387   Invalid parameter value 'm_event' could be '0':  this does not adhere to the specification for the function 'CloseHandle'.  g3dlib  gthread.cpp 134
  320.         Skip this branch, (assume 'started()' is false)         111
  321.         Skip this branch, (assume 'behavior==USE_CURRENT_THREAD' is false)          117
  322.         Enter this branch, (assume '!((m_event))')          129
  323.         Enter this branch, (assume 'm_handle==0')           133
  324.         'm_event' should not be NULL, because this is not consistent with the SAL annotation on 'CloseHandle'           134
  325. C6258   Using TerminateThread   Using TerminateThread does not allow proper thread clean up.    g3dlib  gthread.cpp 156
  326. C6387   Invalid parameter value 'm_event' could be '0':  this does not adhere to the specification for the function 'WaitForSingleObject'.  g3dlib  gthread.cpp 184
  327.         Skip this branch, (assume 'm_status==STATUS_COMPLETED' is false)            177
  328.         Enter this branch, (assume '!((m_event))')          183
  329.         'm_event' should not be NULL, because this is not consistent with the SAL annotation on 'WaitForSingleObject'           184
  330. 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
  331.         Enter this branch, (assume '!((current->m_event))')         195
  332.         'm_event' is an Input to 'SetEvent' (declared at c:\program files (x86)\windows kits\8.1\include\um\synchapi.h:432)         199
  333.         'current->m_event' should not be NULL, because this is not consistent with the SAL annotation on 'SetEvent'         199
  334. C6385   Read overrun    Reading invalid data from 'data':  the readable size is '16' bytes, but 'i' bytes may be read.  g3dlib  matrix2.h   62
  335.         Enter this branch, (assume '!((i>=0&&i<=1))')           61
  336.         Invalid read from 'data[-1]', (readable range is 0 to 1)            62
  337. C6385   Read overrun    Reading invalid data from 'data':  the readable size is '16' bytes, but 'i' bytes may be read.  g3dlib  matrix2.h   67
  338.         Enter this branch, (assume '!((i>=0&&i<=1))')           66
  339.         Invalid read from 'data[-1]', (readable range is 0 to 1)            67
  340. 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
  341.         Enter this branch, (assume '!((((iCol>=0))&&((iCol<3))))')          217
  342.         Invalid write to 'elt[0][-1]', (writable range is 0 to 2)           218
  343. 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
  344.         Enter this branch, (assume '!((((iCol>=0))&&((iCol<3))))')          217
  345.         Invalid write to 'elt[1][-1]', (writable range is 0 to 2)           219
  346. 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
  347.         Enter this branch, (assume '!((((iCol>=0))&&((iCol<3))))')          217
  348.         Invalid write to 'elt[2][-1]', (writable range is 0 to 2)           220
  349. 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
  350.         Enter this branch, (assume '!((((iRow>=0))&&((iRow<3))))')          225
  351.         Invalid write to 'elt[-1]', (writable range is 0 to 2)          226
  352. C6385   Read overrun    Reading invalid data from 'elt':  the readable size is '36' bytes, but 'iRow' bytes may be read.    g3dlib  matrix3.h   124
  353.         Invalid read from 'elt[-1]', (readable range is 0 to 2)         124
  354. C6385   Read overrun    Reading invalid data from 'elt':  the readable size is '36' bytes, but 'iRow' bytes may be read.    g3dlib  matrix3.h   130
  355.         Invalid read from 'elt[-1]', (readable range is 0 to 2)         130
  356. C6031   Return value ignored    Return value ignored: '_getch'. g3dlib  prompt.cpp  524
  357. C6031   Return value ignored    Return value ignored: '_getch'. g3dlib  prompt.cpp  530
  358. C6102       Using 'dataSize' from failed function call at line '161'.   g3dlib  registryutil.cpp    165
  359.         'dataSize' is not initialized           161
  360.         Enter this branch, (assume '!((result==0))')            162
  361.         'dataSize' is used, but may not have been initialized           165
  362. 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
  363.         Enter this branch, (assume '!((i<m_size&&i>=0))')           56
  364.         Enter this branch, (assume 'i<8')           57
  365.         Invalid read from 'm_embedded[-1]', (readable range is 0 to 7)          58
  366. 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
  367.         Enter this branch, (assume '!((i<m_size&&i>=0))')           65
  368.         Enter this branch, (assume 'i<8')           66
  369.         Invalid read from 'm_embedded[-1]', (readable range is 0 to 7)          67
  370. 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
  371. C6387   Invalid parameter value 'dst' could be '0':  this does not adhere to the specification for the function 'memset'.   g3dlib  system.cpp  703
  372.         'dst' may be NULL (Enter this branch)           696
  373.         Skip this branch, (assume '<branch condition>' is false)            698
  374.         'dst' should not be NULL, because this is not consistent with the SAL annotation on 'memset'            703
  375. C6031   Return value ignored    Return value ignored: '_putenv'.    g3dlib  system.cpp  1569
  376. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'm_bucket'.  g3dlib  table.h 233
  377.         'm_bucket' may be NULL (Enter this branch)          219
  378.         Enter this loop, (assume 'b<m_numBuckets')          223
  379.         Skip this loop, (assume 'node!=0' is false)         227
  380.         Continue this loop, (assume 'b<m_numBuckets')           223
  381.         Enter this loop, (assume 'node!=0')         227
  382.         'm_bucket' is dereferenced, but may still be NULL           233
  383. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'node'.  g3dlib  table.h 508
  384.         'node' may be NULL (Enter this branch)          506
  385.         Skip this loop, (assume '0' is false)           507
  386.         'node' is dereferenced, but may still be NULL           508
  387. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'e'.     g3dlib  table.h 717
  388.         'e' may be NULL (Enter this branch)         716
  389.         'e' is dereferenced, but may still be NULL          717
  390. C6031   Return value ignored    Return value ignored: 'sscanf'. g3dlib  textinput.cpp   66
  391. C6031   Return value ignored    Return value ignored: 'sscanf'. g3dlib  textinput.cpp   69
  392. C6387   Invalid parameter value 'f' could be '0':  this does not adhere to the specification for the function 'fwrite'.     g3dlib  textoutput.cpp  427
  393.         'f' may be NULL (Enter this branch)         426
  394.         'f' is an In/Out argument to 'fwrite' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:246)         427
  395.         'f' should not be NULL, because this is not consistent with the SAL annotation on 'fwrite'          427
  396. C6385   Read overrun    Reading invalid data from '_vertex':  the readable size is '36' bytes, but 'n' bytes may be read.   g3dlib  triangle.h  72
  397.         Enter this branch, (assume '!((((n>=0))&&((n<3))))')            71
  398.         Invalid read from '_vertex[-1]', (readable range is 0 to 2)         72
  399. 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
  400.         Skip this branch, (assume '<branch condition>' is false)            279
  401.         Enter this branch, (assume 'type>=AV_CPLACE_MAX')           280
  402.         Invalid read from 'BG_AV_StaticCreaturePos[123]', (readable range is 0 to 122)          283
  403. 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
  404.         Skip this loop, (assume '(bool)=itr1.!=(), (), (bool)' is false)            84
  405.         Enter this loop, (assume '<branch condition>')          109
  406.         'm_BattlegroundQueues' is an Output from 'BattlegroundQueue::UpdateEvents' (declared at e:\cores\trinitycore\test\source\src\server\game\battlegrounds\battlegroundqueue.h:75)          110
  407.         Enter this loop, (assume '<branch condition>')          109
  408.         'm_BattlegroundQueues' is an Output from 'BattlegroundQueue::UpdateEvents' (declared at e:\cores\trinitycore\test\source\src\server\game\battlegrounds\battlegroundqueue.h:75)          110
  409.         Continue this loop, (assume '<branch condition>')           109
  410.         Enter this branch, (assume '<branch condition>')            113
  411.         Enter this loop, (assume 'i<scheduled.size()')          118
  412.         'm_BattlegroundQueues' is an Output from 'BattlegroundQueue::BattlegroundQueueUpdate' (declared at e:\cores\trinitycore\test\source\src\server\game\battlegrounds\battlegroundqueue.h:74)           125
  413.         Invalid read from 'm_BattlegroundQueues[255]', (readable range is 0 to 10)          125
  414. 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
  415. 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
  416. 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
  417. 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
  418.         'invite' may be NULL            168
  419.         'invite' is dereferenced, but may still be NULL         170
  420. C6031   Return value ignored    Return value ignored: 'strtok'. game    chat.cpp    834
  421. C6031   Return value ignored    Return value ignored: 'strtok'. game    chat.cpp    846
  422. C6031   Return value ignored    Return value ignored: 'strtok'. game    chat.cpp    847
  423. C6031   Return value ignored    Return value ignored: 'strtok'. game    chat.cpp    902
  424. C6031   Return value ignored    Return value ignored: 'strtok'. game    chat.cpp    903
  425. C6031   Return value ignored    Return value ignored: 'strtok'. game    chat.cpp    910
  426. C6031   Return value ignored    Return value ignored: 'strtok'. game    chat.cpp    1219
  427. C6001   Using uninitialized memory  Using uninitialized memory 'sharedList'.    game    conditionmgr.cpp    1171
  428.         'sharedList' is not initialized         1169
  429.         '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
  430.         'sharedList' is used, but may not have been initialized         1171
  431. C6262   Excessive stack usage   Function uses '32780' bytes of stack:  exceeds /analyze:stacksize '16384'.  Consider moving some data to heap.  game    databaseworkerpool.h    139
  432. C6262   Excessive stack usage   Function uses '32780' bytes of stack:  exceeds /analyze:stacksize '16384'.  Consider moving some data to heap.  game    databaseworkerpool.h    179
  433. C6262   Excessive stack usage   Function uses '32780' bytes of stack:  exceeds /analyze:stacksize '16384'.  Consider moving some data to heap.  game    databaseworkerpool.h    245
  434. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'sql'.   game    dbcstore.h  153
  435.         'sql' may be NULL (Skip this branch)            106
  436.         Enter this branch, (assume 'result.._N()')          142
  437.         Enter this branch, (assume 'indexTable.asT')            144
  438.         Enter this branch, (assume '!fields')           150
  439.         'sql' is dereferenced, but may still be NULL            153
  440. 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
  441.         'save' may be NULL          49
  442.         'save' is dereferenced, but may still be NULL           51
  443. 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
  444.         'item' may be NULL          116
  445.         Enter this branch, (assume 'inDB')          118
  446.         'item' is dereferenced, but may still be NULL           121
  447. C6385   Read overrun    Reading invalid data from 'elt':  the readable size is '36' bytes, but 'iRow' bytes may be read.    game    matrix3.h   124
  448.         Invalid read from 'elt[-1]', (readable range is 0 to 2)         124
  449. C6385   Read overrun    Reading invalid data from 'elt':  the readable size is '36' bytes, but 'iRow' bytes may be read.    game    matrix3.h   130
  450.         Invalid read from 'elt[-1]', (readable range is 0 to 2)         130
  451. C6053   Zero termination from call  The prior call to '_vsnprintf' might not zero-terminate string 'szStr'. game    mischandler.cpp 807
  452.         'szStr' is Output from '_vsnprintf', which may not zero-terminate it            804
  453.         'szStr' is an Input to 'strlen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:121)          807
  454.         'szStr' is required to be zero-terminated by a SAL annotation on 'strlen'           807
  455. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'target'.    game    object.cpp  571
  456.         Skip this branch, (assume 'target==this' is false)          563
  457.         Assume switch ( 'GetTypeId()' ) resolves to case TYPEID_ITEM: case TYPEID_CONTAINER:            566
  458.         'target' is dereferenced, but may still be NULL         571
  459. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'obj'.   game    object.cpp  1691
  460.         Skip this branch, (assume 'this==obj' is false)         1688
  461.         '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
  462.         'obj' is dereferenced, but may still be NULL            1691
  463. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'player'.    game    object.cpp  2744
  464.         Skip this branch, (assume '!IsInWorld()' is false)          2730
  465.         Enter this loop, (assume '(bool)=iter.!=(), (), (bool)')            2737
  466.         Skip this branch, (assume 'player==this' is false)          2741
  467.         'player' is dereferenced, but may still be NULL         2744
  468. 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
  469.         Enter this loop, (assume '(bool)=itr.!=(), (), (bool)')         4869
  470.         Skip this branch, (assume '!spellInfo' is false)            4874
  471.         Invalid read from 'spellInfo->Effects[255]', (readable range is 0 to 2)         4882
  472. C6385   Read overrun    Reading invalid data from '_pathPolyRefs':  the readable size is '592' bytes, but '-8' bytes may be read.   game    pathgenerator.cpp   329
  473.         Skip this branch, (assume 'startPoly==0||endPoly==0' is false)          172
  474.         Skip this branch, (assume 'farFromPoly' is false)           200
  475.         Skip this branch, (assume 'startPoly==endPoly' is false)            248
  476.         Enter this branch, (assume '_polyLength')           269
  477.         Enter this loop, (assume 'pathStartIndex<_polyLength')          271
  478.         Skip this branch, (assume '<branch condition>' is false)            274
  479.         Skip this branch, (assume '<branch condition>' is false)            284
  480.         Continue this loop, (assume 'pathStartIndex<_polyLength')           271
  481.         Skip this branch, (assume '<branch condition>' is false)            274
  482.         Enter this branch, (assume '<branch condition>')            284
  483.         Skip this loop, (assume 'pathEndIndex>pathStartIndex' is false)         291
  484.         Skip this branch, (assume 'startPolyFound&&endPolyFound' is false)          299
  485.         Enter this branch, (assume 'startPolyFound&&!endPolyFound')         310
  486.         '_pathPolyRefs' is an Output from 'memmove' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:139)          327
  487.         Invalid read from '_pathPolyRefs[-1]', (readable range is 0 to 73)          329
  488. 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
  489.         'pathPoints' is a 888 byte array            475
  490.         Enter this branch, (assume '_straightLine')         478
  491.         'pathPoints' is an Output from 'memcpy' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:55)           482
  492.         'pathPoints' is an Output from 'memcpy' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:55)           501
  493.         Skip this branch, (assume '<branch condition>' is false)            529
  494.         Skip this branch, (assume 'pointCount==_pointPathLimit' is false)           539
  495.         Enter this loop, (assume 'i<pointCount')            548
  496.         '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
  497.         'i' may equal 1         548
  498.         Continue this loop, (assume 'i<pointCount')         548
  499.         '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
  500.         Invalid read from 'pathPoints[4]', (readable range is 0 to 2)           549
  501. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'p'.     game    player.cpp  2894
  502.         'p' is dereferenced, but may still be NULL          2894
  503. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'p'.     game    player.cpp  2901
  504.         'p' is dereferenced, but may still be NULL          2901
  505. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'spellInfo'.     game    player.cpp  4088
  506.         'spellInfo' may be NULL (Skip this branch)          3995
  507.         Skip this branch, (assume 'spellLearnSkill' is false)           4004
  508.         Skip this branch, (assume 'Has310Flyer(0, 0)&&spellInfo' is false)          4044
  509.         Skip this loop, (assume 'itr2.!=(spell_bounds.second)' is false)            4071
  510.         Skip this branch, (assume 'talentCosts' is false)           4080
  511.         Skip this branch, (assume '<branch condition>' is false)            4088
  512.         'spellInfo' is dereferenced, but may still be NULL          4088
  513. 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
  514.         '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
  515.         Enter this loop, (assume 'eff<96')          20901
  516.         Skip this branch, (assume 'eff!=0&&eff%32==0' is false)         20903
  517.         Skip this branch, (assume 'mod->mask.&(_mask)->._N()' is false)         20907
  518.         Enter this loop, (assume 'eff<96')          20901
  519.         Enter this branch, (assume 'eff!=0&&eff%32==0')         20903
  520.         Skip this branch, (assume 'mod->mask.&(_mask)->._N()' is false)         20907
  521.         Continue this loop, (assume 'eff<96')           20901
  522.         Skip this branch, (assume 'apply' is false)         20924
  523.         '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
  524.         Invalid read from 'm_spellMods[107]', (readable range is 0 to 31)           20928
  525. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'u'.     game    player.cpp  22427
  526.         'u' is dereferenced, but may still be NULL          22427
  527. C6262   Excessive stack usage   Function uses '32376' bytes of stack:  exceeds /analyze:stacksize '16384'.  Consider moving some data to heap.  game    playerdump.cpp  399
  528. C6053   Zero termination from call  The prior call to '_snprintf' might not zero-terminate string 'lastpetid'game    playerdump.cpp  630
  529.         'lastpetid' is Output from '_snprintf', which may not zero-terminate it         629
  530.         'lastpetid' is an Input to 'strcmp' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:120)          630
  531.         Skip this branch, (assume '<branch condition>' is false)            630
  532.         'lastpetid' is required to be zero-terminated by a SAL annotation on 'strcmp'           630
  533. C6053   Zero termination from call  The prior call to '_snprintf' might not zero-terminate string 'newpetid'.   game    playerdump.cpp  640
  534.         'newpetid' is Output from '_snprintf', which may not zero-terminate it          446
  535.         Enter this loop, (assume '!feof(fin)')          463
  536.         Skip this branch, (assume '!fgets(buf, 32000, fin)' is false)           465
  537.         Skip this branch, (assume 'nw_pos==npos' is false)          476
  538.         Skip this branch, (assume '<branch condition>' is false)            481
  539.         Skip this branch, (assume 'tn.empty()' is false)            498
  540.         Enter this loop, (assume 'i<27')            506
  541.         Enter this branch, (assume '==(tn, dumpTables[i].name)')            508
  542.         Skip this branch, (assume 'i==27' is false)         515
  543.         Assume switch ( 'type' ) resolves to case DTT_PET:          522
  544.         Skip this branch, (assume '<branch condition>' is false)            630
  545.         Enter this branch, (assume '<branch condition>')            638
  546.         'newpetid' is an Input to 'atoi' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdlib.h:430)         640
  547.         'newpetid' is required to be zero-terminated by a SAL annotation on 'atoi'          640
  548. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'factionEntry'. See line 287 for an earlier location where this can occur    game    reputationmgr.cpp   346
  549.         Skip this branch, (assume '<branch condition>' is false)            311
  550.         Enter this branch, (assume 'flist')         328
  551.         Skip this loop, (assume '(bool)=itr.!=(*), (), (bool)' is false)            331
  552.         'factionEntry' is dereferenced, but may still be NULL           346
  553. 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
  554.         Enter this loop, (assume '<branch condition>')          258
  555.         Skip this branch, (assume '!pTempSpell' is false)           265
  556.         Enter this loop, (assume 'j<3')         268
  557.         Skip this branch, (assume '<branch condition>' is false)            271
  558.         Skip this branch, (assume '<branch condition>' is false)            275
  559.         Skip this branch, (assume '<branch condition>' is false)            282
  560.         Skip this branch, (assume '<branch condition>' is false)            291
  561.         Skip this branch, (assume '<branch condition>' is false)            297
  562.         Skip this branch, (assume '<branch condition>' is false)            303
  563.         Skip this branch, (assume '<branch condition>' is false)            312
  564.         Enter this loop, (assume 'j<3')         268
  565.         Skip this branch, (assume '<branch condition>' is false)            271
  566.         Skip this branch, (assume '<branch condition>' is false)            275
  567.         Skip this branch, (assume '<branch condition>' is false)            282
  568.         Skip this branch, (assume '<branch condition>' is false)            291
  569.         Skip this branch, (assume '<branch condition>' is false)            297
  570.         Skip this branch, (assume '<branch condition>' is false)            303
  571.         Skip this branch, (assume '<branch condition>' is false)            312
  572.         Continue this loop, (assume 'j<3')          268
  573.         'i' may equal 1         258
  574.         Continue this loop, (assume '<branch condition>')           258
  575.         Invalid write to 'SpellSummary[1]', (writable range is 0 to 0)          260
  576. 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
  577.         Enter this branch, (assume 'maxTargets>1')          1452
  578.         Skip this loop, (assume 'k<3' is false)         1455
  579.         'Effects' is an Output from 'Spell::SearchChainTargets' (declared at e:\cores\trinitycore\test\source\src\server\game\spells\spell.h:376)           1461
  580.         Invalid read from 'm_spellInfo->Effects[3]', (readable range is 0 to 2)         1461
  581. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'm_CastItem'.    game    spell.cpp   4524
  582.         'm_CastItem' is NULL            4532
  583.         Continue this loop, (assume 'x<8')          4510
  584.         Skip this branch, (assume 'm_spellInfo->Reagent[x]<=0' is false)            4512
  585.         Enter this branch, (assume '<branch condition>')            4519
  586.         Continue this loop, (assume 's<5')          4521
  587.         'm_CastItem' is dereferenced, but may still be NULL         4524
  588. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'existingAura'.  game    spellauras.cpp  1769
  589.         Skip this branch, (assume 'this==existingAura' is false)            1765
  590.         'existingAura' is dereferenced, but may still be NULL           1769
  591. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'unitTarget'.    game    spelleffects.cpp    695
  592.         'unitTarget' may be NULL (Skip this branch)         679
  593.         Assume switch ( 'm_spellInfo->SpellFamilyName' ) resolves to case SPELLFAMILY_PALADIN:          683
  594.         Assume switch ( 'm_spellInfo->Id' ) resolves to case 31789:             686
  595.         Skip this loop, (assume '(bool)=ihit.!=(), (), (bool)' is false)            691
  596.         'unitTarget' is dereferenced, but may still be NULL         695
  597. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'caster'.    game    spellinfo.cpp   1602
  598.         Skip this branch, (assume '<branch condition>' is false)            1495
  599.         Skip this branch, (assume '<branch condition>' is false)            1499
  600.         Skip this branch, (assume 'unitTarget' is false)            1505
  601.         Skip this branch, (assume '<branch condition>' is false)            1564
  602.         Skip this branch, (assume '<branch condition>' is false)            1577
  603.         Skip this branch, (assume '<branch condition>' is false)            1580
  604.         Skip this branch, (assume '<branch condition>' is false)            1584
  605.         Skip this branch, (assume '<branch condition>' is false)            1593
  606.         Skip this branch, (assume '<branch condition>' is false)            1602
  607.         'caster' is dereferenced, but may still be NULL         1602
  608. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'currentRef'. See line 330 for an earlier location where this can occur  game    threatmanager.cpp   358
  609.         'currentRef' is NULL            319
  610.         Enter this loop, (assume '<branch condition>')          326
  611.         Skip this branch, (assume '!((target))' is false)           331
  612.         Skip this branch, (assume '<branch condition>' is false)            334
  613.         Enter this branch, (assume '<branch condition>')            353
  614.         Enter this branch, (assume 'currentVictim')         355
  615.         'currentRef' is dereferenced, but may still be NULL         358
  616. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'q'.     game    timer_queue_set.ipp 53
  617.         Enter this branch, (assume 'first_')            40
  618.         Skip this branch, (assume 'q==first_' is false)         42
  619.         Enter this loop, (assume 'p->next_')            49
  620.         Enter this branch, (assume 'p->next_==q')           51
  621.         'q' is dereferenced, but may still be NULL          53
  622. C6385   Read overrun    Reading invalid data from '_vertex':  the readable size is '36' bytes, but 'n' bytes may be read.   game    triangle.h  72
  623.         Enter this branch, (assume '!((((n>=0))&&((n<3))))')            71
  624.         Invalid read from '_vertex[-1]', (readable range is 0 to 2)         72
  625. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'victim'. See line 561 for an earlier location where this can occur  game    unit.cpp    760
  626.         Skip this branch, (assume 'victim->IsAIEnabled' is false)           561
  627.         Skip this branch, (assume 'IsAIEnabled' is false)           564
  628.         'victim' is an In/Out argument to 'ScriptMgr::OnDamage' (declared at e:\cores\trinitycore\test\source\src\server\game\scripting\scriptmgr.h:1118)           568
  629.         Skip this branch, (assume '<branch condition>' is false)            570
  630.         Skip this branch, (assume '<branch condition>' is false)            583
  631.         Skip this branch, (assume 'damagetype!=NODAMAGE' is false)          586
  632.         Skip this branch, (assume '<branch condition>' is false)            624
  633.         Skip this branch, (assume '!damage' is false)           658
  634.         Skip this branch, (assume '<branch condition>' is false)            667
  635.         Skip this branch, (assume '<branch condition>' is false)            670
  636.         Skip this branch, (assume '<branch condition>' is false)            675
  637.         Skip this branch, (assume '<branch condition>' is false)            683
  638.         Skip this branch, (assume '<branch condition>' is false)            698
  639.         Skip this branch, (assume '<branch condition>' is false)            711
  640.         Skip this branch, (assume '<branch condition>' is false)            713
  641.         Skip this branch, (assume 'health<=damage' is false)            722
  642.         Skip this branch, (assume '<branch condition>' is false)            735
  643.         'victim' is an Output from 'Unit::ModifyHealth' (declared at e:\cores\trinitycore\test\source\src\server\game\entities\unit\unit.h:1390)            738
  644.         Skip this branch, (assume '<branch condition>' is false)            740
  645.         Skip this branch, (assume '<branch condition>' is false)            747
  646.         Skip this branch, (assume '<branch condition>' is false)            752
  647.         Skip this branch, (assume '<branch condition>' is false)            760
  648.         'victim' is dereferenced, but may still be NULL         760
  649. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'victim'. See line 2592 for an earlier location where this can occur game    unit.cpp    2608
  650.         Skip this branch, (assume '<branch condition>' is false)            2592
  651.         Skip this branch, (assume '<branch condition>' is false)            2597
  652.         Skip this branch, (assume '<branch condition>' is false)            2601
  653.         Skip this branch, (assume 'this==victim' is false)          2604
  654.         'victim' is dereferenced, but may still be NULL         2608
  655. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'target'.    game    unit.cpp    8698
  656.         Skip this branch, (assume 'this==target' is false)          8694
  657.         'target' is dereferenced, but may still be NULL         8698
  658. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'creature'.  game    unit.cpp    15384
  659.         'creature' may be NULL (Skip this branch)           15211
  660.         Skip this branch, (assume '<branch condition>' is false)            15218
  661.         Skip this branch, (assume '<branch condition>' is false)            15223
  662.         Skip this branch, (assume 'IsPet()||IsTotem()' is false)            15293
  663.         Skip this branch, (assume '!victim->IsCritter()' is false)          15297
  664.         Skip this branch, (assume '<branch condition>' is false)            15310
  665.         Enter this branch, (assume '!spiritOfRedemption')           15335
  666.         Skip this branch, (assume '<branch condition>' is false)            15337
  667.         Skip this branch, (assume 'player' is false)            15344
  668.         Skip this branch, (assume '<branch condition>' is false)            15382
  669.         'creature' is dereferenced, but may still be NULL           15384
  670. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'unit'.  game    unit.cpp    16082
  671.         Skip this branch, (assume 'this==unit' is false)            16078
  672.         'unit' is dereferenced, but may still be NULL           16082
  673. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'unit'.  game    unit.cpp    16101
  674.         Skip this branch, (assume 'this==unit' is false)            16097
  675.         'unit' is dereferenced, but may still be NULL           16101
  676. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'owner'. See line 16118 for an earlier location where this can occur game    unit.cpp    16145
  677.         'owner' receives the Return value from 'Unit::GetCharmerOrOwnerOrSelf' (declared at e:\cores\trinitycore\test\source\src\server\game\entities\unit\unit.h:1676)         16116
  678.         'owner' receives the Return value from 'Unit::GetCharmerOrOwnerOrSelf' (declared at e:\cores\trinitycore\test\source\src\server\game\entities\unit\unit.h:1676)         16116
  679.         Skip this branch, (assume '<branch condition>' is false)            16118
  680.         Skip this branch, (assume 'group' is false)         16121
  681.         '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
  682.         Skip this branch, (assume '<branch condition>' is false)            16143
  683.         'owner' is dereferenced, but may still be NULL          16145
  684. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'vehicle'. See line 16860 for an earlier location where this can occur   game    unit.cpp    16879
  685.         Skip this branch, (assume '!((aurApp))' is false)           16858
  686.         Skip this branch, (assume '<branch condition>' is false)            16860
  687.         Enter this branch, (assume 'm_vehicle')         16863
  688.         Enter this branch, (assume 'm_vehicle!=vehicle')            16865
  689.         Skip this branch, (assume 'aurApp->GetRemoveMode()' is false)           16874
  690.         Skip this branch, (assume '<branch condition>' is false)            16879
  691.         'vehicle' is dereferenced, but may still be NULL            16879
  692. C6387   Invalid parameter value '_bits' could be '0':  this does not adhere to the specification for the function 'memcpy'.     game    updatemask.h    42
  693.         '_bits' should not be NULL, because this is not consistent with the SAL annotation on 'memcpy'          42
  694. C6385   Read overrun    Reading invalid data from 'o0':  the readable size is '20' bytes, but '21' bytes may be read.   game    wardenkeygeneration.h   57
  695.         Enter this loop, (assume 'i<sz')            52
  696.         Continue this loop, (assume 'i<sz')         52
  697.         Invalid read from 'o0[20]', (readable range is 0 to 19)         57
  698. 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
  699.         Skip this branch, (assume '!is_open(impl)' is false)            197
  700.         'Temp_value_#764' should not be NULL, because this is not consistent with the SAL annotation on 'GetProcAddress'            205
  701. C6258   Using TerminateThread   Using TerminateThread does not allow proper thread clean up.    game    win_thread.ipp  48
  702. C6293   Loop counts down from minimum   Ill-defined for-loop:  counts down from minimum.    game    world.cpp   1854
  703. C6053   Zero termination from call  The prior call to '_vsnprintf' might not zero-terminate string 'szStr'. game    worldsession.cpp    598
  704.         'szStr' is Output from '_vsnprintf', which may not zero-terminate it            595
  705.         'szStr' is an Input to 'strlen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:121)          598
  706.         'szStr' is required to be zero-terminated by a SAL annotation on 'strlen'           598
  707. C6053   Zero termination from call  The prior call to '_vsnprintf' might not zero-terminate string 'szStr'. game    worldsession.cpp    616
  708.         'szStr' is Output from '_vsnprintf', which may not zero-terminate it            613
  709.         'szStr' is an Input to 'strlen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:121)          616
  710.         'szStr' is required to be zero-terminated by a SAL annotation on 'strlen'           616
  711. C6287   Redundant test  Redundant code:  the left and right sub-expressions are identical.  gsoap   stdsoap2.cpp    576
  712. C6287   Redundant test  Redundant code:  the left and right sub-expressions are identical.  gsoap   stdsoap2.cpp    654
  713. C6287   Redundant test  Redundant code:  the left and right sub-expressions are identical.  gsoap   stdsoap2.cpp    918
  714. C6287   Redundant test  Redundant code:  the left and right sub-expressions are identical.  gsoap   stdsoap2.cpp    986
  715. C6031   Return value ignored    Return value ignored: '_setmode'.   gsoap   stdsoap2.cpp    7249
  716. C6387   Invalid parameter value 'tp' could be '0':  this does not adhere to the specification for the function 'memcpy'.    gsoap   stdsoap2.cpp    8895
  717.         'tp' may be NULL            8894
  718.         'tp' is an In/Out argument to 'memcpy' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:55)            8895
  719.         'tp' should not be NULL, because this is not consistent with the SAL annotation on 'memcpy'         8895
  720. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'tp'. See line 8895 for an earlier location where this can occur gsoap   stdsoap2.cpp    8896
  721.         'tp' may be NULL            8894
  722.         'tp' is an In/Out argument to 'memcpy' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:55)            8895
  723.         Skip this branch, (assume 'tp->size' is false)          8896
  724.         'tp' is dereferenced, but may still be NULL         8896
  725. C6031   Return value ignored    Return value ignored: 'sscanf'. gsoap   stdsoap2.cpp    13657
  726. C6031   Return value ignored    Return value ignored: '_setmode'.   gsoap   stdsoap2.cpp    15100
  727. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'soap->mime.first'.  gsoap   stdsoap2.cpp    15299
  728.         'soap->mime.first' may be NULL          15088
  729.         Skip this branch, (assume '<branch condition>' is false)            15096
  730.         Skip this branch, (assume '<branch condition>' is false)            15120
  731.         Skip this loop, (assume '((c))+1>0&&((c))<=32' is false)            15153
  732.         Skip this branch, (assume '<branch condition>' is false)            15156
  733.         Skip this branch, (assume '<branch condition>' is false)            15158
  734.         Skip this branch, (assume '<branch condition>' is false)            15163
  735.         Skip this branch, (assume '<branch condition>' is false)            15173
  736.         Skip this loop, (assume '((c))+1>0&&((c))<=32' is false)            15176
  737.         Skip this branch, (assume '(int)c==((-1))' is false)            15179
  738.         Skip this branch, (assume '<branch condition>' is false)            15184
  739.         Enter this branch, (assume 'soap->mode')            15283
  740.         Skip this branch, (assume '<branch condition>' is false)            15285
  741.         Skip this branch, (assume 'soap_getmimehdr(soap)' is false)         15289
  742.         Skip this branch, (assume 'soap->mime.start' is false)          15291
  743.         'soap->mime.first' is dereferenced, but may still be NULL           15299
  744. C6387   Invalid parameter value 'endpoint' could be '0':  this does not adhere to the specification for the function 'strncpy'.     gsoap   stdsoap2.cpp    15704
  745.         'endpoint' may be NULL          15702
  746.         'endpoint' is an In/Out argument to 'strncpy' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:195)            15704
  747.         'endpoint' should not be NULL, because this is not consistent with the SAL annotation on 'strncpy'          15704
  748. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'endpoint'. See line 15704 for an earlier location where this can occur  gsoap   stdsoap2.cpp    15705
  749.         'endpoint' may be NULL          15702
  750.         'endpoint' is an In/Out argument to 'strncpy' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:195)            15704
  751.         'endpoint' is dereferenced, but may still be NULL           15705
  752. C6031   Return value ignored    Return value ignored: 'chdir'mapextractor    system.cpp  112
  753. C6054   Zero termination missing    String 'fileName' might not be zero-terminated. mmaps_generator intermediatevalues.cpp  67
  754.         This expression may not zero-terminate 'fileName'           34
  755.         Skip this branch, (assume 'heightfield' is false)           58
  756.         Skip this branch, (assume 'compactHeightfield' is false)            60
  757.         Skip this branch, (assume 'contours' is false)          62
  758.         Skip this branch, (assume 'polyMesh' is false)          64
  759.         Enter this branch, (assume 'polyMeshDetail')            66
  760.         'fileName' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356)            67
  761.         'fileName' is required to be zero-terminated by a SAL annotation on 'fopen'         67
  762. C6054   Zero termination missing    String 'objFileName' might not be zero-terminated.  mmaps_generator intermediatevalues.cpp  207
  763.         This expression may not zero-terminate 'objFileName'            204
  764.         'objFileName' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356)         205
  765.         'objFileName' is an Input to 'fopen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:211)          207
  766.         'objFileName' is required to be zero-terminated by a SAL annotation on 'fopen'          207
  767. C6054   Zero termination missing    String 'message' might not be zero-terminated.  mmaps_generator intermediatevalues.cpp  263
  768.         This expression may not zero-terminate 'message'            261
  769.         'message' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356)         262
  770.         'message' is an Input to 'perror' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:258)         263
  771.         'message' is required to be zero-terminated by a SAL annotation on 'perror'         263
  772. C6054   Zero termination missing    String 'fileName' might not be zero-terminated. mmaps_generator mapbuilder.cpp  521
  773.         This expression may not zero-terminate 'fileName'           518
  774.         'fileName' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356)            519
  775.         'fileName' is an Input to 'fopen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:211)         521
  776.         'fileName' is required to be zero-terminated by a SAL annotation on 'fopen'         521
  777. C6054   Zero termination missing    String 'message' might not be zero-terminated.  mmaps_generator mapbuilder.cpp  527
  778.         This expression may not zero-terminate 'message'            525
  779.         'message' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356)         526
  780.         'message' is an Input to 'perror' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:258)         527
  781.         'message' is required to be zero-terminated by a SAL annotation on 'perror'         527
  782. C6054   Zero termination missing    String 'fileName' might not be zero-terminated. mmaps_generator mapbuilder.cpp  838
  783.         This expression may not zero-terminate 'fileName'           836
  784.         'fileName' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356)            837
  785.         'fileName' is an Input to 'fopen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:211)         838
  786.         'fileName' is required to be zero-terminated by a SAL annotation on 'fopen'         838
  787. C6054   Zero termination missing    String 'message' might not be zero-terminated.  mmaps_generator mapbuilder.cpp  843
  788.         This expression may not zero-terminate 'message'            841
  789.         'message' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356)         842
  790.         'message' is an Input to 'perror' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:258)         843
  791.         'message' is required to be zero-terminated by a SAL annotation on 'perror'         843
  792. C6054   Zero termination missing    String 'fileName' might not be zero-terminated. mmaps_generator mapbuilder.cpp  997
  793.         This expression may not zero-terminate 'fileName'           995
  794.         'fileName' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356)            996
  795.         'fileName' is an Input to 'fopen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:211)         997
  796.         'fileName' is required to be zero-terminated by a SAL annotation on 'fopen'         997
  797. 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
  798.         Invalid read from 'elt[-1]', (readable range is 0 to 2)         124
  799. 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
  800.         Invalid read from 'elt[-1]', (readable range is 0 to 2)         130
  801. C6031   Return value ignored    Return value ignored: 'getchar'.    mmaps_generator pathgenerator.cpp   239
  802. 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
  803. C6054   Zero termination missing    String 'mapFileName' might not be zero-terminated.  mmaps_generator terrainbuilder.cpp  139
  804.         This expression may not zero-terminate 'mapFileName'            136
  805.         'mapFileName' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356)         137
  806.         'mapFileName' is an Input to 'fopen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:211)          139
  807.         'mapFileName' is required to be zero-terminated by a SAL annotation on 'fopen'          139
  808. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'lverts_copy'.   mmaps_generator terrainbuilder.cpp  436
  809.         'lverts_copy' is NULL           376
  810.         Skip this branch, (assume 'meshData.liquidVerts.size()' is false)           377
  811.         Enter this loop, (assume 'i<loopEnd')           384
  812.         Enter this loop, (assume 'j<2')         386
  813.         Skip this branch, (assume '<branch condition>' is false)            395
  814.         Assume switch ( 'liquidType' ) resolves to case 1: case 2:          400
  815.         Enter this branch, (assume 'useLiquid')         430
  816.         Enter this loop, (assume 'idx<3')           434
  817.         'lverts_copy' is dereferenced, but may still be NULL            436
  818. 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
  819.         Enter this branch, (assume '!((((n>=0))&&((n<3))))')            71
  820.         Invalid read from '_vertex[-1]', (readable range is 0 to 2)         72
  821. 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
  822.         'p_item3->next' may be NULL         785
  823.         Enter this branch, (assume 'p_item3==(((void *)0))')            790
  824.         'p_item3->next' is dereferenced, but may still be NULL          796
  825. 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
  826.         'p_item1' may be NULL (Skip this loop)          1025
  827.         Enter this branch, (assume 'has_qd==0')         1028
  828.         Skip this branch, (assume 'bit_count>7' is false)           1031
  829.         Enter this loop, (assume 'index<=127')          1040
  830.         'p_item1' is dereferenced, but may still be NULL            1043
  831. 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
  832.         'p_item2' may be NULL           1063
  833.         'p_item2' is dereferenced, but may still be NULL            1064
  834. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'mpq_archive->mpq_file[file_number]'.    mpq mpq.c   753
  835.         '*mpq_archive->mpq_file' may be NULL (Enter this branch)            645
  836.         Go to error         649
  837.         '*mpq_archive->mpq_file' is dereferenced, but may still be NULL         753
  838. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'pmesh->polys'.  Recast  recastmesh.cpp  1417
  839.         'pmesh->polys' may equal 65535 (Enter this branch)          1424
  840.         Skip this branch, (assume 'isOnBorder' is false)            1428
  841.         Continue this loop, (assume 'j<pmesh->npolys')          1414
  842.         'pmesh->polys' is dereferenced, but may still be NULL           1417
  843. 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
  844.         'chf.spans' may equal 65535 (Skip this branch)          1079
  845.         'chf.spans' is dereferenced, but may still be NULL          1083
  846. 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
  847.         Assume switch ( 'WalkCount' ) resolves to case 12:          1644
  848.         Enter this branch, (assume 'Phase==PHASE_WALK')         1661
  849.         'AkamaWP' is an In/Out argument to 'MotionMaster::MovePoint' (declared at e:\cores\trinitycore\test\source\src\server\game\movement\motionmaster.h:174)         1665
  850.         Invalid read from 'AkamaWP[13]', (readable range is 0 to 12)            1665
  851. C6031   Return value ignored    Return value ignored: 'sscanf'. scripts cs_cast.cpp 169
  852. C6031   Return value ignored    Return value ignored: 'sscanf'. scripts cs_titles.cpp   211
  853. C6262   Excessive stack usage   Function uses '32780' bytes of stack:  exceeds /analyze:stacksize '16384'.  Consider moving some data to heap.  scripts databaseworkerpool.h    139
  854. C6262   Excessive stack usage   Function uses '32780' bytes of stack:  exceeds /analyze:stacksize '16384'.  Consider moving some data to heap.  scripts databaseworkerpool.h    245
  855. C6385   Read overrun    Reading invalid data from 'elt':  the readable size is '36' bytes, but 'iRow' bytes may be read.    scripts matrix3.h   124
  856.         Invalid read from 'elt[-1]', (readable range is 0 to 2)         124
  857. C6385   Read overrun    Reading invalid data from 'elt':  the readable size is '36' bytes, but 'iRow' bytes may be read.    scripts matrix3.h   130
  858.         Invalid read from 'elt[-1]', (readable range is 0 to 2)         130
  859. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'q'.     scripts timer_queue_set.ipp 53
  860.         Enter this branch, (assume 'first_')            40
  861.         Skip this branch, (assume 'q==first_' is false)         42
  862.         Enter this loop, (assume 'p->next_')            49
  863.         Enter this branch, (assume 'p->next_==q')           51
  864.         'q' is dereferenced, but may still be NULL          53
  865. C6385   Read overrun    Reading invalid data from '_vertex':  the readable size is '36' bytes, but 'n' bytes may be read.   scripts triangle.h  72
  866.         Enter this branch, (assume '!((((n>=0))&&((n<3))))')            71
  867.         Invalid read from '_vertex[-1]', (readable range is 0 to 2)         72
  868. C6387   Invalid parameter value '_bits' could be '0':  this does not adhere to the specification for the function 'memcpy'.     scripts updatemask.h    42
  869.         '_bits' should not be NULL, because this is not consistent with the SAL annotation on 'memcpy'          42
  870. C6258   Using TerminateThread   Using TerminateThread does not allow proper thread clean up.    scripts win_thread.ipp  48
  871. 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
  872.         Enter this loop, (assume 'i<count')         1603
  873.         Enter this branch, (assume 'Spawn')         1613
  874.         Skip this branch, (assume 'WaveCount==0' is false)          1617
  875.         Skip this branch, (assume 'WaveCount<3' is false)           1636
  876.         Exit this loop, ('i<count' is false)            1603
  877.         Invalid read from 'WavesInfo[4]', (readable range is 0 to 3)            1659
  878. 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
  879.         Enter this loop, (assume 'i<=count')            901
  880.         Skip this branch, (assume 'i>=30' is false)         909
  881.         Skip this branch, (assume 'i>=33' is false)         910
  882.         Skip this branch, (assume 'i>=45' is false)         911
  883.         Skip this branch, (assume 'i>=51' is false)         912
  884.         Skip this branch, (assume 'WaveCount<5' is false)           914
  885.         Exit this loop, ('i<=count' is false)           901
  886.         Invalid read from 'WavesInfo[5]', (readable range is 0 to 4)            925
  887. C6262   Excessive stack usage   Function uses '32776' bytes of stack:  exceeds /analyze:stacksize '16384'.  Consider moving some data to heap.  shared  appender.cpp    71
  888. C6031   Return value ignored    Return value ignored: 'rename'. shared  appenderfile.cpp    85
  889. C6029   Use of unchecked value  Possible buffer overrun in call to 'fread':  use of unchecked value 'this'. shared  dbcfileloader.cpp   102
  890. 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
  891.         'Event' may be NULL         42
  892.         Skip this branch, (assume '!Event->to_Abort' is false)          45
  893.         'Event' is dereferenced, but may still be NULL          45
  894. C6262   Excessive stack usage   Function uses '32788' bytes of stack:  exceeds /analyze:stacksize '16384'.  Consider moving some data to heap.  shared  log.cpp 264
  895. C6262   Excessive stack usage   Function uses '32940' bytes of stack:  exceeds /analyze:stacksize '16384'.  Consider moving some data to heap.  shared  log.cpp 355
  896. C6262   Excessive stack usage   Function uses '32788' bytes of stack:  exceeds /analyze:stacksize '16384'.  Consider moving some data to heap.  shared  queryholder.cpp 43
  897. C6102       Using 'path' from failed function call at line '205'.   shared  servicewin32.cpp    207
  898.         'path' is not initialized           205
  899.         'path' is an Input to 'strlen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:121)           207
  900.         'path' is used, but may not have been initialized           207
  901. C6385   Read overrun    Reading invalid data from 'state':  the readable size is '1408' bytes, but 'ix++' bytes may be read.    shared  sfmt.h  247
  902.         Enter this branch, (assume 'ix>=88*4')          244
  903.         Invalid read from 'state[352]', (readable range is 0 to 87)         247
  904. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'q'.     shared  timer_queue_set.ipp 53
  905.         Enter this branch, (assume 'first_')            40
  906.         Skip this branch, (assume 'q==first_' is false)         42
  907.         Enter this loop, (assume 'p->next_')            49
  908.         Enter this branch, (assume 'p->next_==q')           51
  909.         'q' is dereferenced, but may still be NULL          53
  910. C6262   Excessive stack usage   Function uses '32780' bytes of stack:  exceeds /analyze:stacksize '16384'.  Consider moving some data to heap.  shared  transaction.cpp 30
  911. C6001   Using uninitialized memory  Using uninitialized memory 'data'shared  transaction.cpp 61
  912.         'data' is not initialized           65
  913.         'data' is used, but may not have been initialized           61
  914. C6262   Excessive stack usage   Function uses '98324' bytes of stack:  exceeds /analyze:stacksize '16384'.  Consider moving some data to heap.  shared  util.cpp    519
  915. C6258   Using TerminateThread   Using TerminateThread does not allow proper thread clean up.    shared  win_thread.ipp  48
  916. C6385   Read overrun    Reading invalid data from 'elt':  the readable size is '36' bytes, but 'iRow' bytes may be read.    vmap4assembler  matrix3.h   124
  917.         Invalid read from 'elt[-1]', (readable range is 0 to 2)         124
  918. C6385   Read overrun    Reading invalid data from 'elt':  the readable size is '36' bytes, but 'iRow' bytes may be read.    vmap4assembler  matrix3.h   130
  919.         Invalid read from 'elt[-1]', (readable range is 0 to 2)         130
  920. C6385   Read overrun    Reading invalid data from '_vertex':  the readable size is '36' bytes, but 'n' bytes may be read.   vmap4assembler  triangle.h  72
  921.         Enter this branch, (assume '!((((n>=0))&&((n<3))))')            71
  922.         Invalid read from '_vertex[-1]', (readable range is 0 to 2)         72
  923. 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
  924.         'ModelInstansName' may be NULL          186
  925.         Continue this loop, (assume '!ADT.isEof()')         113
  926.         Skip this branch, (assume '!strcmp(fourcc, "MCIN")' is false)           123
  927.         Skip this branch, (assume '!strcmp(fourcc, "MTEX")' is false)           126
  928.         Skip this branch, (assume '!strcmp(fourcc, "MMDX")' is false)           129
  929.         Skip this branch, (assume '!strcmp(fourcc, "MWMO")' is false)           154
  930.         Enter this branch, (assume '!strcmp(fourcc, "MDDF")')           175
  931.         Enter this branch, (assume 'size')          177
  932.         Enter this loop, (assume 'i<nMDX')          180
  933.         'ModelInstansName' is dereferenced, but may still be NULL           184
  934. 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
  935.         'WmoInstansName' may be NULL            200
  936.         Continue this loop, (assume '!ADT.isEof()')         113
  937.         Skip this branch, (assume '!strcmp(fourcc, "MCIN")' is false)           123
  938.         Skip this branch, (assume '!strcmp(fourcc, "MTEX")' is false)           126
  939.         Skip this branch, (assume '!strcmp(fourcc, "MMDX")' is false)           129
  940.         Skip this branch, (assume '!strcmp(fourcc, "MWMO")' is false)           154
  941.         Skip this branch, (assume '!strcmp(fourcc, "MDDF")' is false)           175
  942.         Enter this branch, (assume '!strcmp(fourcc, "MODF")')           189
  943.         Enter this branch, (assume 'size')          191
  944.         Enter this loop, (assume 'i<nWMO')          194
  945.         'WmoInstansName' is dereferenced, but may still be NULL         198
  946. C6054   Zero termination missing    String 'tempname' might not be zero-terminated. vmap4extractor  model.cpp   160
  947.         This expression may not zero-terminate 'tempname'           158
  948.         'tempname' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356)            159
  949.         'tempname' is an Input to 'fopen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:211)         160
  950.         'tempname' is required to be zero-terminated by a SAL annotation on 'fopen'         160
  951. C6054   Zero termination missing    String 'szLocalFile' might not be zero-terminated.  vmap4extractor  vmapexport.cpp  155
  952.         This expression may not zero-terminate 'szLocalFile'            152
  953.         'szLocalFile' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356)         154
  954.         'szLocalFile' is an Input to 'strlen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\string.h:121)            155
  955.         'szLocalFile' is required to be zero-terminated by a SAL annotation on 'strlen'         155
  956. C6054   Zero termination missing    String 'path' might not be zero-terminated. vmap4extractor  vmapexport.cpp  288
  957.         This expression may not zero-terminate 'path'           273
  958.         Enter this loop, (assume 'i<=99')           275
  959.         Skip this branch, (assume 'i!=1' is false)          277
  960.         'path' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356)            283
  961.         'path' is required to be zero-terminated by a SAL annotation on 'fopen'         288
  962. C6031   Return value ignored    Return value ignored: 'getchar'.    vmap4extractor  vmapexport.cpp  532
  963. 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
  964.         Skip this branch, (assume 'WDT.isEof()' is false)           40
  965.         Skip this branch, (assume '!dirfile' is false)          52
  966.         Enter this loop, (assume '!WDT.isEof()')            58
  967.         Skip this branch, (assume '!strcmp(fourcc, "MAIN")' is false)           68
  968.         Enter this branch, (assume '!strcmp(fourcc, "MWMO")')           71
  969.         Skip this branch, (assume 'size' is false)          74
  970.         Continue this loop, (assume '!WDT.isEof()')         58
  971.         Skip this branch, (assume '!strcmp(fourcc, "MAIN")' is false)           68
  972.         Enter this branch, (assume '!strcmp(fourcc, "MWMO")')           71
  973.         Enter this branch, (assume 'size')          74
  974.         Enter this loop, (assume 'p<buf+size')          81
  975.         Continue this loop, (assume 'p<buf+size')           81
  976.         'q' may equal 1         86
  977.         Invalid read from 'gWmoInstansName[1]', (readable range is 0 to 0)          86
  978. 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
  979.         'gWmoInstansName' may be NULL           105
  980.         Continue this loop, (assume '!WDT.isEof()')         58
  981.         Skip this branch, (assume '!strcmp(fourcc, "MAIN")' is false)           68
  982.         Skip this branch, (assume '!strcmp(fourcc, "MWMO")' is false)           71
  983.         Enter this branch, (assume '!strcmp(fourcc, "MODF")')           91
  984.         Enter this branch, (assume 'size')          94
  985.         Enter this loop, (assume 'i<gnWMO')         98
  986.         'gWmoInstansName' is dereferenced, but may still be NULL            102
  987. C6054   Zero termination missing    String 'tempname' might not be zero-terminated. vmap4extractor  wmo.cpp 510
  988.         This expression may not zero-terminate 'tempname'           507
  989.         'tempname' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356)            508
  990.         'tempname' is an Input to 'fopen' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:211)         510
  991.         'tempname' is required to be zero-terminated by a SAL annotation on 'fopen'         510
  992. C6262   Excessive stack usage   Function uses '18012' bytes of stack:  exceeds /analyze:stacksize '16384'.  Consider moving some data to heap.  worldserver clirunnable.cpp 93
  993. C6262   Excessive stack usage   Function uses '32780' bytes of stack:  exceeds /analyze:stacksize '16384'.  Consider moving some data to heap.  worldserver databaseworkerpool.h    139
  994. C6262   Excessive stack usage   Function uses '32780' bytes of stack:  exceeds /analyze:stacksize '16384'.  Consider moving some data to heap.  worldserver databaseworkerpool.h    179
  995. C6385   Read overrun    Reading invalid data from 'elt':  the readable size is '36' bytes, but 'iRow' bytes may be read.    worldserver matrix3.h   124
  996.         Invalid read from 'elt[-1]', (readable range is 0 to 2)         124
  997. C6385   Read overrun    Reading invalid data from 'elt':  the readable size is '36' bytes, but 'iRow' bytes may be read.    worldserver matrix3.h   130
  998.         Invalid read from 'elt[-1]', (readable range is 0 to 2)         130
  999. C6262   Excessive stack usage   Function uses '120532' bytes of stack:  exceeds /analyze:stacksize '16384'.  Consider moving some data to heap. worldserver tcsoap.cpp  25
  1000. C6011   Dereferencing null pointer  Dereferencing NULL pointer 'q'.     worldserver timer_queue_set.ipp 53
  1001.         Enter this branch, (assume 'first_')            40
  1002.         Skip this branch, (assume 'q==first_' is false)         42
  1003.         Enter this loop, (assume 'p->next_')            49
  1004.         Enter this branch, (assume 'p->next_==q')           51
  1005.         'q' is dereferenced, but may still be NULL          53
  1006. C6385   Read overrun    Reading invalid data from '_vertex':  the readable size is '36' bytes, but 'n' bytes may be read.   worldserver triangle.h  72
  1007.         Enter this branch, (assume '!((((n>=0))&&((n<3))))')            71
  1008.         Invalid read from '_vertex[-1]', (readable range is 0 to 2)         72
  1009. C6387   Invalid parameter value '_bits' could be '0':  this does not adhere to the specification for the function 'memcpy'.     worldserver updatemask.h    42
  1010.         '_bits' should not be NULL, because this is not consistent with the SAL annotation on 'memcpy'          42
  1011. C6102       Using 'module_folder_name' from failed function call at line '101'. worldserver wheatyexceptionreport.cpp   102
  1012.         'module_folder_name' is not initialized         101
  1013.         'module_folder_name' is an Input to '_tcsrchr' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\tchar.h:2072)           102
  1014.         'module_folder_name' is used, but may not have been initialized         102
  1015. C6054   Zero termination missing    String 'crash_folder_path' might not be zero-terminated.    worldserver wheatyexceptionreport.cpp   110
  1016.         This expression may not zero-terminate 'crash_folder_path'          108
  1017.         'crash_folder_path' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356)           109
  1018.         'crash_folder_path' is an Input to 'CreateDirectoryA' (declared at c:\program files (x86)\windows kits\8.1\include\um\fileapi.h:93)         110
  1019.         'crash_folder_path' is required to be zero-terminated by a SAL annotation on 'CreateDirectoryA'         110
  1020. 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
  1021. 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
  1022. C6054   Zero termination missing    String 'wszTmp' might not be zero-terminated.   worldserver wheatyexceptionreport.cpp   338
  1023.         This expression may not zero-terminate 'wszTmp'         211
  1024.         Assume switch ( 'osvi.dwPlatformId' ) resolves to the default case          212
  1025.         'wszTmp' is an Output from 'sprintf' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\stdio.h:356)          336
  1026.         'wszTmp' is an Input to '_tcsncat' (declared at e:\ohjelmat\microsoft visual studio 12.0\vc\include\tchar.h:1553)           338
  1027.         'wszTmp' is required to be zero-terminated by a SAL annotation on '_tcsncat'            338
  1028. C28159  Consider using another function instead Consider using 'GlobalMemoryStatusEx' instead of 'GlobalMemoryStatus'. Reason: Deprecated. See MSDN for details worldserver wheatyexceptionreport.cpp   352
  1029. C6262   Excessive stack usage   Function uses '131084' bytes of stack:  exceeds /analyze:stacksize '16384'.  Consider moving some data to heap. worldserver wheatyexceptionreport.cpp   765
  1030. 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
  1031. 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
  1032. C6262   Excessive stack usage   Function uses '131088' bytes of stack:  exceeds /analyze:stacksize '16384'.  Consider moving some data to heap. worldserver wheatyexceptionreport.cpp   1308
  1033. 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
  1034.         Skip this branch, (assume '!is_open(impl)' is false)            197
  1035.         'Temp_value_#798' should not be NULL, because this is not consistent with the SAL annotation on 'GetProcAddress'            205
  1036. C6031   Return value ignored    Return value ignored: 'UnregisterWaitEx'.   worldserver win_object_handle_service.ipp   106
  1037. C6031   Return value ignored    Return value ignored: 'UnregisterWaitEx'.   worldserver win_object_handle_service.ipp   158
  1038. C6031   Return value ignored    Return value ignored: 'UnregisterWaitEx'.   worldserver win_object_handle_service.ipp   200
  1039. C6031   Return value ignored    Return value ignored: 'UnregisterWaitEx'.   worldserver win_object_handle_service.ipp   251
  1040. C6031   Return value ignored    Return value ignored: 'UnregisterWaitEx'.   worldserver win_object_handle_service.ipp   302
  1041. C6031   Return value ignored    Return value ignored: 'UnregisterWaitEx'.   worldserver win_object_handle_service.ipp   402
  1042. C6258   Using TerminateThread   Using TerminateThread does not allow proper thread clean up.    worldserver win_thread.ipp  48
  1043. 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
  1044.         Enter this loop, (assume 'h<((2*((256+1+29))+1))')          512
  1045.         Enter this branch, (assume 'bits>max_length')           515
  1046.         (alias) 'bits' receives the value of 'max_length'           515
  1047.         Skip this branch, (assume 'n>max_code' is false)            519
  1048.         Skip this branch, (assume 'n>=base' is false)           523
  1049.         Skip this branch, (assume 'stree' is false)         526
  1050.         Exit this loop, ('h<((2*((256+1+29))+1))' is false)         512
  1051.         Skip this branch, (assume 'overflow==0' is false)           528
  1052.         Enter this loop, (assume 's->bl_count[bits]==0')            536
  1053.         Invalid read from 's->bl_count[-1]', (readable range is 0 to 15)            536
  1054. 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
  1055.         Enter this loop, (assume 'h<((2*((256+1+29))+1))')          512
  1056.         Enter this branch, (assume 'bits>max_length')           515
  1057.         Skip this branch, (assume 'n>max_code' is false)            519
  1058.         Skip this branch, (assume 'n>=base' is false)           523
  1059.         Skip this branch, (assume 'stree' is false)         526
  1060.         Exit this loop, ('h<((2*((256+1+29))+1))' is false)         512
  1061.         Skip this branch, (assume 'overflow==0' is false)           528
  1062.         Skip this loop, (assume 'overflow>0' is false)          544
  1063.         'bits' may be NULL (Enter this loop)            551
  1064.         Invalid read from 's->bl_count[-1]', (readable range is 0 to 15)            552
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement