src/core/ngx_buf.c:121: error: Uninitialized Value
  The value read from chain was never initialized.

src/core/ngx_buf.c:121:5: 
119.     *ll = NULL;
120. 
121.     return chain;
         ^
122. }
123. 

ngx_chain_t *
ngx_create_chain_of_bufs(ngx_pool_t *pool, ngx_bufs_t *bufs)
{
    u_char       *p;
    ngx_int_t     i;
    ngx_buf_t    *b;
    ngx_chain_t  *chain, *cl, **ll;
    p = ngx_palloc(pool, bufs->num * bufs->size);
    if (p == NULL) {
        return NULL;
    }
    ll = &chain;
    for (i = 0; i < bufs->num; i++) {
        b = ngx_calloc_buf(pool);
        if (b == NULL) {
            return NULL;
        }
        b->pos = p;
        b->last = p;
        b->temporary = 1;
        b->start = p;
        p += bufs->size;
        b->end = p;
        cl = ngx_alloc_chain_link(pool);
        if (cl == NULL) {
            return NULL;
        }
        cl->buf = b;
        *ll = cl;
        ll = &cl->next;
    }
    *ll = NULL;
    return chain;
}
['ngx_chain_t *\nngx_create_chain_of_bufs(ngx_pool_t *pool, ngx_bufs_t *bufs)\n{\n    u_char       *p;\n    ngx_int_t     i;\n    ngx_buf_t    *b;\n    ngx_chain_t  *chain, *cl, **ll;\n    p = ngx_palloc(pool, bufs->num * bufs->size);\n    if (p == NULL) {\n        return NULL;\n    }\n    ll = &chain;\n    for (i = 0; i < bufs->num; i++) {\n        b = ngx_calloc_buf(pool);\n        if (b == NULL) {\n            return NULL;\n        }\n        b->pos = p;\n        b->last = p;\n        b->temporary = 1;\n        b->start = p;\n        p += bufs->size;\n        b->end = p;\n        cl = ngx_alloc_chain_link(pool);\n        if (cl == NULL) {\n            return NULL;\n        }\n        cl->buf = b;\n        *ll = cl;\n        ll = &cl->next;\n    }\n    *ll = NULL;\n    return chain;\n}']