httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: httpd-2.0/server/mpm/netware mpm_netware.c
Date Tue, 02 Apr 2002 16:25:23 GMT
bnicholes    02/04/02 08:25:23

  Modified:    server/mpm/netware mpm_netware.c
  Log:
  Check for a NULL pointer in the case of the OS address space
  
  Revision  Changes    Path
  1.44      +6 -4      httpd-2.0/server/mpm/netware/mpm_netware.c
  
  Index: mpm_netware.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/netware/mpm_netware.c,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- mpm_netware.c	2 Apr 2002 00:29:23 -0000	1.43
  +++ mpm_netware.c	2 Apr 2002 16:25:23 -0000	1.44
  @@ -1096,10 +1096,12 @@
   
           /* If we got an instance id but it doesn't match this 
               instance of the nlm, pass it on. */
  -        pID = &pID[2];
  -        while (*pID && (*pID == ' '))
  -            pID++;
  -        if (*pID && ap_my_addrspace && strnicmp(pID, ap_my_addrspace, strlen(ap_my_addrspace)))
  +        if (pID) {
  +            pID = &pID[2];
  +            while (*pID && (*pID == ' '))
  +                pID++;
  +        }
  +        if (pID && ap_my_addrspace && strnicmp(pID, ap_my_addrspace, strlen(ap_my_addrspace)))
               return NOTMYCOMMAND;
   
           /* If we have determined that this command belongs to this
  
  
  

Mime
View raw message