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

src/core/nginx.c:198:1: <Offset trace>
196. 
197. 
198. int ngx_cdecl
     ^
199. main(int argc, char *const *argv)
200. {

src/core/nginx.c:198:1: Global `ngx_core_module.index`
196. 
197. 
198. int ngx_cdecl
     ^
199. main(int argc, char *const *argv)
200. {

src/core/nginx.c:317:13: <Length trace>
315.     }
316. 
317.     cycle = ngx_init_cycle(&init_cycle);
                 ^
318.     if (cycle == NULL) {
319.         if (ngx_test_config) {

src/core/nginx.c:317:13: Call
315.     }
316. 
317.     cycle = ngx_init_cycle(&init_cycle);
                 ^
318.     if (cycle == NULL) {
319.         if (ngx_test_config) {

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

src/core/ngx_cycle.c:183:23: Call
  181. 
  182. 
  183.     cycle->conf_ctx = ngx_pcalloc(pool, ngx_max_module * sizeof(void *));
                             ^
  184.     if (cycle->conf_ctx == NULL) {
  185.         ngx_destroy_pool(pool);

src/core/ngx_palloc.c:299:1: Parameter `size`
    297. 
    298. 
    299. void *
         ^
    300. ngx_pcalloc(ngx_pool_t *pool, size_t size)
    301. {

src/core/ngx_palloc.c:304:9: Call
    302.     void *p;
    303. 
    304.     p = ngx_palloc(pool, size);
                 ^
    305.     if (p) {
    306.         ngx_memzero(p, size);

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

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

src/core/ngx_palloc.c:304:5: Assignment
    302.     void *p;
    303. 
    304.     p = ngx_palloc(pool, size);
             ^
    305.     if (p) {
    306.         ngx_memzero(p, size);

src/core/ngx_palloc.c:309:5: Assignment
    307.     }
    308. 
    309.     return p;
             ^
    310. }
    311. 

src/core/ngx_cycle.c:183:5: Assignment
  181. 
  182. 
  183.     cycle->conf_ctx = ngx_pcalloc(pool, ngx_max_module * sizeof(void *));
           ^
  184.     if (cycle->conf_ctx == NULL) {
  185.         ngx_destroy_pool(pool);

src/core/nginx.c:341:31: Array access: Offset: ngx_core_module.index Size: [0, +oo]
339.     ngx_cycle = cycle;
340. 
341.     ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, ngx_core_module);
                                   ^
342. 
343.     if (ccf->master && ngx_process == NGX_PROCESS_SINGLE) {
