src/core/nginx.c:323: error: Buffer Overrun S2
  Offset: `ngx_core_module.index` Size: [0, +oo].

src/core/nginx.c:191:1: <Offset trace>
189. 
190. 
191. int ngx_cdecl
     ^
192. main(int argc, char *const *argv)
193. {

src/core/nginx.c:191:1: Global `ngx_core_module.index`
189. 
190. 
191. int ngx_cdecl
     ^
192. main(int argc, char *const *argv)
193. {

src/core/nginx.c:301:13: <Length trace>
299.     }
300. 
301.     cycle = ngx_init_cycle(&init_cycle);
                 ^
302.     if (cycle == NULL) {
303.         if (ngx_test_config) {

src/core/nginx.c:301:13: Call
299.     }
300. 
301.     cycle = ngx_init_cycle(&init_cycle);
                 ^
302.     if (cycle == NULL) {
303.         if (ngx_test_config) {

src/core/ngx_cycle.c:42:1: Global `ngx_max_module`
  40. 
  41. 
  42. ngx_cycle_t *
      ^
  43. ngx_init_cycle(ngx_cycle_t *old_cycle)
  44. {

src/core/ngx_cycle.c:188:23: Call
  186. 
  187. 
  188.     cycle->conf_ctx = ngx_pcalloc(pool, ngx_max_module * sizeof(void *));
                             ^
  189.     if (cycle->conf_ctx == NULL) {
  190.         ngx_destroy_pool(pool);

src/core/ngx_palloc.c:283:1: Parameter `size`
    281. 
    282. 
    283. void *
         ^
    284. ngx_pcalloc(ngx_pool_t *pool, size_t size)
    285. {

src/core/ngx_palloc.c:288:9: Call
    286.     void *p;
    287. 
    288.     p = ngx_palloc(pool, size);
                 ^
    289.     if (p) {
    290.         ngx_memzero(p, size);

src/core/ngx_palloc.c:125:13: Assignment
      123. 
      124.         do {
      125.             m = ngx_align_ptr(p->d.last, NGX_ALIGNMENT);
                       ^
      126. 
      127.             if ((size_t) (p->d.end - m) >= size) {

src/core/ngx_palloc.c:130:17: Assignment
      128.                 p->d.last = m + size;
      129. 
      130.                 return m;
                           ^
      131.             }
      132. 

src/core/ngx_palloc.c:288:5: Assignment
    286.     void *p;
    287. 
    288.     p = ngx_palloc(pool, size);
             ^
    289.     if (p) {
    290.         ngx_memzero(p, size);

src/core/ngx_palloc.c:293:5: Assignment
    291.     }
    292. 
    293.     return p;
             ^
    294. }
    295. 

src/core/ngx_cycle.c:188:5: Assignment
  186. 
  187. 
  188.     cycle->conf_ctx = ngx_pcalloc(pool, ngx_max_module * sizeof(void *));
           ^
  189.     if (cycle->conf_ctx == NULL) {
  190.         ngx_destroy_pool(pool);

src/core/nginx.c:323:31: Array access: Offset: ngx_core_module.index Size: [0, +oo]
321.     ngx_cycle = cycle;
322. 
323.     ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, ngx_core_module);
                                   ^
324. 
325.     ngx_process = ccf->master ? NGX_PROCESS_MASTER : NGX_PROCESS_SINGLE;
