nju09/BBSLIB.c: cache_header 中 struct tm tm 没有初始化,
--- BBSLIB.c.old 2005-02-23 23:12:35.000000000 -0500
+++ BBSLIB.c 2005-02-23 22:04:20.000000000 -0500
@@ -928,10 +928,11 @@
if (!t)
return 0;
old = getenv("HTTP_IF_MODIFIED_SINCE");
if (old) {
struct tm tm;
+ bzero(&tm, sizeof(tm));
#ifndef CYGWIN
if (strptime(old, "%a, %d %b %Y %H:%M:%S %Z", &tm))
#else //CYGWIN
if (strptime(old, "%a, %d %b %Y %H:%M:%S GMT", &tm))
#endif //CYGWIN
--
修改:ylsdd FROM 206.222.17.*
FROM 65.96.131.*