OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Artur Grabowski (artcvs.openbsd.org)
Date: Sun Oct 07 2001 - 17:27:01 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    CVSROOT: /cvs
    Module name: src
    Changes by: artcvs.openbsd.org 2001/10/07 16:27:01

    Modified files:
            sys/kern : tty.c

    Log message:
    Setting the VTIME to a value larger than 214 lead to an integer overflow
    in the calculation of the sleep timeout which could lead to a panic.

    Instead of doing the very error-prone, and in more than one way incorrect,
    sleep time calculation, allocate an external timeout and let it wake us.

    Reported by: Raan Young <raangraand-visions.com>