marc 97/02/01 14:03:38
Modified: src http_core.c CHANGES Log: Prevent a segmentation fault when RLimit* directives used with only one argument. Submitted by: Ed Korthof Reviewed by: Marc Slemko, Jim Jagielski, Dean Gaudet Revision Changes Path 1.62 +1 -1 apache/src/http_core.c Index: http_core.c =================================================================== RCS file: /export/home/cvs/apache/src/http_core.c,v retrieving revision 1.61 retrieving revision 1.62 diff -C3 -r1.61 -r1.62 *** http_core.c 1997/01/26 01:15:12 1.61 --- http_core.c 1997/02/01 22:03:36 1.62 *************** *** 1014,1020 **** return; } ! if ((str = getword_conf(cmd->pool, &arg2))) max = atol(str); /* if we aren't running as root, cannot increase max */ --- 1014,1020 ---- return; } ! if (arg2 && (str = getword_conf(cmd->pool, &arg2))) max = atol(str); /* if we aren't running as root, cannot increase max */ 1.143 +3 -0 apache/src/CHANGES Index: CHANGES =================================================================== RCS file: /export/home/cvs/apache/src/CHANGES,v retrieving revision 1.142 retrieving revision 1.143 diff -C3 -r1.142 -r1.143 *** CHANGES 1997/01/30 03:17:52 1.142 --- CHANGES 1997/02/01 22:03:37 1.143 *************** *** 1,5 **** --- 1,8 ---- Changes with Apache 1.2b7 + *) Fixed bug which caused a segmentation fault if only one argument + given to RLimit* directives. [Ed Korthof] + *) Continue persistent connection after 304 response. [Dean Gaudet] *) Improved buffered output to the client by delaying the flush decision