Date: Mon, 23 Jul 2001 09:20:02 -0700 (PDT) From: Mike Barcroft <mike@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/18742: times.allow field parsed incorrectly Message-ID: <200107231620.f6NGK2484685@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/18742; it has been noted by GNATS.
From: Mike Barcroft <mike@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc:
Subject: Re: bin/18742: times.allow field parsed incorrectly
Date: Mon, 23 Jul 2001 12:34:25 -0400
Adding to Audit-Trail.
----- Forwarded message from Sergey Shkonda <serg@bcs.zp.ua> -----
Delivered-To: mike@freebsd.org
From: Sergey Shkonda <serg@bcs.zp.ua>
Subject: Re: bin/18742: times.allow field parsed incorrectly
X-ELM-OSV: (Our standard violations) hdr-charset=KOI8-U
In-Reply-To: <200107220243.f6M2hCN83847@freefall.freebsd.org>
"from mike@FreeBSD.org at Jul 21, 2001 07:43:12 pm"
To: mike@FreeBSD.org
Date: Mon, 23 Jul 2001 12:17:07 +0300 (EEST)
X-Mailer: ELM [version 2.4ME+ PL88 (25)]
> Synopsis: times.allow field parsed incorrectly
>
> State-Changed-From-To: open->feedback
> State-Changed-By: mike
> State-Changed-When: Sat Jul 21 19:42:50 PDT 2001
> State-Changed-Why:
>
> Does this problem still occur in newer versions of FreeBSD,
> such as 4.3-RELEASE?
Yes. There is the patch:
--- login_times.c 1999/08/28 00:05:48 1.7
+++ login_times.c 2001/07/23 09:12:58
@@ -99,6 +99,8 @@
p = parse_time(++p, &m.lt_end);
else
m.lt_end = 1440;
+ if (m.lt_end < m.lt_start)
+ m_lt_end += 1440;
t = m;
}
--
Sergey Shkonda <serg@bcs.zp.ua>
----- End forwarded message -----
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107231620.f6NGK2484685>
