Klaus Demo nginx / 06b8301
merge r3076, r3080: fix segfault when a header starts with "\rX" and logging is set to info or debug level Igor Sysoev 12 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
737737
738738 /* first char */
739739 case sw_start:
740 r->header_name_start = p;
740741 r->invalid_header = 0;
741742
742743 switch (ch) {
749750 goto header_done;
750751 default:
751752 state = sw_name;
752 r->header_name_start = p;
753753
754754 c = lowcase[ch];
755755