httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@hyperreal.org
Subject cvs commit: apache-1.3/src/modules/standard mod_negotiation.c
Date Mon, 23 Nov 1998 09:56:39 GMT
pcs         98/11/23 01:56:39

  Modified:    src/modules/standard mod_negotiation.c
  Log:
  Fix SEGV in TCN negotiation if no variants are acceptable.
  
  PR: 1987
  Submitted By: Martin Plechsmid <plechsmi@karlin.mff.cuni.cz>
  Reviewed By: Paul Sutton <pcs@apache.org>
  
  Revision  Changes    Path
  1.85      +3 -0      apache-1.3/src/modules/standard/mod_negotiation.c
  
  Index: mod_negotiation.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_negotiation.c,v
  retrieving revision 1.84
  retrieving revision 1.85
  diff -u -r1.84 -r1.85
  --- mod_negotiation.c	1998/08/06 17:31:00	1.84
  +++ mod_negotiation.c	1998/11/23 09:56:38	1.85
  @@ -1562,6 +1562,9 @@
               variant->definite);
   #endif
   
  +    if (q == 0) {
  +        return 0;
  +    }
       if (q > bestq) {
           *p_bestq = q;
           return 1;
  
  
  

Mime
View raw message