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
+1
-1
src/event/ngx_event_openssl.c
less
more
2010
2010
2011
2011
p = s->data;
2012
2012
2013
for (i = 0; i < len; i++) {
2013
for (i = 0; i < cert.len - 1; i++) {
2014
2014
*p++ = cert.data[i];
2015
2015
if (cert.data[i] == LF) {
2016
2016
*p++ = '\t';