randy       97/02/11 09:57:22

  Modified:    support   suexec.c
  Log:
  Correct an allocation mistake pointed out by Marc.
  
  Revision  Changes    Path
  1.16      +1 -1      apache/support/suexec.c
  
  Index: suexec.c
  ===================================================================
  RCS file: /export/home/cvs/apache/support/suexec.c,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -C3 -r1.15 -r1.16
  *** suexec.c  1997/02/10 14:05:34     1.15
  --- suexec.c  1997/02/11 17:57:20     1.16
  ***************
  *** 181,187 ****
        int idx;
        
    
  !     if ((cleanenv = (char **)calloc(AP_ENVBUF, AP_ENVBUF * (sizeof(char 
*)))) == NULL) {
        log_err("failed to malloc env mem\n");
        exit(120);
        }
  --- 181,187 ----
        int idx;
        
    
  !     if ((cleanenv = (char **)calloc(AP_ENVBUF, sizeof(char *))) == NULL) {
        log_err("failed to malloc env mem\n");
        exit(120);
        }
  
  
  

Reply via email to