git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@100611
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 1.3.28
+ *) SECURITY: CAN-2003-0460 (cve.mitre.org)
+ Fix the rotatelogs support program on Win32 and OS/2 to ignore
+ special control characters received over the pipe. Previously
+ such characters could cause it to quit logging and exit.
+ [André Malo]
+
*) Prevent the server from crashing when entering infinite loops. The
new LimitInternalRecursion directive configures limits of subsequent
internal redirects and nested subrequests, after which the request
#include <errno.h>
#include <fcntl.h>
+#if defined(WIN32) || defined(OS2)
+#include <io.h>
+#endif
+
#define BUFSIZE 65536
#define ERRMSGSZ 82
#ifndef MAX_PATH
exit(6);
}
+#if defined(WIN32) || defined(OS2)
+ setmode(0, O_BINARY);
+#endif
+
use_strftime = (strstr(szLogRoot, "%") != NULL);
for (;;) {
nRead = read(0, buf, sizeof buf);