]> git.pld-linux.org Git - packages/apache.git/blob - apache-mod_include-segv.patch
- release 2.
[packages/apache.git] / apache-mod_include-segv.patch
1 --- apache_1.3.17/src/modules/standard/mod_include.c.orig       Fri Feb  9 20:24:46 2001
2 +++ apache_1.3.17/src/modules/standard/mod_include.c    Fri Feb  9 21:50:39 2001
3 @@ -718,8 +718,8 @@
4                  for (p = r; p != NULL && !founddupe; p = p->main) {
5                     request_rec *q;
6                     for (q = p; q != NULL; q = q->prev) {
7 -                       if ( (strcmp(q->filename, rr->filename) == 0) ||
8 -                            (strcmp(q->uri, rr->uri) == 0) ){
9 +                       if ( (q->filename!=NULL && (strcmp(q->filename, rr->filename) == 0))
10 +                            || (q->uri!=NULL && (strcmp(q->uri, rr->uri) == 0)) ){
11                             founddupe = 1;
12                             break;
13                         }
This page took 0.025746 seconds and 3 git commands to generate.