httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-2.0/modules/ssl ssl_engine_init.c
Date Fri, 17 May 2002 18:21:12 GMT
dougm       02/05/17 11:21:12

  Modified:    modules/ssl ssl_engine_init.c
  Log:
  prevent possible segv in ssl_init_CheckServers if s->addrs is NULL.
  for example: <VirtualHost *:>, for which the core only spits out a warning:
   Name or service not known: Cannot resolve host name *: --- ignoring!
  
  Revision  Changes    Path
  1.99      +1 -1      httpd-2.0/modules/ssl/ssl_engine_init.c
  
  Index: ssl_engine_init.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_engine_init.c,v
  retrieving revision 1.98
  retrieving revision 1.99
  diff -u -r1.98 -r1.99
  --- ssl_engine_init.c	17 May 2002 11:24:17 -0000	1.98
  +++ ssl_engine_init.c	17 May 2002 18:21:12 -0000	1.99
  @@ -1028,7 +1028,7 @@
       for (s = base_server; s; s = s->next) {
           sc = mySrvConfig(s);
   
  -        if (!sc->enabled) {
  +        if (!(sc->enabled && s->addrs)) {
               continue;
           }
   
  
  
  

Mime
View raw message