Received: by taz.hyperreal.com (8.8.4/V2.0) id JAA17484; Tue, 11 Feb 1997 09:57:28 -0800 (PST) Received: by taz.hyperreal.com (8.8.4/V2.0) id JAA17474; Tue, 11 Feb 1997 09:57:23 -0800 (PST) Date: Tue, 11 Feb 1997 09:57:23 -0800 (PST) From: Randy Terbush Message-Id: <199702111757.JAA17474@taz.hyperreal.com> To: apache-cvs@hyperreal.com Subject: cvs commit: apache/support suexec.c Sender: apache-cvs-owner@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com 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); }