Date: Mon, 22 May 2000 12:30:09 +0300 (EEST) From: Sergey Shkonda <serg@bcs.zp.ua> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/18742: times.allow in login.conf Message-ID: <200005220930.MAA51189@bcs3.bcs.zp.ua>
next in thread | raw e-mail | index | archive | help
>Number: 18742 >Category: bin >Synopsis: times.allow field parsed incorrectly >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 22 02:40:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Sergey Shkonda >Release: FreeBSD >Organization: Business Computer Service >Environment: >Description: times.allow incorrectly handled in case of 2200-0700 >How-To-Repeat: >Fix: a) Document this b) Change login_times.c: parse_lt(): if (*p == '-') 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; } return t; } -- Sergey Shkonda <serg@bcs.zp.ua> >Release-Note: >Audit-Trail: >Unformatted: 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?200005220930.MAA51189>