Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Apr 1998 21:00:25 +0900
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        Don Morrison <dmorrisn@u.washington.edu>
Cc:        freebsd-bugs@hub.freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject:   Re: bin/6188: screensaver permanently active when no bounds checking for blanktime in sysinstall 
Message-ID:  <199804011200.VAA07908@zodiac.mech.utsunomiya-u.ac.jp>
In-Reply-To: Your message of "Wed, 01 Apr 1998 03:20:02 PST." <199804011120.DAA06730@hub.freebsd.org> 
References:  <199804011120.DAA06730@hub.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help

>From: Don Morrison <dmorrisn@u.washington.edu>
>To: "Jordan K. Hubbard" <jkh@time.cdrom.com>
>Cc: freebsd-gnats-submit@FreeBSD.ORG
>Subject: Re: bin/6188: screensaver permanently active when no bounds checking 
>for blanktime in sysinstall
>Date: Wed, 01 Apr 1998 03:15:46 -0800
>
> > > /stand/sysinstall does not make bounds checks for the screensaver
> > > time-out interval.  When this value is read from /etc/rc.conf at startup
> >
> > True enough, but considering that anyone can also change the time-out
> > value to a bogus one by typing ``vi /etc/rc.conf'' (substitute your
> > favorite editor here ;-), I think the fix doesn't belong in sysinstall
> > so much as it does in vidcontrol (which should simply refuse to set a
> > bogus timeout value, preventing its direct abuse on the command line
> > as well).
> >
> >                                         Jordan
> 
> I'm sorry, you are correct.  It's just as easy to fix there and it actually
> fixes the problem (completely.)

Even better, more fundamental fix is to fix syscons :-)

Perhaps, something like 24 hours (24*60*60 = 86400 secs) is the
reasonable maximum value allowed?

Kazu

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?199804011200.VAA07908>