Klaus Demo nginx / 3333c6c
Fixed off-by-one in xslt parameter parsing. The problem was introduced in 0.7.44 (r2589) during conversion to complex values. Previously string.len included space for terminating NUL, but with complex values it doesn't. Maxim Dounin 10 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
584584 "xslt filter param: \"%s\"", string.data);
585585
586586 p = string.data;
587 last = string.data + string.len - 1;
587 last = string.data + string.len;
588588
589589 while (p && *p) {
590590