Klaus Demo nginx / e0e811d
Upstream: for ssl name, non-aligned memory allocation is enough. Ruslan Ermilov 8 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
15101510 * hence we explicitly null-terminate name here
15111511 */
15121512
1513 p = ngx_palloc(r->pool, name.len + 1);
1513 p = ngx_pnalloc(r->pool, name.len + 1);
15141514 if (p == NULL) {
15151515 return NGX_ERROR;
15161516 }