Klaus Demo nginx / 365d663
fix memory corruption in $ssl_client_cert Igor Sysoev 13 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
20102010
20112011 p = s->data;
20122012
2013 for (i = 0; i < len; i++) {
2013 for (i = 0; i < cert.len - 1; i++) {
20142014 *p++ = cert.data[i];
20152015 if (cert.data[i] == LF) {
20162016 *p++ = '\t';